Skip to content

Commit

Permalink
tests: add Berlin-definition identical to YOLOv1 (#21435)
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman authored Aug 10, 2020
1 parent 4baa574 commit c28fd9c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c28fd9c

Please sign in to comment.