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

Enable getting a proof for non-current account states #527

Open
igamigo opened this issue Oct 24, 2024 · 1 comment
Open

Enable getting a proof for non-current account states #527

igamigo opened this issue Oct 24, 2024 · 1 comment
Milestone

Comments

@igamigo
Copy link
Collaborator

igamigo commented Oct 24, 2024

Currently, the GetAccountProofs RPC method provides a way to retrieve public account data, alongside a merkle proof of the account being included in a block. Specifically, you can get the account's header representing the account's state, and an account storage header, which contains all top-level (meaning, either values or roots of maps) elements.

This proof is currently being generated exclusively for the chain tip. However, realistically, a user will not always have the latest block when executing a transaction that uses FPIs. For this, the current endpoint could be updated to return proofs for an arbitrary block (close to the chain tip), making transaction execution easier to set up on the user side.

@bobbinth
Copy link
Contributor

I think the same strategy should be applied to the GetAccountDetailsRequest request. Though, maybe this should be a separate issue.

@bobbinth bobbinth added this to the v0.7 milestone Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants