Skip to content

Commit

Permalink
fix snailtracer
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita committed Sep 17, 2024
1 parent acf1a70 commit cc5a551
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bins/revm-test/src/bin/snailtracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pub fn simple_example() {
// BenchmarkDB is dummy state that implements Database trait.
let mut evm = Evm::<EthereumBenchmarkWiring>::builder()
.with_db(BenchmarkDB::new_bytecode(bytecode.clone()))
.with_default_ext_ctx()
.modify_tx_env(|tx| {
// execution globals block hash/gas_limit/coinbase/timestamp..
tx.caller = address!("1000000000000000000000000000000000000000");
Expand Down

0 comments on commit cc5a551

Please sign in to comment.