primitives: use alloy KECCAK_EMPTY constant (#11851)

This commit is contained in:
Thomas Coratger
2024-10-18 10:25:22 +02:00
committed by GitHub
parent dfcaad4608
commit 0c70f6bd35
9 changed files with 14 additions and 11 deletions

View File

@ -26,5 +26,6 @@ reth-trie.workspace = true
# ethereum
alloy-eips.workspace = true
alloy-primitives.workspace = true
alloy-consensus.workspace = true
auto_impl.workspace = true

View File

@ -2,11 +2,12 @@ use super::{
AccountReader, BlockHashReader, BlockIdReader, StateProofProvider, StateRootProvider,
StorageRootProvider,
};
use alloy_consensus::constants::KECCAK_EMPTY;
use alloy_eips::{BlockId, BlockNumHash, BlockNumberOrTag};
use alloy_primitives::{Address, BlockHash, BlockNumber, StorageKey, StorageValue, B256, U256};
use auto_impl::auto_impl;
use reth_execution_types::ExecutionOutcome;
use reth_primitives::{Bytecode, KECCAK_EMPTY};
use reth_primitives::Bytecode;
use reth_storage_errors::provider::{ProviderError, ProviderResult};
/// Type alias of boxed [`StateProvider`].