Increase default gas limit from 30M to 36M (#13318)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
alpharush
2025-02-12 05:46:14 -06:00
committed by GitHub
parent 9f1602c03e
commit 9090125f0d
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
use crate::{cli::config::PayloadBuilderConfig, version::default_extra_data};
use alloy_consensus::constants::MAXIMUM_EXTRA_DATA_SIZE;
use alloy_eips::{eip1559::ETHEREUM_BLOCK_GAS_LIMIT_30M, merge::SLOT_DURATION};
use alloy_eips::{eip1559::ETHEREUM_BLOCK_GAS_LIMIT_36M, merge::SLOT_DURATION};
use clap::{
builder::{RangedU64ValueParser, TypedValueParser},
Arg, Args, Command,
@ -17,7 +17,7 @@ pub struct PayloadBuilderArgs {
pub extra_data: String,
/// Target gas limit for built blocks.
#[arg(long = "builder.gaslimit", default_value_t = ETHEREUM_BLOCK_GAS_LIMIT_30M, value_name = "GAS_LIMIT")]
#[arg(long = "builder.gaslimit", default_value_t = ETHEREUM_BLOCK_GAS_LIMIT_36M, value_name = "GAS_LIMIT")]
pub gas_limit: u64,
/// The interval at which the job should build a new payload after the last.
@ -41,7 +41,7 @@ impl Default for PayloadBuilderArgs {
fn default() -> Self {
Self {
extra_data: default_extra_data(),
gas_limit: ETHEREUM_BLOCK_GAS_LIMIT_30M,
gas_limit: ETHEREUM_BLOCK_GAS_LIMIT_36M,
interval: Duration::from_secs(1),
deadline: SLOT_DURATION,
max_payload_tasks: 3,