Skip to content

Commit 91708c9

Browse files
Introduce MintMe hardfork to enable PUSH0 and MCOPY opcodes (etclabscore#651)
1 parent 7ef3ecd commit 91708c9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

core/forkid/forkid_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ func TestCreation(t *testing.T) {
226226
core.GenesisToBlock(params.DefaultMintMeGenesisBlock(), nil),
227227
[]testcase{
228228
{0, 0, ID{Hash: checksumToBytes(0x02bf4180), Next: 252500}},
229-
{252500, 0, ID{Hash: checksumToBytes(0x50aed09f), Next: 0}},
229+
{252500, 0, ID{Hash: checksumToBytes(0x50aed09f), Next: 8_784_700}},
230+
{8_784_700, 0, ID{Hash: checksumToBytes(0x0a67075a), Next: 0}},
230231
},
231232
},
232233
}
@@ -529,7 +530,7 @@ func TestGatherForks(t *testing.T) {
529530
{
530531
"mintme",
531532
params.MintMeChainConfig,
532-
[]uint64{252_500},
533+
[]uint64{252_500, 8_784_700},
533534
[]uint64{},
534535
},
535536
}

params/config_mintme.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ var (
6666
EIP2028FBlock: big.NewInt(0),
6767
EIP2200FBlock: big.NewInt(0), // RePetersburg (== re-1283)
6868

69+
// Shangai
70+
EIP3855FBlock: big.NewInt(8784700),
71+
72+
// Cancun
73+
EIP5656FBlock: big.NewInt(8784700),
74+
6975
ECIP1099FBlock: nil, // Etchash
7076

7177
DisposalBlock: big.NewInt(0), // Dispose difficulty bomb

0 commit comments

Comments
 (0)