mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
primitives: rm revm-primitives reexport (#11193)
This commit is contained in:
@@ -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?))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user