primitive-traits: rm redundant EMPTY_ROOT_HASH definition (#11811)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-10-17 00:07:27 +02:00
committed by GitHub
parent 5a82f20a29
commit 025cb3b70e
14 changed files with 24 additions and 18 deletions

View File

@ -65,7 +65,8 @@ pub fn calculate_ommers_root(ommers: &[Header]) -> B256 {
#[cfg(test)]
mod tests {
use super::*;
use crate::{constants::EMPTY_ROOT_HASH, Block};
use crate::Block;
use alloy_consensus::EMPTY_ROOT_HASH;
use alloy_genesis::GenesisAccount;
use alloy_primitives::{b256, hex_literal::hex, Address, U256};
use alloy_rlp::Decodable;