Skip to content

Commit 7b3a53a

Browse files
committed
fix(examples): default access list on else clause
1 parent d2862b3 commit 7b3a53a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/generate_block_traces.rs

+2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ async fn main() -> anyhow::Result<()> {
133133
(Address::from(item.address.as_fixed_bytes()), new_keys)
134134
})
135135
.collect();
136+
} else {
137+
env.tx.access_list = Default::default();
136138
}
137139

138140
env.tx.transact_to = match tx.to {

0 commit comments

Comments
 (0)