Skip to content

Commit

Permalink
chore: use engine types crate for types (#8170)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed May 10, 2024
1 parent 12cce00 commit ef01d50
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion crates/storage/provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ workspace = true
# reth
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-rpc-types.workspace = true
reth-db.workspace = true
reth-trie = { workspace = true, features = ["metrics"] }
reth-nippy-jar.workspace = true
reth-codecs.workspace = true
reth-evm.workspace = true

# ethereum
alloy-rpc-types-engine.workspace = true
revm.workspace = true

# async
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/provider/src/providers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ mod chain_info;
use chain_info::ChainInfoTracker;

mod consistent_view;
use alloy_rpc_types_engine::ForkchoiceState;
pub use consistent_view::{ConsistentDbView, ConsistentViewError};
use reth_rpc_types::engine::ForkchoiceState;

/// The main type for interacting with the blockchain.
///
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/provider/src/traits/chain_info.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use alloy_rpc_types_engine::ForkchoiceState;
use reth_primitives::SealedHeader;
use reth_rpc_types::engine::ForkchoiceState;
use std::time::Instant;

/// A type that can track updates related to fork choice updates.
Expand Down

0 comments on commit ef01d50

Please sign in to comment.