-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
erigon import
does not process PoS blocks
#9179
Comments
Just fyi, when I brought this up in Discord about two months back, we initially suspected it might be related to |
I think the |
Any news about this? We have now converted the rpc-compat tests to use a post-merge chain, and the issue also affects these tests. |
Not yet, sorry, I'll do this asap |
Fixed by PR #9431 |
Very nice! |
@racytech I have redeployed hive1 and hive2 to test this change, but it looks like the issue is not fixed. There is a crash in the import:
|
This crash is still happening. |
It appears that here https://hivetests.ethdevops.io/viewer.html?suiteid=1711397722-d50036babc50796ef1719e295f3b3136.json&suitename=consensus&testid=2&file=%2Fresults%2Ferigon%2Fclient-12ec110ba712b8b92ee6437fe3f0de96b485e7a2ee13e8c2100e0c88c9302063.log it uses Unlike before, the error occurs not before importing PoS blocks but before importing PoW blocks as well. So the error is different this time. |
System information
Erigon version:
v2.56.1
Expected behaviour
erigon import
with a chain file should run all blocks in the file and set the head to the last valid block.Actual behaviour
Running
erigon import chain.rlp
will only process blocks up to the merge. Blocks after the PoS transition are not imported.This issue causes hive test failures. As we are continuing to update more hive tests to a PoS-enabled chain, erigon will not be able to execute those tests. So I'd appreciate getting this fixed.
Steps to reproduce the behaviour
Downloading the test chain:
Initializing the database:
Importing chain.rlp. Note that the import ends at block 72, which is incorrect. The last block
in chain.rlp is block 500.
The text was updated successfully, but these errors were encountered: