Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chiado node after several early restarts crashed Old Headers with orphaned block exception #8029

Open
kamilchodola opened this issue Jan 8, 2025 · 0 comments
Milestone

Comments

@kamilchodola
Copy link
Contributor

After few restarts at very early stage of chiado node suddenly my OldHeaders sync crashed with an exception:

System.InvalidOperationException: An orphaned block on the chain Hash: 0xf37b46445a182df8463f6527216324c37e03f2bbabc2215bd431bbfe35936063
Number: 13630060
Parent: 0xc4bed041a9c2e9be13f7f519730e2281d3ce3a0595613cd7b035714ac927747c
Beneficiary: 0x2408f8a0475d3823a1f4a4bfd86b2a4b80e6edb6
Gas Limit: 17099764
Gas Used: 29289
Timestamp: 1735859005
Extra Data: 4e65746865726d696e64
Difficulty: 0
Mix Hash: 0x15d7155b93d730602caef25c6bb11f33678d9d69e962c47d9ef0a800d25900b3
Nonce: 0
Uncles Hash: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
Tx Root: 0x41899120ceccd9792baaad3ee7d9146582f64dd95434613ab7c88590970eb2ed
Receipts Root: 0x0c6e5517da8c4523421f7646f9f15baa2cde45e40e69bee240bf9ac17a3616a2
State Root: 0xfa627d2e6e1b48118c68ee4826e5d3f727619c40678b548ad82ebd6bfad79d4a
BaseFeePerGas: 7
WithdrawalsRoot: 0x65b241d97bf0e7a3ff408f24f24babaa96cdfc7fb976c295e7a3e308990c7d23
ParentBeaconBlockRoot: 0x3a1c35497b7e0f5bdb2fb7b4d7999b91928adbe9798f0d30069e644122ed2908
BlobGasUsed: 0
ExcessBlobGas: 0
IsPostMerge: False
TotalDifficulty: 

   at Nethermind.Blockchain.BlockTree.<SetTotalDifficulty>g__GetParentHeader|127_0(BlockHeader current) in /src/Nethermind/Nethermind.Blockchain/BlockTree.cs:line 1363
   at Nethermind.Blockchain.BlockTree.SetTotalDifficulty(BlockHeader header) in /src/Nethermind/Nethermind.Blockchain/BlockTree.cs:line 1414
   at Nethermind.Blockchain.BlockTree.FindHeader(Hash256 blockHash, BlockTreeLookupOptions options, Nullable`1 blockNumber) in /src/Nethermind/Nethermind.Blockchain/BlockTree.cs:line 485
   at Nethermind.Blockchain.Find.IBlockFinder.FindHeader(Hash256 blockHash, Nullable`1 blockNumber) in /src/Nethermind/Nethermind.Blockchain/Find/IBlockFinder.cs:line 70
   at Nethermind.Synchronization.FastBlocks.HeadersSyncFeed.ProcessPersistedPortion(HeadersSyncBatch batch) in /src/Nethermind/Nethermind.Synchronization/FastBlocks/FastHeadersSyncFeed.cs:line 508
   at Nethermind.Synchronization.FastBlocks.HeadersSyncFeed.ProcessPersistedHeadersOrBuildNewBatch() in /src/Nethermind/Nethermind.Synchronization/FastBlocks/FastHeadersSyncFeed.cs:line 348
   at Nethermind.Synchronization.FastBlocks.HeadersSyncFeed.PrepareRequest(CancellationToken cancellationToken) in /src/Nethermind/Nethermind.Synchronization/FastBlocks/FastHeadersSyncFeed.cs:line 319
   at Nethermind.Synchronization.ParallelSync.SyncDispatcher`1.DispatchLoop(CancellationToken cancellationToken) in /src/Nethermind/Nethermind.Synchronization/ParallelSync/SyncDispatcher.cs:line 112
   at Nethermind.Synchronization.ParallelSync.SyncDispatcher`1.Start(CancellationToken cancellationToken) in /src/Nethermind/Nethermind.Synchronization/ParallelSync/SyncDispatcher.cs:line 76

No following restart helped - just resync started it again.
Reproduced that on at least two nodes.

DEBUG logs:
chiado.logs.txt

@kamilchodola kamilchodola added this to the 1.31.0 milestone Jan 9, 2025
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

No branches or pull requests

1 participant