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

@ -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,

View File

@ -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

View File

@ -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"),

View File

@ -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"),