Skip to content

Commit 4cda8f0

Browse files
authored
params,core/forkid: enable prague on holesky and sepolia (#31139)
Agreed to the following fork dates for Holesky and Sepolia on ACDC 150 Holesky slot: 3710976 (Mon, Feb 24 at 21:55:12 UTC) Sepolia slot: 7118848 (Wed, Mar 5 at 07:29:36 UTC)
1 parent d11e9c0 commit 4cda8f0

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

core/forkid/forkid_test.go

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ func TestCreation(t *testing.T) {
9191
{1735372, 1677557087, ID{Hash: checksumToBytes(0xb96cbd13), Next: 1677557088}}, // Last MergeNetsplit block
9292
{1735372, 1677557088, ID{Hash: checksumToBytes(0xf7f9bc08), Next: 1706655072}}, // First Shanghai block
9393
{1735372, 1706655071, ID{Hash: checksumToBytes(0xf7f9bc08), Next: 1706655072}}, // Last Shanghai block
94-
{1735372, 1706655072, ID{Hash: checksumToBytes(0x88cf81d9), Next: 0}}, // First Cancun block
95-
{1735372, 2706655072, ID{Hash: checksumToBytes(0x88cf81d9), Next: 0}}, // Future Cancun block
94+
{1735372, 1706655072, ID{Hash: checksumToBytes(0x88cf81d9), Next: 1741159776}}, // First Cancun block
95+
{1735372, 1741159775, ID{Hash: checksumToBytes(0x88cf81d9), Next: 1741159776}}, // Last Cancun block
96+
{1735372, 1741159776, ID{Hash: checksumToBytes(0xed88b5fd), Next: 0}}, // First Prague block
97+
{1735372, 2741159776, ID{Hash: checksumToBytes(0xed88b5fd), Next: 0}}, // Future Prague block
9698
},
9799
},
98100
// Holesky test cases
@@ -104,8 +106,10 @@ func TestCreation(t *testing.T) {
104106
{123, 0, ID{Hash: checksumToBytes(0xc61a6098), Next: 1696000704}}, // First MergeNetsplit block
105107
{123, 1696000704, ID{Hash: checksumToBytes(0xfd4f016b), Next: 1707305664}}, // First Shanghai block
106108
{123, 1707305663, ID{Hash: checksumToBytes(0xfd4f016b), Next: 1707305664}}, // Last Shanghai block
107-
{123, 1707305664, ID{Hash: checksumToBytes(0x9b192ad0), Next: 0}}, // First Cancun block
108-
{123, 2707305664, ID{Hash: checksumToBytes(0x9b192ad0), Next: 0}}, // Future Cancun block
109+
{123, 1707305664, ID{Hash: checksumToBytes(0x9b192ad0), Next: 1740434112}}, // First Cancun block
110+
{123, 1740434111, ID{Hash: checksumToBytes(0x9b192ad0), Next: 1740434112}}, // Last Cancun block
111+
{123, 1740434112, ID{Hash: checksumToBytes(0xdfbd9bed), Next: 0}}, // First Prague block
112+
{123, 2740434112, ID{Hash: checksumToBytes(0xdfbd9bed), Next: 0}}, // Future Prague block
109113
},
110114
},
111115
}

params/config.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,11 @@ var (
8787
MergeNetsplitBlock: nil,
8888
ShanghaiTime: newUint64(1696000704),
8989
CancunTime: newUint64(1707305664),
90+
PragueTime: newUint64(1740434112),
9091
Ethash: new(EthashConfig),
9192
BlobScheduleConfig: &BlobScheduleConfig{
9293
Cancun: DefaultCancunBlobConfig,
94+
Prague: DefaultPragueBlobConfig,
9395
},
9496
}
9597
// SepoliaChainConfig contains the chain parameters to run a node on the Sepolia test network.
@@ -114,9 +116,11 @@ var (
114116
MergeNetsplitBlock: big.NewInt(1735371),
115117
ShanghaiTime: newUint64(1677557088),
116118
CancunTime: newUint64(1706655072),
119+
PragueTime: newUint64(1741159776),
117120
Ethash: new(EthashConfig),
118121
BlobScheduleConfig: &BlobScheduleConfig{
119122
Cancun: DefaultCancunBlobConfig,
123+
Prague: DefaultPragueBlobConfig,
120124
},
121125
}
122126
// AllEthashProtocolChanges contains every protocol change (EIPs) introduced

0 commit comments

Comments
 (0)