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:
@ -11,6 +11,7 @@ license.workspace = true
|
||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||
tokio.workspace = true
|
||||
reth-network.workspace = true
|
||||
reth-chainspec.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
serde_json.workspace = true
|
||||
reth-tracing.workspace = true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use reth_primitives::{
|
||||
b256, BaseFeeParams, Chain, ChainSpec, ForkCondition, Hardfork, Head, NodeRecord, B256,
|
||||
};
|
||||
use reth_chainspec::{BaseFeeParams, Chain, ChainSpec, ForkCondition, Hardfork};
|
||||
use reth_discv4::NodeRecord;
|
||||
use reth_primitives::{b256, Head, B256};
|
||||
|
||||
use std::{collections::BTreeMap, sync::Arc};
|
||||
|
||||
@ -24,7 +24,7 @@ pub(crate) fn polygon_chain_spec() -> Arc<ChainSpec> {
|
||||
(Hardfork::Shanghai, ForkCondition::Block(SHANGAI_BLOCK)),
|
||||
]),
|
||||
deposit_contract: None,
|
||||
base_fee_params: reth_primitives::BaseFeeParamsKind::Constant(BaseFeeParams::ethereum()),
|
||||
base_fee_params: reth_chainspec::BaseFeeParamsKind::Constant(BaseFeeParams::ethereum()),
|
||||
prune_delete_limit: 0,
|
||||
}
|
||||
.into()
|
||||
|
||||
Reference in New Issue
Block a user