mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
* Fix validateConsensus Reported by NuConstruct The stater package looks for a stateroot using the head state from the blockchain package. However, this state is very unlikely to have the poststateroot since that's only added after slot processing. I assume that essentially any REST endpoint that uses this mechanism to get head is broken if it needs to gather a state by stateroot. This PR is a placeholder to verify this is the issue, here I just check if the NSC already has the post-state since that will have already the processing state cached. * Add changelog * add fallback * Fix tests
56 B
56 B
Fixed
- Fix the validateConsensus endpoint handler.