mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 08:37:59 -05:00
primitives: use alloy MAINNET_GENESIS_HASH constant (#11848)
This commit is contained in:
@@ -42,6 +42,7 @@ tracing.workspace = true
|
||||
[dev-dependencies]
|
||||
reth-primitives-traits.workspace = true
|
||||
reth-provider = { workspace = true, features = ["test-utils"] }
|
||||
alloy-consensus.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -581,6 +581,7 @@ struct GenesisAccountWithAddress {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use alloy_consensus::constants::MAINNET_GENESIS_HASH;
|
||||
use alloy_genesis::Genesis;
|
||||
use reth_chainspec::{Chain, ChainSpec, HOLESKY, MAINNET, SEPOLIA};
|
||||
use reth_db::DatabaseEnv;
|
||||
@@ -591,7 +592,7 @@ mod tests {
|
||||
transaction::DbTx,
|
||||
Database,
|
||||
};
|
||||
use reth_primitives::{HOLESKY_GENESIS_HASH, MAINNET_GENESIS_HASH, SEPOLIA_GENESIS_HASH};
|
||||
use reth_primitives::{HOLESKY_GENESIS_HASH, SEPOLIA_GENESIS_HASH};
|
||||
use reth_primitives_traits::IntegerList;
|
||||
use reth_provider::{
|
||||
test_utils::{create_test_provider_factory_with_chain_spec, MockNodeTypesWithDB},
|
||||
|
||||
Reference in New Issue
Block a user