chore: use engine types crate for types (#8170)

This commit is contained in:
Matthias Seitz
2024-05-10 13:26:44 +02:00
committed by GitHub
parent 12cce00ec2
commit ef01d50238
4 changed files with 5 additions and 4 deletions

2
Cargo.lock generated
View File

@@ -7589,6 +7589,7 @@ name = "reth-provider"
version = "0.2.0-beta.7"
dependencies = [
"alloy-rlp",
"alloy-rpc-types-engine",
"assert_matches",
"auto_impl",
"dashmap",
@@ -7605,7 +7606,6 @@ dependencies = [
"reth-metrics",
"reth-nippy-jar",
"reth-primitives",
"reth-rpc-types",
"reth-trie",
"revm",
"strum",

View File

@@ -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

View File

@@ -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.
///

View File

@@ -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.