Skip to content

Commit

Permalink
Bump Cosmos-SDK to v0.46.3-pio-1 (from v0.46.2-pio-1). (#1173) (#1182)
Browse files Browse the repository at this point in the history
* Use local version of the sdk and include ics replace.

* Add some changelog entries and fix the v1.13.0 entry to be reference v1.13.0-rc1.

* update the require line for cosmos-sdk to say v0.46.3 (even though we replace it below) just to make it closer to the truth.

* Enable the node query service.

* Remove my local sdk replace line and go back to the usual one. Bump Cosmos-sdk to v0.46.3-pio-1 (from v0.46.2-pio-1).

* Add links to the PR (in the changelog).

* Add a note in go.mod to update proto-update-deps.sh when updating the ics23 replace line, and hard-code that script to v0.7.0 for proofs.proto.

* make proto-update-deps

* Update swagger stuff (including third party).
  • Loading branch information
SpicyLemon authored Oct 21, 2022
1 parent 40b8d83 commit 8366ac4
Show file tree
Hide file tree
Showing 21 changed files with 708 additions and 1,253 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,23 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Features

* Add restricted marker transfer over ibc support [#1136](https://github.com/provenance-io/provenance/issues/1136)
* Enable the node query service [PR 1173](https://github.com/provenance-io/provenance/pull/1173)

### Improvements

* Updated name restrictions documentation [#808](https://github.com/provenance-io/provenance/issues/808)
* Updated Cosmos-SDK to v0.46.3-pio-1 (from v0.46.2-pio-2) [PR 1173](https://github.com/provenance-io/provenance/pull/1173)

### Bug Fixes

* Bump wasmd to our v0.29.0-pio-1 (from v0.28.0-0.46sdk-notional) [PR 1148](https://github.com/provenance-io/provenance/pull/1148).
This fixes an erroneous attempt to migrate the wasmd module.
* Fixed outdated devnet docker configurations [#1062](https://github.com/provenance-io/provenance/issues/1062)
* Fix the [Dragonberry security advisory](https://forum.cosmos.network/t/ibc-security-advisory-dragonberry/7702) [PR 1173](https://github.com/provenance-io/provenance/pull/1173)

---

## [v1.13.0](https://github.com/provenance-io/provenance/releases/tag/v1.13.0) - 2022-10-04
## [v1.13.0-rc1](https://github.com/provenance-io/provenance/releases/tag/v1.13.0-rc1) - 2022-10-04

### Improvements

Expand Down
10 changes: 10 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (

"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node"
"github.com/cosmos/cosmos-sdk/client/grpc/tmservice"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
Expand Down Expand Up @@ -960,9 +961,13 @@ func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig
clientCtx := apiSvr.ClientCtx
// Register new tx routes from grpc-gateway.
authtx.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter)

// Register new tendermint queries routes from grpc-gateway.
tmservice.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter)

// Register node gRPC service for grpc-gateway.
nodeservice.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter)

// Register grpc-gateway routes for all modules.
ModuleBasics.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter)

Expand All @@ -982,6 +987,11 @@ func (app *App) RegisterTendermintService(clientCtx client.Context) {
tmservice.RegisterTendermintService(clientCtx, app.BaseApp.GRPCQueryRouter(), app.interfaceRegistry, app.Query)
}

// RegisterNodeService registers the node query server.
func (app *App) RegisterNodeService(clientCtx client.Context) {
nodeservice.RegisterNodeService(clientCtx, app.GRPCQueryRouter())
}

// RegisterSwaggerAPI registers swagger route with API Server
func RegisterSwaggerAPI(ctx client.Context, rtr *mux.Router) {
statikFS, err := fs.New()
Expand Down
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

Loading

0 comments on commit 8366ac4

Please sign in to comment.