go-ethereum/eth/hooks
Daniel Liu 001bd7ef3b
fix(eth/hooks,contracts): use parent-state randomize data for checkpoint validator verification (#2186)
Read randomize values at the checkpoint parent height during v1 HookValidator and HookVerifyMNs instead of the latest chain state. This fixes a sync-time race where historical checkpoint headers could be rejected with ErrInvalidCheckpointValidators and then accepted later after local state advanced.

The accompanying regression test now derives expected validators independently from HookValidator and the M2 generation path uses a local RNG source, removing CI-only nondeterminism during repeated verification.
2026-03-21 15:26:54 +08:00
..
engine_v1_hooks.go fix(eth/hooks,contracts): use parent-state randomize data for checkpoint validator verification (#2186) 2026-03-21 15:26:54 +08:00
engine_v2_hooks.go fix(consensus): fix config object not reference to same one and concurrency issues and refactor access pattern (#2146) 2026-03-12 12:12:49 -07:00