mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add Hardfork::boxed (#13737)
This commit is contained in:
@ -5,7 +5,7 @@ use alloc::{sync::Arc, vec};
|
||||
use alloy_chains::Chain;
|
||||
use alloy_primitives::{b256, U256};
|
||||
use reth_chainspec::{once_cell_set, BaseFeeParams, BaseFeeParamsKind, ChainSpec};
|
||||
use reth_ethereum_forks::EthereumHardfork;
|
||||
use reth_ethereum_forks::{EthereumHardfork, Hardfork};
|
||||
use reth_optimism_forks::OpHardfork;
|
||||
|
||||
use crate::{LazyLock, OpChainSpec};
|
||||
|
||||
@ -4,7 +4,7 @@ use alloc::{sync::Arc, vec};
|
||||
|
||||
use alloy_chains::Chain;
|
||||
use alloy_primitives::{b256, U256};
|
||||
use reth_chainspec::{once_cell_set, BaseFeeParams, BaseFeeParamsKind, ChainSpec};
|
||||
use reth_chainspec::{once_cell_set, BaseFeeParams, BaseFeeParamsKind, ChainSpec, Hardfork};
|
||||
use reth_ethereum_forks::EthereumHardfork;
|
||||
use reth_optimism_forks::OpHardfork;
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ use crate::{LazyLock, OpChainSpec};
|
||||
use alloc::{sync::Arc, vec};
|
||||
use alloy_chains::Chain;
|
||||
use alloy_primitives::{b256, U256};
|
||||
use reth_chainspec::{once_cell_set, BaseFeeParams, BaseFeeParamsKind, ChainSpec};
|
||||
use reth_chainspec::{once_cell_set, BaseFeeParams, BaseFeeParamsKind, ChainSpec, Hardfork};
|
||||
use reth_ethereum_forks::EthereumHardfork;
|
||||
use reth_optimism_forks::OpHardfork;
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ use crate::{LazyLock, OpChainSpec};
|
||||
use alloc::{sync::Arc, vec};
|
||||
use alloy_chains::{Chain, NamedChain};
|
||||
use alloy_primitives::{b256, U256};
|
||||
use reth_chainspec::{once_cell_set, BaseFeeParams, BaseFeeParamsKind, ChainSpec};
|
||||
use reth_chainspec::{once_cell_set, BaseFeeParams, BaseFeeParamsKind, ChainSpec, Hardfork};
|
||||
use reth_ethereum_forks::EthereumHardfork;
|
||||
use reth_optimism_forks::OpHardfork;
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use alloc::vec;
|
||||
use alloy_primitives::U256;
|
||||
use reth_ethereum_forks::{ChainHardforks, EthereumHardfork, ForkCondition};
|
||||
use reth_ethereum_forks::{ChainHardforks, EthereumHardfork, ForkCondition, Hardfork};
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
use once_cell::sync::Lazy as LazyLock;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
//! Hard forks of optimism protocol.
|
||||
|
||||
use alloc::{boxed::Box, format, string::String, vec};
|
||||
use alloc::{format, string::String, vec};
|
||||
use core::{
|
||||
any::Any,
|
||||
fmt::{self, Display, Formatter},
|
||||
|
||||
Reference in New Issue
Block a user