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

ERROR Unexpected error when getting snapshot error="unknown ancestor" blockNumber=39,378,510 blockHash=5a9470..0f6f68 #2529

Closed
osizadmin opened this issue Jun 21, 2024 · 7 comments
Assignees

Comments

@osizadmin
Copy link

I install new wallet in new server with version ubuntu 22 & bsc Releases v1.4.10. its showing this error.

Error Alert: Some nodes on the Binance Smart Chain (BSC) network are encountering unexpected errors related to block decoding and an "unknown ancestor" issue. Here are the details:
Error Message: ERROR[06-21|14:46:02.948] Unexpected error when getting snapshot error="unknown ancestor" blockNumber=39,378,603 blockHash=e5401d..7bbb2d
Additional Errors: WARN [06-21|14:46:03.020] Failed to decode block body block=39,288,647 error=EOF

WARN [06-21|14:46:03.130] Unclean shutdown detected booted=2024-06-21T12:21:44+0000 age=2h24m19s

Please let me know how to resolve this

@jingjunLi
Copy link
Contributor

Hi @osizadmin, you can refer to this issue for more details: #2528 (comment).

@jingjunLi jingjunLi self-assigned this Jun 24, 2024
@osizadmin
Copy link
Author

Hello jingjunLi,

Thanks for the details. I hope my issue has been resolved.

@osizadmin
Copy link
Author

Hello Team,

Now currentBlock: 39970716
highestBlock: 39970455,

eth.syncing.highestBlock - eth.syncing.currentBlock
-302

currentBlock (39970716) is greater than highestBlock

please let me know how to resolve this?

@osizadmin osizadmin reopened this Jun 27, 2024
@jingjunLi
Copy link
Contributor

when txIndex is in progress it is not synced yet, the highestBlock may less than the currentBlock. txIndex could take a few hours.

@zzzckck
Copy link
Collaborator

zzzckck commented Jul 8, 2024

https://github.com/bnb-chain/bsc/pull/862/files#diff-3c2d807e8f58e4a69928b183eb41bdf8f33b758bc87be98b5821dbb0887bb5eeR456
image
@joeylichang can we just remove the following part of code in function: gcKVStore(...)?

// Step into the future and delete and dangling side chains
if frozen > 0 {
...
}

@zzzckck
Copy link
Collaborator

zzzckck commented Jul 11, 2024

fixed in: #2562

@zzzckck
Copy link
Collaborator

zzzckck commented Jul 22, 2024

https://github.com/bnb-chain/bsc/pull/862/files#diff-3c2d807e8f58e4a69928b183eb41bdf8f33b758bc87be98b5821dbb0887bb5eeR456 image @joeylichang can we just remove the following part of code in function: gcKVStore(...)?

// Step into the future and delete and dangling side chains
if frozen > 0 {
...
}

removed in this PR: https://github.com/bnb-chain/bsc/pull/2582/files

@zzzckck zzzckck closed this as completed Jul 22, 2024
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

4 participants