Skip to content

BAD BLOCK 82140206 #111

@Skryabin-P

Description

@Skryabin-P

Today morning Erigon failed with error
(tried again recently to restart node)
erigon | {"from":82148999,"lvl":"info","msg":"[3/6 Senders] Started","t":"2026-01-26T21:39:54.048430515Z","to":82159013}
erigon | {"from":82139450,"fromTxNum":6478124999,"inMem":false,"initialCycle":true,"lvl":"info","msg":"[4/6 Execution] starting","offsetFromBlockBeginning":0,"t":"2026-01-26T21:39:57.877400393Z","to":82159013,"useExternalTx":true}
erigon | {"from":82139450,"fromTxNum":6478124931,"initialCycle":true,"lvl":"info","msg":"[4/6 Execution] starting","offsetFromBlockBeginning":68,"t":"2026-01-26T21:39:57.877525543Z","to":82159013,"useExternalTx":true}
erigon | {"lvl":"info","msg":"[bor.heimdall] scraper progress","name":"milestones","newLast":6487562,"priorLastKnownId":6487561,"rangeEnd":6487562,"rangeStart":6487562,"t":"2026-01-26T21:40:04.915386776Z"}
erigon | {"alloc":"43.9GB","blk":82139640,"blk/s":"9.5","blks":191,"buf":"17.6MB/4.0GB","gas/s":"286.02M","inMem":false,"lvl":"info","msg":"[4/6 Execution]","step":"4146.0","stepsInDB":"0.00","sys":"78.2GB","t":"2026-01-26T21:40:17.929406495Z","tx/s":"1.17k","txs":23466}
erigon | {"block":82139640,"compute commitment":"3.906115517s","flush":"2.160789139s","lvl":"info","msg":"Committed","prune":"55.569273ms","step":"4146.0","t":"2026-01-26T21:40:24.05479882Z","time":"6.125311765s","tx.commit":"0s","txNum":6478148466}
erigon | {"lvl":"info","msg":"[bor.heimdall] scraper progress","name":"milestones","newLast":6487574,"priorLastKnownId":6487573,"rangeEnd":6487574,"rangeStart":6487574,"t":"2026-01-26T21:40:35.077272933Z"}
erigon | {"alloc":"47.0GB","blk":82139763,"blk/s":"6.2","blks":124,"buf":"12.6MB/4.0GB","gas/s":"199.16M","inMem":false,"lvl":"info","msg":"[4/6 Execution]","step":"4146.0","stepsInDB":"0.02","sys":"78.2GB","t":"2026-01-26T21:40:37.893880269Z","tx/s":"813","txs":16248}
erigon | {"block":82139763,"compute commitment":"6.429647528s","flush":"1.740883028s","lvl":"info","msg":"Committed","prune":"51.88µs","step":"4146.0","t":"2026-01-26T21:40:42.159041633Z","time":"4.265062555s","tx.commit":"0s","txNum":6478164714}
erigon | {"alloc":"50.0GB","blk":82139927,"blk/s":"8.3","blks":165,"buf":"15.3MB/4.0GB","gas/s":"231.59M","inMem":false,"lvl":"info","msg":"[4/6 Execution]","step":"4146.0","stepsInDB":"0.03","sys":"78.2GB","t":"2026-01-26T21:40:57.886027409Z","tx/s":"1.00k","txs":20091}
erigon | {"block":82139927,"compute commitment":"9.17251108s","flush":"2.147749387s","lvl":"info","msg":"Committed","prune":"63.079µs","step":"4146.0","t":"2026-01-26T21:41:02.777393644Z","time":"4.891268185s","tx.commit":"0s","txNum":6478184805}
erigon | {"lvl":"info","msg":"[bor.heimdall] scraper progress","name":"milestones","newLast":6487586,"priorLastKnownId":6487585,"rangeEnd":6487586,"rangeStart":6487586,"t":"2026-01-26T21:41:04.2117679Z"}
erigon | {"eth68":"8","eth69":"22","lvl":"info","msg":"[p2p] GoodPeers","t":"2026-01-26T21:41:07.351466153Z"}
erigon | {"alloc":"35.0GB","blk":82140076,"blk/s":"7.5","blks":150,"buf":"15.3MB/4.0GB","gas/s":"230.78M","inMem":false,"lvl":"info","msg":"[4/6 Execution]","step":"4146.1","stepsInDB":"0.04","sys":"78.2GB","t":"2026-01-26T21:41:17.92295587Z","tx/s":"950","txs":19038}
erigon | {"block":82140076,"compute commitment":"11.786619754s","flush":"1.999180332s","lvl":"info","msg":"Committed","prune":"56.41µs","step":"4146.1","t":"2026-01-26T21:41:22.536650485Z","time":"4.613598745s","tx.commit":"0s","txNum":6478203843}
erigon | {"block":82140206,"execution":35602767,"header":35602803,"lvl":"warn","msg":"gas used mismatch","t":"2026-01-26T21:41:35.08897181Z","txgas":"0=47858, 1=47858, 2=105224, 3=120182, 4=123872, 5=57780, 6=76844, 7=21000, 8=53280, 9=998397, 10=332152, 11=335986, 12=98355, 13=107223, 14=31219, 15=63645, 16=21045, 17=107235, 18=38527, 19=54416, 20=278324, 21=168395, 22=37496, 23=94690, 24=240179, 25=479666, 26=135806, 27=135855, 28=377429, 29=32189, 30=349057, 31=541494, 32=54416, 33=492615, 34=95813, 35=316552, 36=980226, 37=54416, 38=54416, 39=105387, 40=1370654, 41=107135, 42=46191, 43=359597, 44=374755, 45=316552, 46=107223, 47=271311, 48=316552, 49=389854, 50=681950, 51=501343, 52=160661, 53=382172, 54=46179, 55=29067, 56=352436, 57=267679, 58=349768, 59=253933, 60=54416, 61=299389, 62=46167, 63=284285, 64=682795, 65=399526, 66=541242, 67=49512, 68=52072, 69=54596, 70=370348, 71=267679, 72=595653, 73=359573, 74=349756, 75=2740792, 76=320942, 77=382149, 78=107211, 79=798944, 80=135670, 81=168419, 82=341605, 83=293404, 84=168419, 85=629962, 86=365049, 87=365291, 88=698101, 89=29079, 90=389660, 91=204551, 92=1276259, 93=45059, 94=168395, 95=547196, 96=567585, 97=324527, 98=46179, 99=499098, 100=59000, 101=505764, 102=382160, 103=107223, 104=399368, 105=115375, 106=32177, 107=349744, 108=362044, 109=168419, 110=63645, 111=270696, 112=729357, 113=384253, 114=102361, 115=26891, 116=199798, 117=241898, 118=462117, 119=68391"}
erigon | {"block":82140206,"err":"invalid block, txnIdx=120, gas used by execution: 35602767, in header: 35602803, headerNum=82140206, 3eca3912badb9d01e4d47e77124075bbf2dea1f411854a9afeb4794e560cb7b9","header-hash":"0x3eca3912badb9d01e4d47e77124075bbf2dea1f411854a9afeb4794e560cb7b9","inMem":false,"lvl":"warn","msg":"[4/6 Execution] Execution failed","t":"2026-01-26T21:41:35.08905117Z","txNum":6478220426}
erigon | {"lvl":"warn","msg":"no unwindable block found from changesets, falling back to latest with commitment","t":"2026-01-26T21:41:35.08907513Z"}
erigon | {"alloc":"37.7GB","blk":82140205,"blk/s":"7.6","blks":130,"buf":"12.0MB/4.0GB","gas/s":"227.71M","inMem":false,"lvl":"info","msg":"[4/6 Execution] Done","step":"4146.1","stepsInDB":"0.00","sys":"78.2GB","t":"2026-01-26T21:41:35.089630437Z","tx/s":"965","txs":16581}
erigon | {"block":0,"in":"1m37.214755871s","lvl":"info","msg":"[4/6 Execution] DONE","t":"2026-01-26T21:41:35.089662857Z"}
erigon | {"err":"updateForkChoice: invalid block, txnIdx=120, gas used by execution: 35602767, in header: 35602803, headerNum=82140206, 3eca3912badb9d01e4d47e77124075bbf2dea1f411854a9afeb4794e560cb7b9","hash":"0x3ec8d2b57c5c1d6e6577ac7e7012581a35b5359ec31332bafa81d408ef7630cd","lvl":"warn","msg":"Cannot update chain head","t":"2026-01-26T21:41:35.089769156Z"}
erigon | {"err":"fork choice update bad block: status=1, validationErr='updateForkChoice: invalid block, txnIdx=120, gas used by execution: 35602767, in header: 35602803, headerNum=82140206, 3eca3912badb9d01e4d47e77124075bbf2dea1f411854a9afeb4794e560cb7b9'","latestValidHash":"0xa9c28ce2141b56c474f1dc504bee9b01eb1bd7d1a507580d5519d4437a97de1b","lvl":"eror","msg":"failed to update fork choice","t":"2026-01-26T21:41:35.089859816Z"}
erigon | {"execErr":"fork choice update bad block: status=1, validationErr='updateForkChoice: invalid block, txnIdx=120, gas used by execution: 35602767, in header: 35602803, headerNum=82140206, 3eca3912badb9d01e4d47e77124075bbf2dea1f411854a9afeb4794e560cb7b9'","lastCorrectTipHash":"0xb246f3d13b4e252734c8c3ea9236a2637b52f95b1219736bd1a20c50a132ccdf","lastCorrectTipNum":82148999,"lvl":"eror","msg":"[sync] waypoint execution err","t":"2026-01-26T21:41:35.089995705Z"}
erigon | {"blockNum":82148999,"lvl":"info","msg":"[bridge] unwinding","t":"2026-01-26T21:41:35.090034235Z"}
erigon | {"lvl":"info","msg":"[sync] sync service component stopped","t":"2026-01-26T21:41:38.090562324Z"}
erigon | {"err":"pos sync failed: unwind blockNumber is too far back: first=82149008, unwind=82148999: unexpected bad block at finalized waypoint: fork choice update bad block: status=1, validationErr='updateForkChoice: invalid block, txnIdx=120, gas used by execution: 35602767, in header: 35602803, headerNum=82140206, 3eca3912badb9d01e4d47e77124075bbf2dea1f411854a9afeb4794e560cb7b9'","lvl":"eror","msg":"[polygon.sync] crashed - stopping node","t":"2026-01-26T21:41:38.090667964Z"}

I tried to unwind vie integration tool, and clear bad blocks, but nothing helped.

Any ideas why? And how to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions