Skip to content

Query Protobuf Migration #5921

@aaronc

Description

Summary

  1. Following the specification outlined in ADR 021 - Protocol Buffer Query Support #5894, for each module:
  • implement a Query gRPC service definition along with google.api.http REST routes in types.proto
  • implement the QueryServer and wire it up to the app module (after GRPC querier init and bank #5953 is merged)
  • LEAVE the existing querier and REST routes in place and mark them as deprecated (to be removed after v0.40) so that block explorers do not break and have time to migrate
  • follow pagination guidelines addressed in Efficient Querier Pagination #6191

Query service:

CLI query commands:
Some may be blocked on #6571.

  1. Wire up gRPC + grpc-gateway + grpc-web proxy
  1. add grpc-gateway REST annotations

All tackled in #6918:

  • add google.api.http proto files
  • x/bank
  • x/auth
  • x/distribution
  • x/evidence
  • x/mint
  • x/gov
  • x/slashing
  • x/staking
  • x/upgrade
  • x/ibc
  • x/ibc-transfer

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions