This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 857
MPT StorageDoesNotExist #1699
Merged
Merged
MPT StorageDoesNotExist #1699
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
61b345f
StorageDoesNotExist witness for proof of length 0
miha-stopar 0197485
NonExistingStorageProof parent is nil
miha-stopar b55f3fd
NonExistingStorageProof for empty trie
miha-stopar e5e18ed
NonExistingStorageProof: compared to empty trie
miha-stopar 0ba6875
NonExistingAcount constraints for empty or one leaf trie
miha-stopar cef534e
witness_row.rs docs
miha-stopar 5aa49c7
Resolved an issue with non-existing proof lookups for wrong leaf cases
miha-stopar 3d504b3
gofmt
miha-stopar 1bf654c
Account leaf: marking constraints as in the specs
miha-stopar 3e926b1
empty_trie_word function removed
miha-stopar a56c0f4
prepare witness: fix when determining whether the node is extension node
miha-stopar ab72325
gofmt
miha-stopar 0a52120
cargo fmt
miha-stopar b0b9f1a
Comments, renaming
miha-stopar c668667
Fix for TestExtensionAddedInFirstStorageLevelTwoKeyBytes
miha-stopar cc98424
Old parameters branchC16, branchC1 removed - used before refactoring
miha-stopar 7d0c5a8
Merge branch 'main' into mpt-storage-not-exist
miha-stopar a7dab6f
cargo fmt
miha-stopar f11b183
Merge branch 'main' into mpt-storage-not-exist
miha-stopar 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
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.
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.
Can you confirm if we can set
isExtension
like the following?If that is the case, we can set
isExtension
at the earliest possible line. We don't have to mutate it in multiple places.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.
We need to know whether in the previous iteration of the loop there was an extension node - see:
This is why
isExtension
is set tofalse
only here (after one iteration). Does it make sense?However, when inspecting this I realized there were some leftovers from before refactoring, I removed them in the last commit: cc98424
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.
That makes sense to me; thanks for elaborating on this.