Bump default gas limit (#7695)

N/A


  Bump the default gas limit to 45 million based on recommendation from EL teams https://x.com/vdWijden/status/1939234101631856969 and pandas https://ethpandaops.io/posts/gaslimit-scaling/
This commit is contained in:
Pawan Dhananjay
2025-07-04 15:54:30 -07:00
committed by GitHub
parent c7bb3b00e4
commit 0f895f3066
7 changed files with 9 additions and 9 deletions

View File

@@ -4669,7 +4669,7 @@ impl ApiTester {
self.mock_builder
.as_ref()
.unwrap()
.add_operation(Operation::GasLimit(30_000_000));
.add_operation(Operation::GasLimit(DEFAULT_GAS_LIMIT as usize));
let slot = self.chain.slot().unwrap();
let epoch = self.chain.epoch().unwrap();
@@ -4692,7 +4692,7 @@ impl ApiTester {
let expected_fee_recipient = Address::from_low_u64_be(proposer_index);
assert_eq!(payload.fee_recipient(), expected_fee_recipient);
assert_eq!(payload.gas_limit(), 30_000_000);
assert_eq!(payload.gas_limit(), DEFAULT_GAS_LIMIT);
self
}