primitives: rm revm-primitives reexport (#11193)

This commit is contained in:
Thomas Coratger
2024-09-25 13:06:27 +02:00
committed by GitHub
parent 2b20a0dbfc
commit 648e2a4f7d
13 changed files with 31 additions and 40 deletions

View File

@@ -16,11 +16,9 @@ use futures::{
use metrics::atomics::AtomicU64;
use reth_chain_state::CanonStateNotification;
use reth_chainspec::{ChainSpecProvider, EthChainSpec};
use reth_primitives::{
eip4844::{calc_blob_gasprice, calculate_excess_blob_gas},
Receipt, SealedBlock, TransactionSigned,
};
use reth_primitives::{Receipt, SealedBlock, TransactionSigned};
use reth_storage_api::BlockReaderIdExt;
use revm_primitives::{calc_blob_gasprice, calc_excess_blob_gas};
use serde::{Deserialize, Serialize};
use tracing::trace;
@@ -399,6 +397,6 @@ impl FeeHistoryEntry {
///
/// Returns a `None` if no excess blob gas is set, no EIP-4844 support
pub fn next_block_excess_blob_gas(&self) -> Option<u64> {
Some(calculate_excess_blob_gas(self.excess_blob_gas?, self.blob_gas_used?))
Some(calc_excess_blob_gas(self.excess_blob_gas?, self.blob_gas_used?))
}
}