Skip to content

Commit

Permalink
keep fcU consistent with actual DAG (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec authored Jun 14, 2022
1 parent e3f0d2e commit 8d421f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beacon_chain/gossip_processing/block_processor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion beacon_chain/sync/sync_queue.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 8d421f3

Please sign in to comment.