primitives: rm alloy_eips::eip1559::calc_next_block_base_fee reexport (#11177)

This commit is contained in:
Thomas Coratger
2024-09-24 21:04:15 +02:00
committed by GitHub
parent ae3d279cc3
commit c434e52632
7 changed files with 6 additions and 8 deletions

2
Cargo.lock generated
View File

@@ -8593,6 +8593,7 @@ name = "reth-rpc-eth-api"
version = "1.0.7"
dependencies = [
"alloy-dyn-abi",
"alloy-eips",
"alloy-json-rpc",
"alloy-network",
"alloy-primitives",
@@ -8633,6 +8634,7 @@ name = "reth-rpc-eth-types"
version = "1.0.7"
dependencies = [
"alloy-consensus",
"alloy-eips",
"alloy-primitives",
"alloy-rpc-types",
"alloy-rpc-types-eth",

View File

@@ -1,5 +0,0 @@
//! Helpers for working with EIP-1559 base fee
// re-export
#[doc(inline)]
pub use alloy_eips::eip1559::calc_next_block_base_fee;

View File

@@ -23,7 +23,6 @@ extern crate alloc;
#[cfg(feature = "alloy-compat")]
mod alloy_compat;
pub mod basefee;
mod block;
#[cfg(feature = "reth-codec")]
mod compression;

View File

@@ -40,6 +40,7 @@ alloy-primitives.workspace = true
alloy-rpc-types-eth.workspace = true
alloy-rpc-types.workspace = true
alloy-rpc-types-mev.workspace = true
alloy-eips.workspace = true
# rpc
jsonrpsee = { workspace = true, features = ["server", "macros"] }

View File

@@ -4,6 +4,7 @@
use crate::{
AsEthApiError, FromEthApiError, FromEvmError, FullEthApiTypes, IntoEthApiError, RpcBlock,
};
use alloy_eips::eip1559::calc_next_block_base_fee;
use alloy_primitives::{Bytes, TxKind, B256, U256};
use alloy_rpc_types::{
simulate::{SimBlock, SimulatePayload, SimulatedBlock},
@@ -15,7 +16,6 @@ use futures::Future;
use reth_chainspec::{EthChainSpec, MIN_TRANSACTION_GAS};
use reth_evm::{ConfigureEvm, ConfigureEvmEnv};
use reth_primitives::{
basefee::calc_next_block_base_fee,
revm_primitives::{
BlockEnv, CfgEnvWithHandlerCfg, EnvWithHandlerCfg, ExecutionResult, HaltReason,
ResultAndState, TransactTo, TxEnv,

View File

@@ -38,6 +38,7 @@ revm-inspectors.workspace = true
revm-primitives = { workspace = true, features = ["dev"] }
alloy-rpc-types.workspace = true
alloy-serde.workspace = true
alloy-eips.workspace = true
# rpc
jsonrpsee-core.workspace = true

View File

@@ -6,6 +6,7 @@ use std::{
sync::{atomic::Ordering::SeqCst, Arc},
};
use alloy_eips::eip1559::calc_next_block_base_fee;
use alloy_primitives::B256;
use alloy_rpc_types::TxGasAndReward;
use futures::{
@@ -16,7 +17,6 @@ use metrics::atomics::AtomicU64;
use reth_chain_state::CanonStateNotification;
use reth_chainspec::{ChainSpecProvider, EthChainSpec};
use reth_primitives::{
basefee::calc_next_block_base_fee,
eip4844::{calc_blob_gasprice, calculate_excess_blob_gas},
Receipt, SealedBlock, TransactionSigned,
};