chore: remove reth-primitives dep from consensus (#14067)

This commit is contained in:
Matthias Seitz
2025-01-29 17:51:53 +01:00
committed by GitHub
parent 88c878da0c
commit 9001cc2cec
9 changed files with 12 additions and 19 deletions

View File

@ -125,7 +125,7 @@ impl<C: ChainSpecParser<ChainSpec = ChainSpec>> Command<C> {
) -> eyre::Result<()> {
let Environment { provider_factory, .. } = self.env.init::<N>(AccessRights::RW)?;
let consensus: Arc<dyn FullConsensus<Error = ConsensusError>> =
let consensus: Arc<dyn FullConsensus<EthPrimitives, Error = ConsensusError>> =
Arc::new(EthBeaconConsensus::new(provider_factory.chain_spec()));
// fetch the best block from the database