From c28fd9c0792dd85784073b7398dedc3d7a3d710a Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Mon, 10 Aug 2020 21:06:14 +0200 Subject: [PATCH] tests: add Berlin-definition identical to YOLOv1 (#21435) --- tests/init.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/init.go b/tests/init.go index 6c30c3537..d920c70e2 100644 --- a/tests/init.go +++ b/tests/init.go @@ -153,6 +153,20 @@ var Forks = map[string]*params.ChainConfig{ IstanbulBlock: big.NewInt(0), YoloV1Block: big.NewInt(0), }, + // This specification is subject to change, but is for now identical to YOLOv1 + // for cross-client testing purposes + "Berlin": { + 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), + YoloV1Block: big.NewInt(0), + }, } // Returns the set of defined fork names