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 Proofs: Return proofs in gRPC/REST #185

Open
ashcherbakov opened this issue Jan 17, 2022 · 0 comments
Open

State Proofs: Return proofs in gRPC/REST #185

ashcherbakov opened this issue Jan 17, 2022 · 0 comments

Comments

@ashcherbakov
Copy link
Contributor

ashcherbakov commented Jan 17, 2022

Cosmos-sdk doesn't return any state proofs in gRPC/REST queries, see cosmos/cosmos-sdk#7036.
As REST is supposed to be one of the main ways for communication with nodes, we need to return them.

Options:
O1: Contribute to cosmos-sdk (probably requires communication and check of the design with cosmos maintainers)
O2: Explicitly return state proofs as one of the values in every DCL query response

  • just add this parameter to query.proto for every response and every module
  • generate the response appropriately.
  • An example where a similar approach is used: link and link

Please note, that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant