Skip to content

Commit

Permalink
Increase preferred execution gas limit to 36M
Browse files Browse the repository at this point in the history
  • Loading branch information
povi committed Jan 17, 2025
1 parent cf40009 commit ef49396
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
12 changes: 2 additions & 10 deletions builder_api/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,5 @@ pub const DOMAIN_APPLICATION_BUILDER: DomainType = H32(hex!("00000001"));

pub const EPOCHS_PER_VALIDATOR_REGISTRATION_SUBMISSION: u64 = 1;

// From <https://github.com/ethereum/builder-specs/issues/17>:
//
// > 30M is the value "we" currently feel comfortable running as a balance between how
// > big blocks are and how expensive they are for the network to validate. When I say "we",
// > I mean the collective community of client devs, miners and others in the community --
// > rough consensus across many participating entities.
//
// > For this reason, I think it is currently a sensible default if the validator operator
// > does not provide another option.
pub const PREFERRED_EXECUTION_GAS_LIMIT: Gas = 30_000_000;
// [Pump the Gas](https://pumpthegas.org)
pub const PREFERRED_EXECUTION_GAS_LIMIT: Gas = 36_000_000;
2 changes: 1 addition & 1 deletion keymanager/src/proposer_configs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ mod tests {

const DEFAULT_GRAFFITI: &str = "Grandine";
const DEFAULT_FEE_RECIPIENT: ExecutionAddress = ExecutionAddress::repeat_byte(1);
const DEFAULT_GAS_LIMIT: Gas = 30_000_000;
const DEFAULT_GAS_LIMIT: Gas = 36_000_000;
const TEST_FEE_RECIPIENT: ExecutionAddress = ExecutionAddress::repeat_byte(2);
const PUBKEY: PublicKeyBytes = PublicKeyBytes::repeat_byte(1);

Expand Down

0 comments on commit ef49396

Please sign in to comment.