Skip to content

Commit

Permalink
Merge branch 'master' into releases/v0.21.x
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yang committed Jun 29, 2023
2 parents 4e30c5a + 82175fd commit 644ebaf
Show file tree
Hide file tree
Showing 8 changed files with 278 additions and 437 deletions.
38 changes: 21 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,32 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## Unreleased

### Bug Fixes

* [#1459](https://github.com/NibiruChain/nibiru/pull/1459) - fix(spot): wire `x/spot` msgService into app router

## [v0.21.0](https://github.com/NibiruChain/nibiru/releases/tag/v0.21.0) - 2023-06-27

### Dependencies

- Bump `robinraju/release-downloader` from 1.6 to 1.8 (#1326)
- Bump `pozetroninc/github-action-get-latest-release` from 0.6.0 to 0.7.0 (#1325)
- Bump `technote-space/get-diff-action` from 4 to 6 (#1327)
- Bump `actions/setup-go` from 3 to 4 (#1324)
- Bump `github.com/docker/distribution` from 2.8.1+incompatible to 2.8.2+incompatible (#1339)
- Bump `github.com/CosmWasm/wasmvm` from 1.2.1 to 1.2.3 (#1354)
- Bump `github.com/spf13/cast` from 1.5.0 to 1.5.1 (#1358)
- Bump `github.com/stretchr/testify` from 1.8.2 to 1.8.4 (#1384, #1435)
- Bump `cosmossdk.io/math` from 1.0.0-beta.6 to 1.0.1 (#1394)
- Bump `google.golang.org/grpc` from 1.53.0 to 1.56.1 (#1395, #1437, #1443)
- Bump `github.com/gin-gonic/gin` from 1.8.1 to 1.9.1 (#1409)
- Bump `github.com/spf13/viper` from 1.15.0 to 1.16.0 (#1436)
- Bump `github.com/prometheus/client_golang` from 1.15.1 to 1.16.0 (#1431)
- Bump `github.com/cosmos/ibc-go/v7` from 7.1.0 to 7.2.0 (#1445)
- Bump `bufbuild/buf-setup-action` from 1.21.0 to 1.22.0 (#1449)
- Bump `google.golang.org/protobuf` from 1.30.0 to 1.31.0 (#1450)
* Bump `robinraju/release-downloader` from 1.6 to 1.8 (#1326)
* Bump `pozetroninc/github-action-get-latest-release` from 0.6.0 to 0.7.0 (#1325)
* Bump `technote-space/get-diff-action` from 4 to 6 (#1327)
* Bump `actions/setup-go` from 3 to 4 (#1324)
* Bump `github.com/docker/distribution` from 2.8.1+incompatible to 2.8.2+incompatible (#1339)
* Bump `github.com/CosmWasm/wasmvm` from 1.2.1 to 1.2.3 (#1354)
* Bump `github.com/spf13/cast` from 1.5.0 to 1.5.1 (#1358)
* Bump `github.com/stretchr/testify` from 1.8.2 to 1.8.4 (#1384, #1435)
* Bump `cosmossdk.io/math` from 1.0.0-beta.6 to 1.0.1 (#1394)
* Bump `google.golang.org/grpc` from 1.53.0 to 1.56.1 (#1395, #1437, #1443)
* Bump `github.com/gin-gonic/gin` from 1.8.1 to 1.9.1 (#1409)
* Bump `github.com/spf13/viper` from 1.15.0 to 1.16.0 (#1436)
* Bump `github.com/prometheus/client_golang` from 1.15.1 to 1.16.0 (#1431)
* Bump `github.com/cosmos/ibc-go/v7` from 7.1.0 to 7.2.0 (#1445)
* Bump `bufbuild/buf-setup-action` from 1.21.0 to 1.22.0 (#1449)
* Bump `google.golang.org/protobuf` from 1.30.0 to 1.31.0 (#1450)

### Breaking

Expand Down
3 changes: 3 additions & 0 deletions proto/buf.gen.ts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ version: v1
managed:
enabled: true
plugins:
- plugin: buf.build/bufbuild/connect-es:v0.10.1
opt: target=ts
out: .
- plugin: buf.build/bufbuild/es:v1.2.1
opt: target=ts
out: .
13 changes: 5 additions & 8 deletions x/common/testutil/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/tx"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
"github.com/cosmos/cosmos-sdk/testutil/cli"
sdktestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/cobra"

Expand Down Expand Up @@ -92,22 +92,19 @@ func ExecTx(network *Network, cmd *cobra.Command, txSender sdk.AccAddress, args

clientCtx := network.Validators[0].ClientCtx

rawResp, err := cli.ExecTestCLICmd(clientCtx, cmd, args)
rawResp, err := sdktestutil.ExecTestCLICmd(clientCtx, cmd, args)
if err != nil {
return nil, fmt.Errorf("failed to execute tx: %w", err)
}
tmpResp := new(sdk.TxResponse)
err = clientCtx.Codec.UnmarshalJSON(rawResp.Bytes(), tmpResp)
if err != nil {
return nil, fmt.Errorf("failed to unmarshal tx response: %w", err)
}

err = network.WaitForNextBlock()
if err != nil {
return nil, err
}

resp, err := QueryTx(clientCtx, tmpResp.TxHash)
txResp := new(sdk.TxResponse)
clientCtx.Codec.MustUnmarshalJSON(rawResp.Bytes(), txResp)
resp, err := QueryTx(clientCtx, txResp.TxHash)
if err != nil {
return nil, fmt.Errorf("failed to query tx: %w", err)
}
Expand Down
1 change: 0 additions & 1 deletion x/spot/client/testutil/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
)

func TestIntegrationTestSuite(t *testing.T) {
t.SkipNow() // Skipped as it is not binded to the app
coinsFromGenesis := []string{
denoms.NIBI,
denoms.NUSD,
Expand Down
Loading

0 comments on commit 644ebaf

Please sign in to comment.