keep fcU consistent with actual DAG (#3748)

This commit is contained in:
tersec 2022-06-14 08:28:30 +00:00 committed by GitHub
parent e3f0d2ecbc
commit 8d421f3d91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -482,7 +482,7 @@ proc runQueueProcessingLoop*(self: ref BlockProcessor) {.async.} =
executionPayloadStatus
await self.runForkchoiceUpdated(
blck.blck.bellatrixData.message.body.execution_payload.block_hash,
self.consensusManager.dag.head.executionBlockRoot,
self.consensusManager.dag.finalizedHead.blck.executionBlockRoot)
if not blck.resfut.isNil:

View File

@ -696,7 +696,7 @@ proc push*[T](sq: SyncQueue[T], sr: SyncRequest[T],
of SyncQueueKind.Forward:
if safeSlot < req.slot:
let rewindSlot = sq.getRewindPoint(failSlot, safeSlot)
warn "Unexpected missing parent, rewind happens",
debug "Unexpected missing parent, rewind happens",
request = req, rewind_to_slot = rewindSlot,
rewind_point = sq.rewind, finalized_slot = safeSlot,
blocks_count = len(item.data),