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

Validate the missing account catchup response (proof) matches the requested account #2063

Open
imabdulbasit opened this issue Sep 25, 2024 · 0 comments

Comments

@imabdulbasit
Copy link
Contributor

imabdulbasit commented Sep 25, 2024

Currently, we request a missing account proof from the state peer. The state peer's response (AccountQueryData) contains the balance and proof. The proof is validated against the fee merkle tree root and returned from try_fetch_account(). However, we are missing a check to ensure that the proof corresponds to the requested account

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

No branches or pull requests

1 participant