Skip to content

Conversation

@drahnr
Copy link
Contributor

@drahnr drahnr commented Dec 4, 2025

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.

@drahnr drahnr force-pushed the bernhard-partial-storage-map-queries branch 2 times, most recently from c5f05b6 to 5391d24 Compare December 4, 2025 23:03
Copy link
Contributor

@bobbinth bobbinth left a 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.

@bobbinth
Copy link
Contributor

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.

Base automatically changed from bernhard-integrate-smtforest to next January 12, 2026 07:53
Copy link
Contributor

@bobbinth bobbinth left a 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).

Comment on lines 191 to 192
Copy link
Contributor

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.

@drahnr drahnr merged commit d0df78e into next Jan 14, 2026
18 checks passed
@drahnr drahnr deleted the bernhard-partial-storage-map-queries branch January 14, 2026 10:30
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