-
Notifications
You must be signed in to change notification settings - Fork 95
feat: [3/4] partial storage map queries #1428
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
Conversation
c5f05b6 to
5391d24
Compare
…to bernhard-partial-storage-map-queries
bobbinth
left a comment
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.
Looks good! Thank you. It seems like some of the changes from the latest review got reverted and some comments that were marked as resolved were not resolved. Other than that, I think we are pretty close.
Actually - ignore this review from me as I reviewed before realizing that there are still some merge conflicts with the base branch. Let's resolve the conflicts and then I can review again. |
bobbinth
left a comment
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.
Looks good! Thank you. I left some more comments inline - once these are addressed, we should be good to merge.
Also, there is a small remaining merge conflict (I think the function just needs to be removed).
crates/proto/src/domain/account.rs
Outdated
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.
nit (and not from this PR): the "account storage map details" section is defined below (under line 471) - so, it is a bit odd to have this impl here rather than in that section.
Migration of #1158
Targets #1394
Outstanding work:
Split #1178 into a serialization and usage piece, which can replace the current naiive serialization to a byte blob, but use a full PartialSmt protobuf representation
Scope
Implements the API to query partial storage maps based on an naiive approach (collecting SmtProofs, one per leaf).
Out of scope
Any optimization as outline by #1178 - this is follow-up material.