Skip to content

Commit c28fd9c

Browse files
authored
tests: add Berlin-definition identical to YOLOv1 (#21435)
1 parent 4baa574 commit c28fd9c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/init.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,20 @@ var Forks = map[string]*params.ChainConfig{
153153
IstanbulBlock: big.NewInt(0),
154154
YoloV1Block: big.NewInt(0),
155155
},
156+
// This specification is subject to change, but is for now identical to YOLOv1
157+
// for cross-client testing purposes
158+
"Berlin": {
159+
ChainID: big.NewInt(1),
160+
HomesteadBlock: big.NewInt(0),
161+
EIP150Block: big.NewInt(0),
162+
EIP155Block: big.NewInt(0),
163+
EIP158Block: big.NewInt(0),
164+
ByzantiumBlock: big.NewInt(0),
165+
ConstantinopleBlock: big.NewInt(0),
166+
PetersburgBlock: big.NewInt(0),
167+
IstanbulBlock: big.NewInt(0),
168+
YoloV1Block: big.NewInt(0),
169+
},
156170
}
157171

158172
// Returns the set of defined fork names

0 commit comments

Comments
 (0)