go-ethereum/params
qu0b 49a69870cc params: mark amsterdam blob-schedule entry as optional
Mark `amsterdam` as `optional` in the blob-schedule fork-validation table
so that a chain config setting `amsterdamTime` no longer requires a
corresponding `blobSchedule.amsterdam` entry to be present.

Why: hive's `clients/<el>/mapper.jq` removed the `amsterdam` block from
the generated `blobSchedule` in ethereum/hive#1387 ("named forks should
not have hard-coded blob defaults"). With strict validation in place,
every hive simulator that activates Amsterdam — including
`eels/consume-engine` against bal-devnet-4 — now fails immediately at
`geth init` with:

    Fatal: Failed to write genesis block: invalid chain configuration:
    missing entry for fork "amsterdam" in blobSchedule

The bal-devnet-3 branch carried a similar relaxation (commit 265d74b75)
by commenting out the check entirely. This change is narrower: it only
makes `amsterdam` optional, leaving every other fork's strict check
intact, and matches the pattern already used in the fork-ordering table
just above (where `amsterdam` and the BPO entries are also marked
optional).

The `cur.config.validate()` call still runs for any caller that *does*
provide a blob schedule entry, so misconfigured Amsterdam blob params
remain rejected; only the missing-entry case is relaxed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 10:57:05 +00:00
..
forks params: add amsterdam fork config (#32687) 2025-09-26 15:39:22 -06:00
bootnodes.go params: add hoodi testnet definition (#31406) 2025-03-18 12:07:49 +01:00
config.go params: mark amsterdam blob-schedule entry as optional 2026-04-27 10:57:05 +00:00
config_test.go all: get rid of custom MaxUint64 and MaxUint64 (#30636) 2024-10-20 14:41:51 +03:00
dao.go params: remove redundant consts, disable metro on AllProtocolChanges 2017-07-04 12:28:58 +03:00
denomination.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
network_params.go core/bloombits: remove old bloombits logic and chain indexer (#31081) 2025-03-21 10:47:58 +01:00
protocol_params.go all: implement BAL single-threaded execution and validation 2026-04-26 11:40:13 +02:00
verkle_params.go cmd, core, params, trie: add verkle access witness gas charging (#29338) 2024-05-10 20:13:11 +02:00