cmd/evm: support shanghai in tests + evm t8n (#26458)

pull/26466/head
Mario Vega 2 years ago committed by GitHub
parent 43692c84d1
commit ccacb9930e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      tests/init.go

@ -248,6 +248,24 @@ var Forks = map[string]*params.ChainConfig{
MergeNetsplitBlock: big.NewInt(0),
TerminalTotalDifficulty: big.NewInt(0),
},
"Shanghai": {
ChainID: big.NewInt(1),
HomesteadBlock: big.NewInt(0),
EIP150Block: big.NewInt(0),
EIP155Block: big.NewInt(0),
EIP158Block: big.NewInt(0),
ByzantiumBlock: big.NewInt(0),
ConstantinopleBlock: big.NewInt(0),
PetersburgBlock: big.NewInt(0),
IstanbulBlock: big.NewInt(0),
MuirGlacierBlock: big.NewInt(0),
BerlinBlock: big.NewInt(0),
LondonBlock: big.NewInt(0),
ArrowGlacierBlock: big.NewInt(0),
MergeNetsplitBlock: big.NewInt(0),
TerminalTotalDifficulty: big.NewInt(0),
ShanghaiTime: big.NewInt(0),
},
}
// AvailableForks returns the set of defined fork names

Loading…
Cancel
Save