go-ethereum/consensus/tests
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_tests fix(eth/hooks,contracts): use parent-state randomize data for checkpoint validator verification (#2186) 2026-03-21 15:26:54 +08:00
engine_v2_tests test(consensus,core): skip long-running tests in short mode (#2129) 2026-03-10 18:46:59 +05:30
api_test.go core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00