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

chore(lib/trie): remove Store method #2922

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Conversation

qdm12
Copy link
Contributor

@qdm12 qdm12 commented Nov 4, 2022

Changes

  • WriteDirty is just the clever version of Store, where we write only nodes that got changed in-memory from the version we have in the database.
  • This also ensures all the nodes are set as dirty correctly

Tests

go test -tags integration github.com/ChainSafe/gossamer/...

Issues

Trying to fix up strange root hash mismatch panic found in #2919

Primary Reviewer

@timwu20

@qdm12 qdm12 marked this pull request as ready for review November 4, 2022 11:51
@qdm12 qdm12 added the PR Easy label Nov 4, 2022
Base automatically changed from qdm12/trie/dirty-review to development November 9, 2022 09:09
dot/state/service_test.go Show resolved Hide resolved
- `WriteDirty` is just the clever version of `Store`
- This ensures all the nodes are set as dirty correctly
@qdm12 qdm12 merged commit b2a8a86 into development Nov 15, 2022
@qdm12 qdm12 deleted the qdm12/trie/remove-store branch November 15, 2022 12:53
@github-actions
Copy link

🎉 This PR is included in version 0.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants