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

refactor: move trieDB creation outside of block production loop #354

Merged

Conversation

gballet
Copy link
Owner

@gballet gballet commented Jan 31, 2024

The triedb was recreated at each block, which is incorrect and inefficient. Move it out of the loop in chain_makers.go

@gballet gballet changed the title refactor: move trieDB creation outside of block-making loop refactor: move trieDB creation outside of block production loop Jan 31, 2024
@gballet gballet requested a review from jsign January 31, 2024 09:58
@gballet gballet added this to the verkle-gen-devnet-3 milestone Jan 31, 2024
Copy link
Collaborator

@jsign jsign left a comment

Choose a reason for hiding this comment

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

LGTM. (Failed test is the flaky one)

@gballet gballet merged commit 5c269ed into kaustinen-with-shapella Feb 2, 2024
2 of 3 checks passed
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.

None yet

2 participants