-
Notifications
You must be signed in to change notification settings - Fork 122
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
feat(trie): Implement parity trie crate #3390
Closed
Closed
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
5ecc13a
feat(trie): Add trie v1 new headers support
dimartiro b2b3944
Refa: rename variants following substrate names
dimartiro f4ef2a9
feat(trie): Decode nodes with hashed values
dimartiro 7f72f43
Add todo reminders
dimartiro 894d9b7
feat(trie): Encode new node headers
dimartiro 4ff225a
feat(trie): Add encode node with hashed values impl
dimartiro 43f4f41
fix(trie): Decode hashed value
dimartiro e0f7571
feat(trie): Add short hashed values checks
dimartiro 819792b
feat(trie): Add encode tests
dimartiro e7b4360
feat(trie): One more test to cover all lines
dimartiro 7dc48b7
fix(trie): Improve error messages
dimartiro 813413f
fix(trie/proof): Get value from hashed node
dimartiro d415a7e
fix tests
dimartiro ada5ad2
fix linting
dimartiro b69428d
feat(trie/proof): Use predifined nodes DB
dimartiro ce19d2c
feat(trie/proof): Add copyright
dimartiro 9b17564
fix(trie/proof): tests
dimartiro 628aa4e
fix(trie/proof): Fix verify proof
dimartiro 78106c5
fix(trie/proof): Add mock
dimartiro 9376bf7
Fix mock and add copyright
dimartiro 2f0bbd4
Adds copyright
dimartiro c285da9
Fix type error
dimartiro 6ce3e01
Remove use of experiment libs
dimartiro d66ff06
PR comments
dimartiro 85f7523
Idiomatic comments
dimartiro d1441b7
Use empty variant bits instead plain bits
dimartiro 9fb4d9c
Mock trie db
dimartiro 98a87cf
fix(trie): Fix node copy & improve test coverage
dimartiro 7ffd9e5
feat(trie): TrieDB and lookup refactor
dimartiro 0390ade
Change constant
dimartiro 1ba7e9c
feat(trie): Add new lookup method
dimartiro c2ad381
Merge remote-tracking branch 'origin/development' into diego/trieV1/r…
dimartiro 9ab4b48
fix(trie): interfaces conflict
dimartiro d31cad7
Merge remote-tracking branch 'origin/development' into diego/trieV1/r…
dimartiro 36251ef
fix(trie): Add missing copyrights
dimartiro ac475c7
fix(trie): Linting
dimartiro de4c7eb
fix(trie): Fix key conversion
dimartiro afcc752
fix(trie): Refactor
dimartiro 0f892c8
fix(trie): Linting
dimartiro fc531c6
feat(trie): Add lookup with lazy loading
dimartiro a8ee36e
Resolve deepsource checks
dimartiro 42fc93f
Removes trielayout
dimartiro 5440eeb
Merge remote-tracking branch 'origin/development' into diego/trieV1/r…
dimartiro e284a01
Unexport unnecesary exported functions
dimartiro 1e48ee3
refactor(trie): Move to pkg folder
dimartiro b443cd1
Merge remote-tracking branch 'origin/development' into diego/trieV1/r…
dimartiro 20a7ea7
Adds copyright
dimartiro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we do a length check here?