We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e48e07 commit c55a121Copy full SHA for c55a121
beacon/params/config.go
@@ -103,6 +103,9 @@ func (c *ChainConfig) LoadForks(file []byte) error {
103
epochs["GENESIS"] = 0
104
105
for key, value := range config {
106
+ if value == nil {
107
+ continue
108
+ }
109
if strings.HasSuffix(key, "_FORK_VERSION") {
110
name := key[:len(key)-len("_FORK_VERSION")]
111
switch version := value.(type) {
beacon/params/config_test.go
@@ -15,6 +15,9 @@ ALTAIR_FORK_EPOCH: 1
15
EIP7928_FORK_VERSION: 0xb0000038
16
EIP7928_FORK_EPOCH: 18446744073709551615
17
18
+EIP7XXX_FORK_VERSION:
19
+EIP7XXX_FORK_EPOCH:
20
+
21
BLOB_SCHEDULE: []
22
`
23
c := &ChainConfig{}
0 commit comments