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

@ -1,10 +1,10 @@
//! Helper function for calculating Merkle proofs and hashes.
use crate::{
constants::EMPTY_OMMER_ROOT_HASH, Header, Receipt, ReceiptWithBloom, ReceiptWithBloomRef,
Request, TransactionSigned, Withdrawal,
Header, Receipt, ReceiptWithBloom, ReceiptWithBloomRef, Request, TransactionSigned, Withdrawal,
};
use alloc::vec::Vec;
use alloy_consensus::EMPTY_OMMER_ROOT_HASH;
use alloy_eips::{eip2718::Encodable2718, eip7685::Encodable7685};
use alloy_primitives::{keccak256, B256};
use reth_trie_common::root::{ordered_trie_root, ordered_trie_root_with_encoder};