mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user