mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: use reth_chainspec where possible (#8891)
This commit is contained in:
@ -12,6 +12,7 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
## reth
|
||||
reth-chainspec.workspace = true
|
||||
reth-blockchain-tree.workspace = true
|
||||
reth-config.workspace = true
|
||||
reth-consensus = { workspace = true, features = ["test-utils"] }
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
|
||||
use futures_util::FutureExt;
|
||||
use reth_blockchain_tree::noop::NoopBlockchainTree;
|
||||
use reth_chainspec::{ChainSpec, MAINNET};
|
||||
use reth_consensus::test_utils::TestConsensus;
|
||||
use reth_db::{test_utils::TempDatabase, DatabaseEnv};
|
||||
use reth_db_common::init::init_genesis;
|
||||
@ -30,7 +31,7 @@ use reth_node_ethereum::{
|
||||
EthEngineTypes, EthEvmConfig,
|
||||
};
|
||||
use reth_payload_builder::noop::NoopPayloadBuilderService;
|
||||
use reth_primitives::{ChainSpec, Head, SealedBlockWithSenders, MAINNET};
|
||||
use reth_primitives::{Head, SealedBlockWithSenders};
|
||||
use reth_provider::{
|
||||
providers::BlockchainProvider, test_utils::create_test_provider_factory_with_chain_spec,
|
||||
BlockReader, Chain, ProviderFactory,
|
||||
|
||||
Reference in New Issue
Block a user