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

blockchain: ensure state exists for prefetcher #20627

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Feb 5, 2020

This PR fixes an issue with the prefetcher, where several things were not properly given to the closure. WHen importing blocks very fast, e.g. import blocks.rlp on goerli, it could happen that the prefetcher closure did not start until after the state was already pruned, leading to a panic.

Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karalabe karalabe added this to the 1.9.11 milestone Feb 14, 2020
@karalabe karalabe merged commit 8556905 into ethereum:master Feb 14, 2020
enriquefynn pushed a commit to enriquefynn/go-ethereum that referenced this pull request Mar 10, 2021
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

Successfully merging this pull request may close these issues.

2 participants