mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm chainspec max gas limit (#13308)
This commit is contained in:
@ -18,7 +18,10 @@ use alloy_consensus::{
|
||||
},
|
||||
BlockHeader,
|
||||
};
|
||||
use alloy_eips::eip4844::{env_settings::EnvKzgSettings, MAX_BLOBS_PER_BLOCK};
|
||||
use alloy_eips::{
|
||||
eip1559::ETHEREUM_BLOCK_GAS_LIMIT,
|
||||
eip4844::{env_settings::EnvKzgSettings, MAX_BLOBS_PER_BLOCK},
|
||||
};
|
||||
use reth_chainspec::{ChainSpec, EthereumHardforks};
|
||||
use reth_primitives::{InvalidTransactionError, SealedBlock};
|
||||
use reth_primitives_traits::GotExpected;
|
||||
@ -530,7 +533,7 @@ impl EthTransactionValidatorBuilder {
|
||||
/// - EIP-4844
|
||||
pub fn new(chain_spec: Arc<ChainSpec>) -> Self {
|
||||
Self {
|
||||
block_gas_limit: chain_spec.max_gas_limit,
|
||||
block_gas_limit: ETHEREUM_BLOCK_GAS_LIMIT,
|
||||
chain_spec,
|
||||
minimum_priority_fee: None,
|
||||
additional_tasks: 1,
|
||||
|
||||
Reference in New Issue
Block a user