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

Add storage_root to contracts leaf data #265

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Add storage_root to contracts leaf data #265

merged 1 commit into from
Jan 16, 2025

Conversation

ArielElp
Copy link
Collaborator

@ArielElp ArielElp commented Jan 12, 2025

In some usecases, a storage proof for a contract is required without any particular storage keys, e.g. in the case of deployment with no storage updates. The current response structure is missing the contract storage trie root for those cases (it only exists implicitly in the response upon requesting a proof for a specific storage slot).

To remedy this, we add the storage_root property to contract_leaves_data.


This change is Reviewable

@ArielElp ArielElp changed the base branch from master to v0.8.0 January 12, 2025 10:17
Copy link
Collaborator Author

@ArielElp ArielElp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ArielElp)

@ArielElp ArielElp merged commit 330ab17 into v0.8.0 Jan 16, 2025
1 check passed
@ArielElp ArielElp deleted the contract_root branch January 16, 2025 13:47
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