Skip to content

Conversation

@QuantumExplorer
Copy link

@QuantumExplorer QuantumExplorer commented Aug 19, 2021

Using verify query on light clients would require them to be supplied with the expected root hash, in addition to the proof, keys and signature. Since the proof already contains the root_hash, and any other root hash wouldn't match for the signature, it would be optimal not to send it.

The change requested adds a new function that executes the proof and returns the root hash and the elements. That root hash can then be verified by a signature scheme.

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.

2 participants