mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-27 16:18:08 -05:00
refactor: move ethereum-forks crate into ethereum folder (#15983)
This commit is contained in:
@@ -32,7 +32,7 @@ members = [
|
||||
"crates/era-downloader",
|
||||
"crates/era-utils",
|
||||
"crates/errors/",
|
||||
"crates/ethereum-forks/",
|
||||
"crates/ethereum/hardforks/",
|
||||
"crates/ethereum/cli/",
|
||||
"crates/ethereum/consensus/",
|
||||
"crates/ethereum/engine-primitives/",
|
||||
@@ -353,7 +353,7 @@ reth-eth-wire-types = { path = "crates/net/eth-wire-types" }
|
||||
reth-ethereum-cli = { path = "crates/ethereum/cli" }
|
||||
reth-ethereum-consensus = { path = "crates/ethereum/consensus", default-features = false }
|
||||
reth-ethereum-engine-primitives = { path = "crates/ethereum/engine-primitives", default-features = false }
|
||||
reth-ethereum-forks = { path = "crates/ethereum-forks", default-features = false }
|
||||
reth-ethereum-forks = { path = "crates/ethereum/hardforks", default-features = false }
|
||||
reth-ethereum-payload-builder = { path = "crates/ethereum/payload" }
|
||||
reth-ethereum-primitives = { path = "crates/ethereum/primitives", default-features = false }
|
||||
reth-ethereum = { path = "crates/ethereum/reth" }
|
||||
|
||||
@@ -84,7 +84,8 @@ impl core::fmt::Display for DisplayFork {
|
||||
// - Paris @58750000000000000000000 (network is known to be merged)
|
||||
// Post-merge hard forks (timestamp based):
|
||||
// - Shanghai @1681338455
|
||||
// - Cancun @1710338135"
|
||||
// - Cancun @1710338135
|
||||
// - Prague @1746612311
|
||||
/// ```
|
||||
#[derive(Debug)]
|
||||
pub struct DisplayHardforks {
|
||||
@@ -34,5 +34,6 @@ pub static DEV_HARDFORKS: LazyLock<ChainHardforks> = LazyLock::new(|| {
|
||||
),
|
||||
(EthereumHardfork::Shanghai.boxed(), ForkCondition::Timestamp(0)),
|
||||
(EthereumHardfork::Cancun.boxed(), ForkCondition::Timestamp(0)),
|
||||
(EthereumHardfork::Prague.boxed(), ForkCondition::Timestamp(0)),
|
||||
])
|
||||
});
|
||||
Reference in New Issue
Block a user