tests: add Berlin-definition identical to YOLOv1 (#21435)

pull/21437/head
Martin Holst Swende 4 years ago committed by GitHub
parent 4baa574410
commit c28fd9c079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      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

Loading…
Cancel
Save