Skip to content

Commit ba6cfb3

Browse files
marioevzshekhirin
authored andcommitted
cmd/evm: support shanghai in tests + evm t8n (ethereum#26458)
1 parent 277a451 commit ba6cfb3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/init.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,24 @@ var Forks = map[string]*params.ChainConfig{
248248
MergeNetsplitBlock: big.NewInt(0),
249249
TerminalTotalDifficulty: big.NewInt(0),
250250
},
251+
"Shanghai": {
252+
ChainID: big.NewInt(1),
253+
HomesteadBlock: big.NewInt(0),
254+
EIP150Block: big.NewInt(0),
255+
EIP155Block: big.NewInt(0),
256+
EIP158Block: big.NewInt(0),
257+
ByzantiumBlock: big.NewInt(0),
258+
ConstantinopleBlock: big.NewInt(0),
259+
PetersburgBlock: big.NewInt(0),
260+
IstanbulBlock: big.NewInt(0),
261+
MuirGlacierBlock: big.NewInt(0),
262+
BerlinBlock: big.NewInt(0),
263+
LondonBlock: big.NewInt(0),
264+
ArrowGlacierBlock: big.NewInt(0),
265+
MergeNetsplitBlock: big.NewInt(0),
266+
TerminalTotalDifficulty: big.NewInt(0),
267+
ShanghaiTime: big.NewInt(0),
268+
},
251269
}
252270

253271
// AvailableForks returns the set of defined fork names

0 commit comments

Comments
 (0)