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

feat(graphql): provide states with merkle proof #1996

Open
moreal opened this issue Apr 19, 2023 · 0 comments
Open

feat(graphql): provide states with merkle proof #1996

moreal opened this issue Apr 19, 2023 · 0 comments
Labels
api/graphql enhancement New feature or request help wanted Extra attention is needed

Comments

@moreal
Copy link
Contributor

moreal commented Apr 19, 2023

Users cannot know whether the node lies about states because it doesn't provide Merkle proof. For example, at #1000 block, the state is "YES" but the headless operator can lie it as "NO" if they want.

But users can verify it if there is a Merkle proof and can access block data (in detail, state root hash). You can see the Merkle proof explanation at https://ethereum.org/en/developers/tutorials/merkle-proofs-for-offline-data-integrity/.

@moreal moreal added enhancement New feature or request help wanted Extra attention is needed api/graphql labels Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api/graphql enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant