Skip to content

Commit

Permalink
Increase default gas limit from 30M to 36M (#13318)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Seitz <[email protected]>
  • Loading branch information
0xalpharush and mattsse authored Feb 12, 2025
1 parent 9f1602c commit 9090125
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion book/cli/reth/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ Builder:
--builder.gaslimit <GAS_LIMIT>
Target gas limit for built blocks
[default: 30000000]
[default: 36000000]
--builder.interval <DURATION>
The interval at which the job should build a new payload after the last.
Expand Down
6 changes: 3 additions & 3 deletions crates/node/core/src/args/payload_builder.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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.
Expand All @@ -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,
Expand Down

0 comments on commit 9090125

Please sign in to comment.