mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: bump alloy 0.11.1 (#14439)
This commit is contained in:
@ -27,7 +27,7 @@ where
|
||||
EngineApiClient::new_payload_v2(
|
||||
client,
|
||||
ExecutionPayloadInputV2 {
|
||||
execution_payload: ExecutionPayloadV1::from_block_slow::<TransactionSigned>(
|
||||
execution_payload: ExecutionPayloadV1::from_block_slow::<TransactionSigned, _>(
|
||||
&block.into_block(),
|
||||
),
|
||||
withdrawals: None,
|
||||
|
||||
@ -80,8 +80,8 @@ pub mod gas_oracle {
|
||||
|
||||
/// The default gas limit for `eth_call` and adjacent calls.
|
||||
///
|
||||
/// This is different from the default to regular 30M block gas limit `ETHEREUM_BLOCK_GAS_LIMIT`
|
||||
/// to allow for more complex calls.
|
||||
/// This is different from the default to regular 30M block gas limit
|
||||
/// `ETHEREUM_BLOCK_GAS_LIMIT_30M` to allow for more complex calls.
|
||||
pub const RPC_DEFAULT_GAS_CAP: u64 = 50_000_000;
|
||||
|
||||
/// Allowed error ratio for gas estimation
|
||||
|
||||
@ -36,7 +36,7 @@ where
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use alloy_eips::eip1559::ETHEREUM_BLOCK_GAS_LIMIT;
|
||||
use alloy_eips::eip1559::ETHEREUM_BLOCK_GAS_LIMIT_30M;
|
||||
use alloy_primitives::{Address, StorageKey, StorageValue, U256};
|
||||
use reth_chainspec::MAINNET;
|
||||
use reth_evm_ethereum::EthEvmConfig;
|
||||
@ -64,7 +64,7 @@ mod tests {
|
||||
NoopNetwork::default(),
|
||||
cache.clone(),
|
||||
GasPriceOracle::new(NoopProvider::default(), Default::default(), cache),
|
||||
ETHEREUM_BLOCK_GAS_LIMIT,
|
||||
ETHEREUM_BLOCK_GAS_LIMIT_30M,
|
||||
DEFAULT_MAX_SIMULATE_BLOCKS,
|
||||
DEFAULT_ETH_PROOF_WINDOW,
|
||||
BlockingTaskPool::build().expect("failed to build tracing pool"),
|
||||
@ -90,7 +90,7 @@ mod tests {
|
||||
(),
|
||||
cache.clone(),
|
||||
GasPriceOracle::new(mock_provider, Default::default(), cache),
|
||||
ETHEREUM_BLOCK_GAS_LIMIT,
|
||||
ETHEREUM_BLOCK_GAS_LIMIT_30M,
|
||||
DEFAULT_MAX_SIMULATE_BLOCKS,
|
||||
DEFAULT_ETH_PROOF_WINDOW + 1,
|
||||
BlockingTaskPool::build().expect("failed to build tracing pool"),
|
||||
|
||||
@ -56,7 +56,7 @@ where
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use alloy_eips::eip1559::ETHEREUM_BLOCK_GAS_LIMIT;
|
||||
use alloy_eips::eip1559::ETHEREUM_BLOCK_GAS_LIMIT_30M;
|
||||
use alloy_primitives::{hex_literal::hex, Bytes};
|
||||
use reth_chainspec::ChainSpecProvider;
|
||||
use reth_evm_ethereum::EthEvmConfig;
|
||||
@ -88,7 +88,7 @@ mod tests {
|
||||
noop_network_provider,
|
||||
cache.clone(),
|
||||
GasPriceOracle::new(noop_provider, Default::default(), cache.clone()),
|
||||
ETHEREUM_BLOCK_GAS_LIMIT,
|
||||
ETHEREUM_BLOCK_GAS_LIMIT_30M,
|
||||
DEFAULT_MAX_SIMULATE_BLOCKS,
|
||||
DEFAULT_ETH_PROOF_WINDOW,
|
||||
BlockingTaskPool::build().expect("failed to build tracing pool"),
|
||||
|
||||
Reference in New Issue
Block a user