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

Merkle db cleanup view creation #1934

Merged
merged 6 commits into from
Aug 28, 2023
Merged

Merkle db cleanup view creation #1934

merged 6 commits into from
Aug 28, 2023

Conversation

dboehm-avalabs
Copy link
Contributor

@dboehm-avalabs dboehm-avalabs commented Aug 27, 2023

Remove the mostly duplicate function newUntrackedView from db.go and no longer pass in the root to newTrieView to reduce possibility of calling the function incorrectly with a noncloned/not editable root. Additionally fixed tests that called trieview.insert() directly instead of using NewView since that isn't an accurate usage of views.

@dboehm-avalabs dboehm-avalabs changed the base branch from master to dev August 27, 2023 19:44
@marun marun removed their request for review August 27, 2023 19:55
@danlaine danlaine merged commit 5422b67 into dev Aug 28, 2023
16 checks passed
@danlaine danlaine deleted the MerkleDBCleanupViewCreation branch August 28, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants