mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(builder): desired block gas limit (#13351)
This commit is contained in:
@ -116,6 +116,7 @@ pub trait LoadPendingBlock:
|
||||
timestamp: latest.timestamp() + 12,
|
||||
suggested_fee_recipient: latest.beneficiary(),
|
||||
prev_randao: B256::random(),
|
||||
gas_limit: latest.gas_limit(),
|
||||
},
|
||||
)
|
||||
.map_err(RethError::other)
|
||||
|
||||
@ -20,7 +20,6 @@ reth-rpc-api.workspace = true
|
||||
reth-rpc-eth-api.workspace = true
|
||||
reth-engine-primitives.workspace = true
|
||||
reth-errors.workspace = true
|
||||
reth-ethereum-consensus.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-transaction-pool.workspace = true
|
||||
reth-network-api.workspace = true
|
||||
|
||||
@ -16,10 +16,9 @@ use reth_chainspec::{ChainSpecProvider, EthereumHardforks};
|
||||
use reth_consensus::{Consensus, FullConsensus, PostExecutionInput};
|
||||
use reth_engine_primitives::PayloadValidator;
|
||||
use reth_errors::{BlockExecutionError, ConsensusError, ProviderError};
|
||||
use reth_ethereum_consensus::GAS_LIMIT_BOUND_DIVISOR;
|
||||
use reth_evm::execute::{BlockExecutorProvider, Executor};
|
||||
use reth_primitives::{GotExpected, NodePrimitives, SealedBlockWithSenders, SealedHeader};
|
||||
use reth_primitives_traits::{Block as _, BlockBody};
|
||||
use reth_primitives_traits::{constants::GAS_LIMIT_BOUND_DIVISOR, Block as _, BlockBody};
|
||||
use reth_provider::{
|
||||
BlockExecutionInput, BlockExecutionOutput, BlockReaderIdExt, StateProviderFactory,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user