chore: import static file types directly (#12490)

This commit is contained in:
Matthias Seitz
2024-11-13 01:06:33 +01:00
committed by GitHub
parent a96dee17f5
commit b0a39e8abc
3 changed files with 4 additions and 7 deletions

3
Cargo.lock generated
View File

@ -8089,13 +8089,12 @@ dependencies = [
"humantime", "humantime",
"pin-project", "pin-project",
"reth-beacon-consensus", "reth-beacon-consensus",
"reth-network",
"reth-network-api", "reth-network-api",
"reth-primitives-traits", "reth-primitives-traits",
"reth-provider", "reth-provider",
"reth-prune", "reth-prune",
"reth-stages", "reth-stages",
"reth-static-file", "reth-static-file-types",
"tokio", "tokio",
"tracing", "tracing",
] ]

View File

@ -14,11 +14,10 @@ workspace = true
# reth # reth
reth-provider.workspace = true reth-provider.workspace = true
reth-beacon-consensus.workspace = true reth-beacon-consensus.workspace = true
reth-network = { workspace = true, features = ["serde"] }
reth-network-api.workspace = true reth-network-api.workspace = true
reth-stages.workspace = true reth-stages.workspace = true
reth-prune.workspace = true reth-prune.workspace = true
reth-static-file.workspace = true reth-static-file-types.workspace = true
reth-primitives-traits.workspace = true reth-primitives-traits.workspace = true
# ethereum # ethereum

View File

@ -8,12 +8,11 @@ use futures::Stream;
use reth_beacon_consensus::{ use reth_beacon_consensus::{
BeaconConsensusEngineEvent, ConsensusEngineLiveSyncProgress, ForkchoiceStatus, BeaconConsensusEngineEvent, ConsensusEngineLiveSyncProgress, ForkchoiceStatus,
}; };
use reth_network::NetworkEvent; use reth_network_api::{NetworkEvent, PeersInfo};
use reth_network_api::PeersInfo;
use reth_primitives_traits::{format_gas, format_gas_throughput}; use reth_primitives_traits::{format_gas, format_gas_throughput};
use reth_prune::PrunerEvent; use reth_prune::PrunerEvent;
use reth_stages::{EntitiesCheckpoint, ExecOutput, PipelineEvent, StageCheckpoint, StageId}; use reth_stages::{EntitiesCheckpoint, ExecOutput, PipelineEvent, StageCheckpoint, StageId};
use reth_static_file::StaticFileProducerEvent; use reth_static_file_types::StaticFileProducerEvent;
use std::{ use std::{
fmt::{Display, Formatter}, fmt::{Display, Formatter},
future::Future, future::Future,