chore: use alloy-genesis imports for Genesis (#8973)

This commit is contained in:
Dan Cline
2024-06-19 19:14:25 -04:00
committed by GitHub
parent bf9cac7571
commit 8b6ca877d6
24 changed files with 52 additions and 21 deletions

View File

@ -135,10 +135,8 @@ pub fn calculate_ommers_root(ommers: &[Header]) -> B256 {
#[cfg(test)]
mod tests {
use super::*;
use crate::{
bloom, constants::EMPTY_ROOT_HASH, hex_literal::hex, Block, GenesisAccount, Log, TxType,
U256,
};
use crate::{bloom, constants::EMPTY_ROOT_HASH, hex_literal::hex, Block, Log, TxType, U256};
use alloy_genesis::GenesisAccount;
use alloy_primitives::{b256, Address, LogData};
use alloy_rlp::Decodable;
use reth_chainspec::{GOERLI, HOLESKY, MAINNET, SEPOLIA};