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

move proof building before tree root computation #517

Open
wants to merge 4 commits into
base: kaustinen-with-shapella
Choose a base branch
from

Conversation

gballet
Copy link
Owner

@gballet gballet commented Oct 22, 2024

This is the first of a series of improvements to proof-building peformance: start building the proof before the root hash is computed, so that the pre tree doesn't have to be reloaded from disk.

In its current state, the post values are missing, which breaks the state diff generation. Another helper function needs to be added to do that, so that we can add the post state as well.

@gballet gballet force-pushed the move-proof-building-before-root-computation branch from 22c2fec to f7274e1 Compare October 24, 2024 11:40
Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
@gballet gballet force-pushed the move-proof-building-before-root-computation branch from f7274e1 to 0fbe770 Compare October 24, 2024 11:44
@gballet gballet marked this pull request as ready for review October 24, 2024 11:46
Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
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