Skip to content

PersistentBlockCollector: assert on inserting gap#18979

Merged
Giulio2002 merged 3 commits into
mainfrom
alex/asset_caplin_34
Feb 5, 2026
Merged

PersistentBlockCollector: assert on inserting gap#18979
Giulio2002 merged 3 commits into
mainfrom
alex/asset_caplin_34

Conversation

@AskAlexSharov

@AskAlexSharov AskAlexSharov commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator

reason: after rm datadir/chaindata
Can's sync to chain tip - see:

parent's total difficulty not found with hash 29a3136faf8197442a56e24d8840fd969f6edcf2c82fd60532de836cc7c04d15 and height 19753143: <nil>

Maybe it happening after next steps:

rm datadir/chaindata
erigon seg rm-state --latest --datadir your

adding earlier assert:

WARN[02-05|12:12:49.597] [BlockCollector] inserting              block=19683386
WARN[02-05|12:12:49.597] [BlockCollector] inserting              block=19684918
panic: BlockCollector inserting gap: 19683386 -> 19684918

@Giulio2002 Giulio2002 merged commit cb26808 into main Feb 5, 2026
18 checks passed
@Giulio2002 Giulio2002 deleted the alex/asset_caplin_34 branch February 5, 2026 23:39
mattevans added a commit to ethpandaops/erigone-legacy that referenced this pull request Feb 6, 2026
* upstream/main: (91 commits)
  perf(cl/block_collector): optimize encodeBlock buffer allocation (erigontech#18980)
  db/kv: fix code cache hash key computation (erigontech#18965)
  Fix hive tests 0302 (erigontech#18986)
  perf(execution/types): optimize EIP-7685 request encoding (erigontech#18985)
  refactor: replace interface{} with any for clarity and modernization (erigontech#18978)
  refactor: replace interface{} with any for clarity and modernization (erigontech#18977)
  Rework Dockerhub API call authorization mechanism. (erigontech#18989)
  claude: add erigon-network-ports skill (erigontech#18992)
  PersistentBlockCollector: assert on inserting gap (erigontech#18979)
  qa-tests: add Geth test to the RPC Historic Performance Tests (erigontech#18895)
  a bit less debug logs (erigontech#18974)
  ProcessFrozenBlocks: to support `isDomainAheadOfBlocks` (which we have in `fcu`) (erigontech#18981)
  qa-tests: fix summary in RPC Performance Tests Latest (erigontech#18984)
  handle edge case for genesis block in SeekCommitment (erigontech#18960)
  db/preverified: remove redundant assertSorted in Get (erigontech#18967)
  txnprovider/shutter: fix identity preimage DecodeSSZ error length (erigontech#18938)
  perf(cl/sentinel): use stack allocation for light_client response prefix (erigontech#18961)
  Add debug.SetupSimple, and improve torrent client status info log (erigontech#18953)
  Refactor worker count calculation to remove redundant bounds check (erigontech#18415)
  fix: remove duplicate TxPoolBlobPriceBumpFlag check in setTxPool (erigontech#18472)
  ...
Giulio2002 pushed a commit that referenced this pull request Feb 6, 2026
reason: after `rm datadir/chaindata` 
Can's sync to chain tip - see: 
```
parent's total difficulty not found with hash 29a3136faf8197442a56e24d8840fd969f6edcf2c82fd60532de836cc7c04d15 and height 19753143: <nil>
```
Maybe it happening after next steps:
```
rm datadir/chaindata
erigon seg rm-state --latest --datadir your
```

adding earlier assert:
```
WARN[02-05|12:12:49.597] [BlockCollector] inserting              block=19683386
WARN[02-05|12:12:49.597] [BlockCollector] inserting              block=19684918
panic: BlockCollector inserting gap: 19683386 -> 19684918
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants