go-ethereum/params
Felix Lange 8ec4a06b3f
core: sanity-check fork configuration in genesis (#31171)
This is to prevent a crash on startup with a custom genesis configuration.
With this change in place, upgrading a chain created by geth v1.14.x and
below will now print an error instead of crashing:

    Fatal: Failed to register the Ethereum service: invalid chain configuration: missing entry for fork "cancun" in blobSchedule

Arguably this is not great, and it should just auto-upgrade the config.
We'll address this in a follow-up PR for geth v1.15.2
2025-02-13 13:05:05 +01:00
..
forks params: start osaka fork (#31125) 2025-02-04 15:29:51 +01:00
bootnodes.go all: clean up goerli flag and config (#30289) 2024-08-20 15:59:48 +02:00
config.go core: sanity-check fork configuration in genesis (#31171) 2025-02-13 13:05:05 +01: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 params: remove unused les parameters (#30268) 2024-08-06 19:49:48 +08:00
protocol_params.go params,core: add max and target value to chain config (#31002) 2025-02-04 15:43:18 +01:00
verkle_params.go cmd, core, params, trie: add verkle access witness gas charging (#29338) 2024-05-10 20:13:11 +02:00