chore: bump alloy 0.11.1 (#14439)

This commit is contained in:
Matthias Seitz
2025-02-12 11:15:10 +01:00
committed by GitHub
parent 17712fe4e3
commit 9a805b06db
17 changed files with 122 additions and 116 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, merge::SLOT_DURATION};
use alloy_eips::{eip1559::ETHEREUM_BLOCK_GAS_LIMIT_30M, 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, value_name = "GAS_LIMIT")]
#[arg(long = "builder.gaslimit", default_value_t = ETHEREUM_BLOCK_GAS_LIMIT_30M, 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,
gas_limit: ETHEREUM_BLOCK_GAS_LIMIT_30M,
interval: Duration::from_secs(1),
deadline: SLOT_DURATION,
max_payload_tasks: 3,

View File

@ -1,7 +1,7 @@
//! Transaction pool arguments
use crate::cli::config::RethTransactionPoolConfig;
use alloy_eips::eip1559::{ETHEREUM_BLOCK_GAS_LIMIT, MIN_PROTOCOL_BASE_FEE};
use alloy_eips::eip1559::{ETHEREUM_BLOCK_GAS_LIMIT_30M, MIN_PROTOCOL_BASE_FEE};
use alloy_primitives::Address;
use clap::Args;
use reth_cli_util::parse_duration_from_secs_or_ms;
@ -62,7 +62,7 @@ pub struct TxPoolArgs {
pub minimal_protocol_basefee: u64,
/// The default enforced gas limit for transactions entering the pool
#[arg(long = "txpool.gas-limit", default_value_t = ETHEREUM_BLOCK_GAS_LIMIT)]
#[arg(long = "txpool.gas-limit", default_value_t = ETHEREUM_BLOCK_GAS_LIMIT_30M)]
pub enforced_gas_limit: u64,
/// Price bump percentage to replace an already existing blob transaction
@ -122,7 +122,7 @@ impl Default for TxPoolArgs {
max_account_slots: TXPOOL_MAX_ACCOUNT_SLOTS_PER_SENDER,
price_bump: DEFAULT_PRICE_BUMP,
minimal_protocol_basefee: MIN_PROTOCOL_BASE_FEE,
enforced_gas_limit: ETHEREUM_BLOCK_GAS_LIMIT,
enforced_gas_limit: ETHEREUM_BLOCK_GAS_LIMIT_30M,
blob_transaction_price_bump: REPLACE_BLOB_PRICE_BUMP,
max_tx_input_bytes: DEFAULT_MAX_TX_INPUT_BYTES,
max_cached_entries: DEFAULT_MAX_CACHED_BLOBS,