-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
Ask a question about the code in func SetHead #20224
Labels
Comments
This is a valid issue. The code originates form before we had (in-memory) state pruning, so a missing state meant fast sync + pre-sync reset. Now, with pruning, it can indeed just happen that the state is missing for this particular block, but not for some previous ones. |
Please allow me to fix this |
Sure! |
Fixed by #21409. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to ask, why here not try to repair the chain (call the func repair)?. Just reset to genesisBlock?
The text was updated successfully, but these errors were encountered: