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

statetrie: trie struct, node structs, and add operation #5767

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bbroder-uji
Copy link
Contributor

This PR adds the trie struct and nodes, plus the add operation to add key/value pairs to the trie.

@bbroder-uji bbroder-uji changed the title trie nodes add oper impl statetrie: trie nodes add oper impl Oct 2, 2023
@bbroder-uji bbroder-uji changed the title statetrie: trie nodes add oper impl statetrie: trie struct, node structs, and add operation Oct 2, 2023
@bbroder-uji
Copy link
Contributor Author

this PR requires #5759 first

@bbroder-uji bbroder-uji mentioned this pull request Nov 9, 2023
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

Attention: 116 lines in your changes are missing coverage. Please review.

Comparison is base (e7aa0d4) 55.95% compared to head (43d40d1) 55.95%.

Files Patch % Lines
crypto/statetrie/branch.go 62.16% 24 Missing and 4 partials ⚠️
crypto/statetrie/ext.go 71.27% 17 Missing and 10 partials ⚠️
crypto/statetrie/stats.go 0.00% 19 Missing ⚠️
crypto/statetrie/nodes.go 0.00% 12 Missing ⚠️
crypto/statetrie/backing.go 54.54% 10 Missing ⚠️
crypto/statetrie/leaf.go 85.91% 10 Missing ⚠️
crypto/statetrie/trie.go 65.51% 5 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5767      +/-   ##
==========================================
- Coverage   55.95%   55.95%   -0.01%     
==========================================
  Files         477      484       +7     
  Lines       67436    67757     +321     
==========================================
+ Hits        37736    37911     +175     
- Misses      27149    27274     +125     
- Partials     2551     2572      +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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