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

BlockNotfound in treestate warning #10179

Closed
Tracked by #8742
mattsse opened this issue Aug 7, 2024 · 0 comments · Fixed by #10232
Closed
Tracked by #8742

BlockNotfound in treestate warning #10179

mattsse opened this issue Aug 7, 2024 · 0 comments · Fixed by #10232
Labels
C-bug An unexpected or incorrect behavior

Comments

@mattsse
Copy link
Collaborator

mattsse commented Aug 7, 2024

2024-08-07T18:16:42.735113Z TRACE on_downloaded_block{block_hash=0x7fff8d4c9889dfa5b656014e5c0874f443c6d14f0800a2a93616f5da45c5e5e5 block_num=2087329}:try_connect_buffered_blocks{parent=BlockNumHash { number: 2087329, hash: 0x7fff8d4c9889dfa5b656014e5c0874f443c6d14f0800a2a93616f5da45c5e5e5 }}: engine: found canonical state for block in memory hash=0xd92770a3f84637c3f26985b96e86ba30eedef2689a71e2f9a9ee9c10ffb3604b
2024-08-07T18:16:43.066409Z DEBUG on_downloaded_block{block_hash=0x7fff8d4c9889dfa5b656014e5c0874f443c6d14f0800a2a93616f5da45c5e5e5 block_num=2087329}:try_connect_buffered_blocks{parent=BlockNumHash { number: 2087329, hash: 0x7fff8d4c9889dfa5b656014e5c0874f443c6d14f0800a2a93616f5da45c5e5e5 }}: engine: connected buffered block child=BlockNumHash { number: 2087355, hash: 0x50e708a599e7712aeaf1df12659c668d35d8f1b056a5549937e117ece1319f0b } res=Inserted(Valid(Canonical))
2024-08-07T18:16:43.066444Z WARN on_downloaded_block{block_hash=0x7fff8d4c9889dfa5b656014e5c0874f443c6d14f0800a2a93616f5da45c5e5e5 block_num=2087329}:try_connect_buffered_blocks{parent=BlockNumHash { number: 2087329, hash: 0x7fff8d4c9889dfa5b656014e5c0874f443c6d14f0800a2a93616f5da45c5e5e5 }}: consensus::engine: Block not found in TreeState while walking back fork invalid_hash=0x2c776e4e1944d55e188166b5abd5ccdc75e587071681e419aed84d62b2185d9a

This happened right after backfill sync finished and we started executing downloading blocks

// current hash not found in memory
warn!(target: "consensus::engine", invalid_hash=?current_hash, "Block not found in TreeState while walking back fork");
return None;

perhaps this is related to #10131 @fgimenez ?

@mattsse mattsse changed the title BlockNotfound warning on forkchoice upda BlockNotfound in treestate warning Aug 7, 2024
@mattsse mattsse added the C-bug An unexpected or incorrect behavior label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug An unexpected or incorrect behavior
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant