mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-01 10:35:05 -05:00
primitives: rm alloy_eips::eip1559::calc_next_block_base_fee reexport (#11177)
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
|
||||
@@ -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"] }
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user