Skip to content

Commit

Permalink
feat: gRPC query for operator and chain configuration (backport #13485)…
Browse files Browse the repository at this point in the history
… (#13497)

* feat: gRPC query for operator and chain configuration (#13485)

(cherry picked from commit c60c556)

# Conflicts:
#	CHANGELOG.md
#	UPGRADING.md
#	api/cosmos/auth/v1beta1/query_grpc.pb.go
#	api/cosmos/bank/v1beta1/query.pulsar.go
#	runtime/app.go
#	server/start.go
#	simapp/app_legacy.go
#	x/bank/types/query.pb.go

* updates

* updates

* updates

* updates

* updates

* updates

* updates

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
  • Loading branch information
3 people committed Oct 11, 2022
1 parent f877870 commit 37912ec
Show file tree
Hide file tree
Showing 11 changed files with 799 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -37,6 +37,10 @@ Ref: https://keepachangelog.com/en/1.0.0/

## [Unreleased]

### Features

* (grpc) [#13485](https://github.com/cosmos/cosmos-sdk/pull/13485) Implement a new gRPC query, `/cosmos/base/node/v1beta1/config`, which provides operator configuration.

### Improvements

* (auth) [#13460](https://github.com/cosmos/cosmos-sdk/pull/13460) The `q auth address-by-id` CLI command has been renamed to `q auth address-by-acc-num` to be more explicit. However, the old `address-by-id` version is still kept as an alias, for backwards compatibility.
Expand Down
8 changes: 8 additions & 0 deletions UPGRADING.md
Expand Up @@ -39,6 +39,14 @@ Additionally, new packages have been introduced in order to further split the co
* `authz.NewMsgGrant` `expiration` is now a pointer. When `nil` is used, then no expiration will be set (grant won't expire).
* `authz.NewGrant` takes a new argument: block time, to correctly validate expire time.

### gRPC

A new gRPC service, `proto/cosmos/base/node/v1beta1/query.proto`, has been introduced
which exposes various operator configuration. App developers should be sure to
register the service with the gRPC-gateway service via
`nodeservice.RegisterGRPCGatewayRoutes` in their application construction, which
is typically found in `RegisterAPIRoutes`.

### Keyring

The keyring has been refactored in v0.46.
Expand Down

0 comments on commit 37912ec

Please sign in to comment.