Fix block proposer verification failure for light forward syncing algorithm. (#6726)

This commit is contained in:
Eugene Kabanov 2024-11-25 00:51:21 +02:00 committed by GitHub
parent 5579c5234f
commit a461bb102f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -321,9 +321,9 @@ proc rebuildState(overseer: SyncOverseerRef): Future[void] {.
let
fork =
getStateField(dag.headState, fork)
getStateField(dag.clearanceState, fork)
genesis_validators_root =
getStateField(dag.headState, genesis_validators_root)
getStateField(dag.clearanceState, genesis_validators_root)
verifyBlockProposer(batchVerifier[], fork, genesis_validators_root,
dag.db.immutableValidators, blocksOnly).isOkOr: