File tree 2 files changed +0
-6
lines changed
execution_chain/sync/beacon/worker
2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,6 @@ proc blocksStagedImport*(
363
363
finHash = if nBn < ctx.layout.final: nthHash
364
364
else : ctx.layout.finalHash
365
365
366
- doAssert nBn == ctx.chain.latestNumber ()
367
366
ctx.pool.chain.forkChoice (nthHash, finHash).isOkOr:
368
367
ctx.poolMode = true
369
368
warn info & " : fork choice error (reorg triggered)" , n, iv,
Original file line number Diff line number Diff line change @@ -116,9 +116,6 @@ proc headersStagedCollect*(
116
116
117
117
# End block: `fetchHeadersBody`
118
118
119
- # The cache `antecedent` must match variable `D` (aka dangling)
120
- doAssert ctx.hdrCache.fcHeaderAntecedent ().number <= ctx.layout.dangling
121
-
122
119
let nHeaders = nDeterministic + nOpportunistic.uint64
123
120
if nHeaders == 0 :
124
121
return false
@@ -149,8 +146,6 @@ proc headersStagedProcess*(buddy: BeaconBuddyRef; info: static[string]) =
149
146
let qItem = ctx.hdr.staged.le (high BlockNumber ).valueOr:
150
147
break # all done
151
148
152
- doAssert qItem.key == qItem.data.revHdrs[0 ].number
153
-
154
149
let
155
150
minNum = qItem.data.revHdrs[^ 1 ].number
156
151
maxNum = qItem.data.revHdrs[0 ].number
You can’t perform that action at this time.
0 commit comments