Skip to content

Commit

Permalink
cherry-picked 47e0b6d 39a8c96
Browse files Browse the repository at this point in the history
Problem: not using the latest SDK release (#429)

Solution: bumped the dependency to Cosmos SDK v0.42.3

Problem: duplicate commands(fixes #421) (#423)

Solution: removed the duplicate commands
  • Loading branch information
tomtau committed Mar 26, 2021
1 parent a07b44c commit 14aa175
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

*unreleased*

## v2.0.0

### Breaking changes

- [381](https://github.com/crypto-org-chain/chain-main/pull/381) Add subscription module

*March 26, 2021*

## v1.2.0
A version based on the upstream release of Cosmos SDK 0.42.3.
### Bug Fixes
* [423](https://github.com/crypto-org-chain/chain-main/pull/423) duplicate commands removed

*March 11, 2021*
## v1.1.0
A version based on the upstream release of Cosmos SDK 0.42.1.
Expand Down
3 changes: 0 additions & 3 deletions cmd/chain-maind/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
authclient "github.com/cosmos/cosmos-sdk/x/auth/client"
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
"github.com/cosmos/cosmos-sdk/x/auth/types"
vestingcli "github.com/cosmos/cosmos-sdk/x/auth/vesting/client/cli"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
Expand Down Expand Up @@ -227,8 +226,6 @@ func txCommand() *cobra.Command {
authcmd.GetBroadcastCommand(),
authcmd.GetEncodeCommand(),
authcmd.GetDecodeCommand(),
flags.LineBreak,
vestingcli.GetTxCmd(),
)

app.ModuleBasics.AddTxCommands(cmd)
Expand Down
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ let
lib = pkgs.lib;
build-chain-maind = { ledger_zemu ? false, network ? "mainnet" }: pkgs.buildGoModule rec {
pname = "chain-maind";
version = "1.1.0";
version = "1.2.0";
src = lib.cleanSourceWith {
name = "src";
src = lib.sourceByRegex ./. src_regexes;
};
subPackages = [ "cmd/chain-maind" ];
vendorSha256 = sha256:0b0l65il7b01005zik6b2df0j24lcfga0xbn3wigwxfyrx3yz481;
vendorSha256 = sha256:0fyik7c9r7cicqrlzf5vln59wjm3rawvvbiyd9z9ca062g9d1453;
runVend = true;
outputs = [
"out"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/confluentinc/bincover v0.1.0
github.com/cosmos/cosmos-sdk v0.42.1
github.com/cosmos/cosmos-sdk v0.42.3
github.com/cosmos/ledger-go v0.9.2 // indirect
github.com/gogo/protobuf v1.3.3
github.com/golang/protobuf v1.4.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/cosmos/cosmos-sdk v0.42.1 h1:/0SqvXdxbHBRUFRTLdiL4VYE18DMNXd2ONhC5d90EBQ=
github.com/cosmos/cosmos-sdk v0.42.1/go.mod h1:xiLp1G8mumj82S5KLJGCAyeAlD+7VNomg/aRSJV12yk=
github.com/cosmos/cosmos-sdk v0.42.3 h1:VFYq7spDBBIlygAxwcI79Xh2JuIrG1ZCPKpvqKghIZs=
github.com/cosmos/cosmos-sdk v0.42.3/go.mod h1:xiLp1G8mumj82S5KLJGCAyeAlD+7VNomg/aRSJV12yk=
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU=
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY=
Expand Down
2 changes: 1 addition & 1 deletion third_party/cosmos-sdk
Submodule cosmos-sdk updated 61 files
+1 −39 .github/workflows/test.yml
+17 −0 CHANGELOG.md
+2 −15 RELEASE_NOTES.md
+1 −1 client/flags/flags.go
+1 −0 crypto/armor_test.go
+4 −3 crypto/keyring/keyring.go
+88 −0 crypto/keys/multisig/amino.go
+3 −0 crypto/keys/multisig/codec.go
+76 −2 crypto/keys/multisig/multisig_test.go
+2 −2 docs/.vuepress/config.js
+3 −3 docs/basics/accounts.md
+8 −7 docs/basics/app-anatomy.md
+3 −3 docs/building-modules/intro.md
+1 −1 docs/building-modules/invariants.md
+3 −3 docs/building-modules/msg-services.md
+6 −6 docs/building-modules/simulator.md
+4 −4 docs/core/baseapp.md
+2 −2 docs/core/cli.md
+134 −28 docs/core/encoding.md
+62 −41 docs/core/events.md
+3 −3 docs/core/grpc_rest.md
+2 −2 docs/core/node.md
+1 −1 docs/core/ocap.md
+20 −0 docs/core/proto-docs.md
+5 −5 docs/core/store.md
+1 −1 docs/ibc/integration.md
+1 −1 docs/ibc/overview.md
+6 −6 docs/intro/sdk-app-architecture.md
+5 −4 docs/intro/why-app-specific.md
+1 −1 docs/run-node/interact-node.md
+15 −6 docs/run-node/keyring.md
+12 −0 proto/cosmos/tx/v1beta1/service.proto
+2 −2 simapp/params/doc.go
+2 −3 store/cachekv/memiterator.go
+4 −5 store/cachekv/store.go
+6 −0 store/rootmulti/store_test.go
+2 −0 types/coin_benchmark_test.go
+3 −1 types/kv/kv.go
+236 −0 types/kv/list.go
+136 −48 types/tx/service.pb.go
+2 −0 x/auth/client/cli/cli_test.go
+11 −1 x/auth/client/cli/tx_multisign.go
+1 −1 x/auth/client/cli/tx_sign.go
+2 −0 x/auth/client/rest/rest_test.go
+1 −0 x/auth/keeper/keeper_bench_test.go
+1 −1 x/auth/legacy/legacytx/stdtx.go
+13 −1 x/auth/tx/service.go
+27 −0 x/auth/tx/service_test.go
+0 −81 x/bank/app_test.go
+1 −0 x/bank/bench_test.go
+66 −2 x/bank/handler_test.go
+6 −1 x/bank/keeper/keeper.go
+34 −0 x/bank/keeper/keeper_test.go
+1 −1 x/capability/simulation/decoder.go
+2 −0 x/genutil/legacy/v038/migrate.go
+1 −2 x/staking/keeper/slash_test.go
+9 −8 x/staking/spec/01_state.md
+8 −1 x/staking/spec/02_state_transitions.md
+10 −1 x/staking/spec/03_messages.md
+13 −7 x/staking/spec/05_end_block.md
+0 −1 x/staking/types/msg_test.go

0 comments on commit 14aa175

Please sign in to comment.