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

eth: fix tracing state retrieval if requesting the non-dirty genesis #22629

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

karalabe
Copy link
Member

@karalabe karalabe commented Apr 7, 2021

When tracing based on a clean database (chain tracing), we removed the short-circuit that created a statedb on top of the starting block. That fix was needed to not process blocks on top of the live pruner.

However, we still do need to check if we can make a statedb on top of the starting block using only the disk database. Otherwise a chain tracer starting from the genesis would fail as it would try to reconstruct the genesis state from it's "parent" from the get to.

@karalabe karalabe merged commit 264fff7 into ethereum:master Apr 7, 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.

1 participant