Skip to content

Commit 22d71af

Browse files
params: set sepolia mergeNetsplitBlock to 1735371 (#25372)
1 parent ba3919c commit 22d71af

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

core/forkid/forkid_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,16 @@ func TestCreation(t *testing.T) {
138138
{6000000, ID{Hash: checksumToBytes(0xB8C6299D), Next: 0}}, // Future London block
139139
},
140140
},
141+
// Sepolia test cases
142+
{
143+
params.SepoliaChainConfig,
144+
params.SepoliaGenesisHash,
145+
[]testcase{
146+
{0, ID{Hash: checksumToBytes(0xfe3366e7), Next: 1735371}}, // Unsynced, last Frontier, Homestead, Tangerine, Spurious, Byzantium, Constantinople, Petersburg, Istanbul, Berlin and first London block
147+
{1735370, ID{Hash: checksumToBytes(0xfe3366e7), Next: 1735371}}, // Last London block
148+
{1735371, ID{Hash: checksumToBytes(0xb96cbd13), Next: 0}}, // First MergeNetsplit block
149+
},
150+
},
141151
// Merge test cases
142152
{
143153
&mergeConfig,

params/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ var (
157157
BerlinBlock: big.NewInt(0),
158158
LondonBlock: big.NewInt(0),
159159
TerminalTotalDifficulty: big.NewInt(17_000_000_000_000_000),
160+
MergeNetsplitBlock: big.NewInt(1735371),
160161
Ethash: new(EthashConfig),
161162
}
162163

0 commit comments

Comments
 (0)