From ccacb9930ea5a24a87e42708da74ec187acbac22 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Tue, 10 Jan 2023 02:04:21 -0600 Subject: [PATCH] cmd/evm: support shanghai in tests + evm t8n (#26458) --- tests/init.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/init.go b/tests/init.go index e6faa483a6..fd0b015086 100644 --- a/tests/init.go +++ b/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