Skip to content

Commit 4313d7f

Browse files
authored
Upgrade to SDK v0.50.1 (#1696)
* Upgrade to SDK v0.50.1 * Update dependencies * Upgrade ibc-go * Remove GetSigners() method * Update deps
1 parent 7c8f1e8 commit 4313d7f

File tree

9 files changed

+294
-435
lines changed

9 files changed

+294
-435
lines changed

.github/workflows/proto-buf-publisher.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/[email protected]
20-
- uses: bufbuild/buf-setup-action@v1.27.2
20+
- uses: bufbuild/buf-setup-action@v1.28.0
2121

2222
# lint checks
2323
- uses: bufbuild/buf-lint-action@v1

app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ func NewWasmApp(
707707
transfer.NewAppModule(app.TransferKeeper),
708708
ibcfee.NewAppModule(app.IBCFeeKeeper),
709709
ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
710-
ibctm.AppModuleBasic{},
710+
ibctm.AppModule{},
711711
// sdk
712712
crisis.NewAppModule(app.CrisisKeeper, skipGenesisInvariants, app.GetSubspace(crisistypes.ModuleName)), // always be last to make sure that it checks for all invariants and not only part of them
713713
)

cmd/wasmd/root.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"github.com/cosmos/cosmos-sdk/client"
1212
"github.com/cosmos/cosmos-sdk/client/config"
1313
"github.com/cosmos/cosmos-sdk/codec"
14+
"github.com/cosmos/cosmos-sdk/crypto/keyring"
1415
"github.com/cosmos/cosmos-sdk/server"
1516
simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims"
1617
sdk "github.com/cosmos/cosmos-sdk/types"
@@ -104,7 +105,8 @@ func NewRootCmd() *cobra.Command {
104105
// add keyring to autocli opts
105106
autoCliOpts := tempApp.AutoCliOpts()
106107
initClientCtx, _ = config.ReadFromClientConfig(initClientCtx)
107-
autoCliOpts.Keyring = initClientCtx.Keyring
108+
autoCliOpts.Keyring, _ = keyring.NewAutoCLIKeyring(initClientCtx.Keyring)
109+
autoCliOpts.ClientCtx = initClientCtx
108110

109111
if err := autoCliOpts.EnhanceRootCommand(rootCmd); err != nil {
110112
panic(err)

go.mod

Lines changed: 54 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -5,60 +5,60 @@ go 1.21
55
require (
66
github.com/CosmWasm/wasmvm v1.5.0
77
github.com/cosmos/cosmos-proto v1.0.0-beta.3
8-
github.com/cosmos/cosmos-sdk v0.50.0-rc.1
8+
github.com/cosmos/cosmos-sdk v0.50.1
99
github.com/cosmos/gogogateway v1.2.0 // indirect
1010
github.com/cosmos/gogoproto v1.4.11
11-
github.com/cosmos/iavl v1.0.0-rc.1
11+
github.com/cosmos/iavl v1.0.0
1212
github.com/cosmos/ics23/go v0.10.0 // indirect
1313
github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
1414
github.com/golang/protobuf v1.5.3
1515
github.com/google/gofuzz v1.2.0
16-
github.com/gorilla/mux v1.8.0 // indirect
16+
github.com/gorilla/mux v1.8.1 // indirect
1717
github.com/grpc-ecosystem/grpc-gateway v1.16.0
1818
github.com/pkg/errors v0.9.1
1919
github.com/prometheus/client_golang v1.17.0
2020
github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa
2121
github.com/spf13/cast v1.5.1
22-
github.com/spf13/cobra v1.7.0
22+
github.com/spf13/cobra v1.8.0
2323
github.com/spf13/pflag v1.0.5
2424
github.com/stretchr/testify v1.8.4
2525
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d
26-
google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb // indirect
27-
google.golang.org/grpc v1.58.2
26+
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
27+
google.golang.org/grpc v1.59.0
2828
gopkg.in/yaml.v2 v2.4.0
2929
)
3030

3131
require (
32-
cosmossdk.io/api v0.7.1
33-
cosmossdk.io/client/v2 v2.0.0-20230818115413-c402c51a1508
32+
cosmossdk.io/api v0.7.2
33+
cosmossdk.io/client/v2 v2.0.0-beta.1
3434
cosmossdk.io/collections v0.4.0
3535
cosmossdk.io/core v0.11.0
3636
cosmossdk.io/errors v1.0.0
3737
cosmossdk.io/log v1.2.1
38-
cosmossdk.io/math v1.1.3-rc.1
39-
cosmossdk.io/store v1.0.0-rc.0
40-
cosmossdk.io/tools/confix v0.0.0-20230818115413-c402c51a1508
41-
cosmossdk.io/x/circuit v0.0.0-20230818115413-c402c51a1508
42-
cosmossdk.io/x/evidence v0.0.0-20230818115413-c402c51a1508
43-
cosmossdk.io/x/feegrant v0.0.0-20230818115413-c402c51a1508
44-
cosmossdk.io/x/nft v0.0.0-20230630152705-9f4a4e416f85
45-
cosmossdk.io/x/tx v0.10.0
46-
cosmossdk.io/x/upgrade v0.0.0-20230915171831-2196edacb99d
38+
cosmossdk.io/math v1.2.0
39+
cosmossdk.io/store v1.0.0
40+
cosmossdk.io/tools/confix v0.1.0
41+
cosmossdk.io/x/circuit v0.1.0
42+
cosmossdk.io/x/evidence v0.1.0
43+
cosmossdk.io/x/feegrant v0.1.0
44+
cosmossdk.io/x/nft v0.1.0
45+
cosmossdk.io/x/tx v0.12.0
46+
cosmossdk.io/x/upgrade v0.1.0
4747
github.com/cometbft/cometbft v0.38.0
4848
github.com/cosmos/cosmos-db v1.0.0
49-
github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6
50-
github.com/cosmos/ibc-go/v8 v8.0.0-beta.1
49+
github.com/cosmos/ibc-go/modules/capability v1.0.0
50+
github.com/cosmos/ibc-go/v8 v8.0.0
5151
github.com/distribution/reference v0.5.0
5252
github.com/rs/zerolog v1.31.0
5353
github.com/spf13/viper v1.17.0
54-
google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb
54+
google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a
5555
)
5656

5757
require (
58-
cloud.google.com/go v0.110.7 // indirect
59-
cloud.google.com/go/compute v1.23.0 // indirect
58+
cloud.google.com/go v0.110.8 // indirect
59+
cloud.google.com/go/compute v1.23.1 // indirect
6060
cloud.google.com/go/compute/metadata v0.2.3 // indirect
61-
cloud.google.com/go/iam v1.1.1 // indirect
61+
cloud.google.com/go/iam v1.1.3 // indirect
6262
cloud.google.com/go/storage v1.30.1 // indirect
6363
cosmossdk.io/depinject v1.0.0-alpha.4 // indirect
6464
filippo.io/edwards25519 v1.0.0 // indirect
@@ -78,13 +78,13 @@ require (
7878
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
7979
github.com/cockroachdb/errors v1.11.1 // indirect
8080
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
81-
github.com/cockroachdb/pebble v0.0.0-20230817233644-564b068800e0 // indirect
81+
github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb // indirect
8282
github.com/cockroachdb/redact v1.1.5 // indirect
8383
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
8484
github.com/cometbft/cometbft-db v0.8.0 // indirect
8585
github.com/cosmos/btcutil v1.0.5 // indirect
8686
github.com/cosmos/go-bip39 v1.0.0 // indirect
87-
github.com/cosmos/ledger-cosmos-go v0.13.0 // indirect
87+
github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect
8888
github.com/creachadair/atomicfile v0.3.1 // indirect
8989
github.com/creachadair/tomledit v0.0.24 // indirect
9090
github.com/danieljoos/wincred v1.1.2 // indirect
@@ -95,11 +95,11 @@ require (
9595
github.com/dgraph-io/ristretto v0.1.1 // indirect
9696
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
9797
github.com/dustin/go-humanize v1.0.1 // indirect
98-
github.com/emicklei/dot v1.5.0 // indirect
98+
github.com/emicklei/dot v1.6.0 // indirect
9999
github.com/fatih/color v1.15.0 // indirect
100-
github.com/felixge/httpsnoop v1.0.2 // indirect
100+
github.com/felixge/httpsnoop v1.0.4 // indirect
101101
github.com/fsnotify/fsnotify v1.6.0 // indirect
102-
github.com/getsentry/sentry-go v0.23.0 // indirect
102+
github.com/getsentry/sentry-go v0.25.0 // indirect
103103
github.com/go-kit/kit v0.12.0 // indirect
104104
github.com/go-kit/log v0.2.1 // indirect
105105
github.com/go-logfmt/logfmt v0.6.0 // indirect
@@ -108,18 +108,18 @@ require (
108108
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
109109
github.com/gogo/googleapis v1.4.1 // indirect
110110
github.com/gogo/protobuf v1.3.2 // indirect
111-
github.com/golang/glog v1.1.0 // indirect
111+
github.com/golang/glog v1.1.2 // indirect
112112
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
113113
github.com/golang/mock v1.6.0 // indirect
114114
github.com/golang/snappy v0.0.4 // indirect
115115
github.com/google/btree v1.1.2 // indirect
116-
github.com/google/go-cmp v0.5.9 // indirect
116+
github.com/google/go-cmp v0.6.0 // indirect
117117
github.com/google/orderedcode v0.0.1 // indirect
118118
github.com/google/s2a-go v0.1.7 // indirect
119119
github.com/google/uuid v1.3.1 // indirect
120120
github.com/googleapis/enterprise-certificate-proxy v0.3.1 // indirect
121121
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
122-
github.com/gorilla/handlers v1.5.1 // indirect
122+
github.com/gorilla/handlers v1.5.2 // indirect
123123
github.com/gorilla/websocket v1.5.0 // indirect
124124
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
125125
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
@@ -128,7 +128,7 @@ require (
128128
github.com/hashicorp/go-hclog v1.5.0 // indirect
129129
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
130130
github.com/hashicorp/go-metrics v0.5.1 // indirect
131-
github.com/hashicorp/go-plugin v1.4.10 // indirect
131+
github.com/hashicorp/go-plugin v1.5.2 // indirect
132132
github.com/hashicorp/go-safetemp v1.0.0 // indirect
133133
github.com/hashicorp/go-version v1.6.0 // indirect
134134
github.com/hashicorp/golang-lru v1.0.2 // indirect
@@ -141,32 +141,31 @@ require (
141141
github.com/inconshreveable/mousetrap v1.1.0 // indirect
142142
github.com/jmespath/go-jmespath v0.4.0 // indirect
143143
github.com/jmhodges/levigo v1.0.0 // indirect
144-
github.com/klauspost/compress v1.17.0 // indirect
144+
github.com/klauspost/compress v1.17.2 // indirect
145145
github.com/kr/pretty v0.3.1 // indirect
146146
github.com/kr/text v0.2.0 // indirect
147147
github.com/lib/pq v1.10.7 // indirect
148148
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
149-
github.com/linxGnu/grocksdb v1.8.0 // indirect
149+
github.com/linxGnu/grocksdb v1.8.4 // indirect
150150
github.com/magiconair/properties v1.8.7 // indirect
151151
github.com/manifoldco/promptui v0.9.0 // indirect
152152
github.com/mattn/go-colorable v0.1.13 // indirect
153-
github.com/mattn/go-isatty v0.0.19 // indirect
154-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
153+
github.com/mattn/go-isatty v0.0.20 // indirect
154+
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
155155
github.com/minio/highwayhash v1.0.2 // indirect
156156
github.com/mitchellh/go-homedir v1.1.0 // indirect
157157
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
158158
github.com/mitchellh/mapstructure v1.5.0 // indirect
159159
github.com/mtibben/percent v0.2.1 // indirect
160-
github.com/oasisprotocol/curve25519-voi v0.0.0-20230110094441-db37f07504ce // indirect
160+
github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect
161161
github.com/oklog/run v1.1.0 // indirect
162-
github.com/onsi/ginkgo v1.16.4 // indirect
163162
github.com/opencontainers/go-digest v1.0.0 // indirect
164163
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
165-
github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761 // indirect
164+
github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect
166165
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
167-
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect
168-
github.com/prometheus/common v0.44.0 // indirect
169-
github.com/prometheus/procfs v0.11.1 // indirect
166+
github.com/prometheus/client_model v0.5.0 // indirect
167+
github.com/prometheus/common v0.45.0 // indirect
168+
github.com/prometheus/procfs v0.12.0 // indirect
170169
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
171170
github.com/rogpeppe/go-internal v1.11.0 // indirect
172171
github.com/rs/cors v1.8.3 // indirect
@@ -177,32 +176,32 @@ require (
177176
github.com/spf13/afero v1.10.0 // indirect
178177
github.com/subosito/gotenv v1.6.0 // indirect
179178
github.com/tendermint/go-amino v0.16.0 // indirect
180-
github.com/tidwall/btree v1.6.0 // indirect
179+
github.com/tidwall/btree v1.7.0 // indirect
181180
github.com/ulikunitz/xz v0.5.11 // indirect
182-
github.com/zondax/hid v0.9.1 // indirect
183-
github.com/zondax/ledger-go v0.14.1 // indirect
181+
github.com/zondax/hid v0.9.2 // indirect
182+
github.com/zondax/ledger-go v0.14.3 // indirect
184183
go.etcd.io/bbolt v1.3.7 // indirect
185184
go.opencensus.io v0.24.0 // indirect
186-
go.uber.org/multierr v1.10.0 // indirect
187-
golang.org/x/crypto v0.13.0 // indirect
188-
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
189-
golang.org/x/net v0.15.0 // indirect
185+
go.uber.org/multierr v1.11.0 // indirect
186+
golang.org/x/crypto v0.14.0 // indirect
187+
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
188+
golang.org/x/net v0.17.0 // indirect
190189
golang.org/x/oauth2 v0.12.0 // indirect
191-
golang.org/x/sync v0.3.0 // indirect
192-
golang.org/x/sys v0.12.0 // indirect
193-
golang.org/x/term v0.12.0 // indirect
190+
golang.org/x/sync v0.5.0 // indirect
191+
golang.org/x/sys v0.13.0 // indirect
192+
golang.org/x/term v0.13.0 // indirect
194193
golang.org/x/text v0.13.0 // indirect
195194
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
196195
google.golang.org/api v0.143.0 // indirect
197196
google.golang.org/appengine v1.6.7 // indirect
198-
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect
197+
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
199198
google.golang.org/protobuf v1.31.0 // indirect
200199
gopkg.in/ini.v1 v1.67.0 // indirect
201200
gopkg.in/yaml.v3 v3.0.1 // indirect
202-
gotest.tools/v3 v3.5.0 // indirect
201+
gotest.tools/v3 v3.5.1 // indirect
203202
nhooyr.io/websocket v1.8.6 // indirect
204203
pgregory.net/rapid v1.1.0 // indirect
205-
sigs.k8s.io/yaml v1.3.0 // indirect
204+
sigs.k8s.io/yaml v1.4.0 // indirect
206205
)
207206

208207
replace (

0 commit comments

Comments
 (0)