mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm optimism feature from chainspec (#11722)
This commit is contained in:
@ -13,7 +13,7 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-chainspec = { workspace = true, features = ["optimism"] }
|
||||
reth-chainspec.workspace = true
|
||||
reth-ethereum-forks.workspace = true
|
||||
reth-primitives-traits.workspace = true
|
||||
reth-network-peers.workspace = true
|
||||
|
||||
@ -36,6 +36,7 @@ use reth_chainspec::{
|
||||
};
|
||||
use reth_ethereum_forks::{ChainHardforks, EthereumHardfork, ForkCondition, Hardfork};
|
||||
use reth_network_peers::NodeRecord;
|
||||
use reth_optimism_forks::OptimismHardforks;
|
||||
use reth_primitives_traits::Header;
|
||||
#[cfg(feature = "std")]
|
||||
pub(crate) use std::sync::LazyLock;
|
||||
@ -267,6 +268,8 @@ impl EthereumHardforks for OpChainSpec {
|
||||
}
|
||||
}
|
||||
|
||||
impl OptimismHardforks for OpChainSpec {}
|
||||
|
||||
impl From<Genesis> for OpChainSpec {
|
||||
fn from(genesis: Genesis) -> Self {
|
||||
use reth_optimism_forks::OptimismHardfork;
|
||||
|
||||
Reference in New Issue
Block a user