mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore: simplify revm imports (#15090)
This commit is contained in:
@@ -21,8 +21,7 @@ pub mod cancelled;
|
||||
/// Contains glue code for integrating reth database into revm's [Database].
|
||||
pub mod database;
|
||||
|
||||
pub use revm_database as db;
|
||||
pub use revm_inspector as inspector;
|
||||
pub use revm::{database as db, inspector};
|
||||
|
||||
/// Common test helpers
|
||||
#[cfg(any(test, feature = "test-utils"))]
|
||||
|
||||
@@ -145,7 +145,7 @@ impl StateProofProvider for StateProviderTest {
|
||||
}
|
||||
|
||||
impl HashedPostStateProvider for StateProviderTest {
|
||||
fn hashed_post_state(&self, bundle_state: &revm_database::BundleState) -> HashedPostState {
|
||||
fn hashed_post_state(&self, bundle_state: &revm::database::BundleState) -> HashedPostState {
|
||||
HashedPostState::from_bundle_state::<KeccakKeyHasher>(bundle_state.state())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use alloc::vec::Vec;
|
||||
use alloy_primitives::{keccak256, Bytes, B256};
|
||||
use reth_trie::{HashedPostState, HashedStorage};
|
||||
use revm_database::State;
|
||||
use revm::database::State;
|
||||
|
||||
/// Tracks state changes during execution.
|
||||
#[derive(Debug, Clone, Default)]
|
||||
|
||||
Reference in New Issue
Block a user