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 getStorageProof endpoint #227

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Add getStorageProof endpoint #227

merged 1 commit into from
Sep 17, 2024

Conversation

ArielElp
Copy link
Collaborator

@ArielElp ArielElp commented Sep 17, 2024

The Starknet state commitment consists of three Merkle-Patricia tries (read more here) :

  • global state (leaf is a contract address)
  • classes (leaf is the class hash)
  • contracts storages (tree per contract)

This endpoint should return the data required to provide storage proofs in each of the relevant trees. Known use cases include:

  • storage proofs
  • running the starknet OS

This change is Reviewable

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)

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