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

State: StateValidator should verify that content belongs to the canonical chain #1305

Open
morph-dev opened this issue May 22, 2024 · 0 comments

Comments

@morph-dev
Copy link
Collaborator

At the moment, our StateValidator doesn't verify that content value is part of the canonical chain.

The StateContentValue contains the block_hash that we should use to fetch block header. We should also verify that received header is part of the canonical chain.

From header we can get the state_root which is enough to use with the trie proof (which is already implemented).

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