go-ethereum/beacon/params
Klimov Sergei b9e2eb5944
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run
beacon/config: fix LoadForks with non-string values (#32609)
Fixes a crash when loading the beacon chain config if new fields like
`BLOB_SCHEDULE: []` are present.
Previously, the config loader assumed all values were strings, causing
errors such as:

```
Fatal: Could not load beacon chain config '/network-configs/config.yaml': failed to parse beacon chain config file: yaml: unmarshal errors:
line 242: cannot unmarshal !!seq into string
```

This PR updates the parsing logic to handle non-string values correctly
and adds explicit validation for fork fields.
2025-09-19 01:30:00 +02:00
..
checkpoint_holesky.hex beacon/params, core/filtermaps: update checkpoints (#32336) 2025-08-04 09:19:33 +08:00
checkpoint_hoodi.hex beacon/params, core/filtermaps: update checkpoints (#32336) 2025-08-04 09:19:33 +08:00
checkpoint_mainnet.hex beacon/params, core/filtermaps: update checkpoints (#32336) 2025-08-04 09:19:33 +08:00
checkpoint_sepolia.hex beacon/params, core/filtermaps: update checkpoints (#32336) 2025-08-04 09:19:33 +08:00
config.go beacon/config: fix LoadForks with non-string values (#32609) 2025-09-19 01:30:00 +02:00
config_test.go beacon/config: fix LoadForks with non-string values (#32609) 2025-09-19 01:30:00 +02:00
networks.go beacon/params, core/filtermaps: update checkpoints (#32336) 2025-08-04 09:19:33 +08:00
params.go beacon/types, beacon/blsync: update for electra (#31243) 2025-03-11 17:17:47 +01:00