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

This commit is contained in:
Martin Holst Swende 2020-08-10 21:06:14 +02:00 committed by GitHub
parent 4baa574410
commit c28fd9c079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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