Skip to content

Commit 266d4ae

Browse files
mattsseMerkleBoy
authored andcommitted
fix: disable tx gas limit cap (foundry-rs#11347)
1 parent 57fd4e7 commit 266d4ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/evm/core/src/fork/init.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,7 @@ pub fn configure_env(chain_id: u64, memory_limit: u64, disable_block_gas_limit:
9292
cfg.disable_eip3607 = true;
9393
cfg.disable_block_gas_limit = disable_block_gas_limit;
9494
cfg.disable_nonce_check = true;
95+
// For Osaka EIP-7825
96+
cfg.tx_gas_limit_cap = Some(u64::MAX);
9597
cfg
9698
}

0 commit comments

Comments
 (0)