primitives-traits: rm redundant definitions of EMPTY_OMMER_ROOT_HASH (#11820)

This commit is contained in:
Thomas Coratger
2024-10-17 11:30:26 +02:00
committed by GitHub
parent 63a75fdd95
commit 491f154c34
15 changed files with 24 additions and 19 deletions

View File

@ -25,6 +25,7 @@ reth-optimism-chainspec.workspace = true
# ethereum
alloy-primitives.workspace = true
alloy-consensus.workspace = true
tracing.workspace = true

View File

@ -9,6 +9,7 @@
// The `optimism` feature must be enabled to use this crate.
#![cfg(feature = "optimism")]
use alloy_consensus::EMPTY_OMMER_ROOT_HASH;
use alloy_primitives::{B64, U256};
use reth_chainspec::EthereumHardforks;
use reth_consensus::{Consensus, ConsensusError, PostExecutionInput};
@ -20,9 +21,7 @@ use reth_consensus_common::validation::{
};
use reth_optimism_chainspec::OpChainSpec;
use reth_optimism_forks::OptimismHardforks;
use reth_primitives::{
BlockWithSenders, GotExpected, Header, SealedBlock, SealedHeader, EMPTY_OMMER_ROOT_HASH,
};
use reth_primitives::{BlockWithSenders, GotExpected, Header, SealedBlock, SealedHeader};
use std::{sync::Arc, time::SystemTime};
mod proof;