Skip to content

Commit cd8f46a

Browse files
committed
bump ibc-go to v10
1 parent 3de3a92 commit cd8f46a

File tree

20 files changed

+1304
-622
lines changed

20 files changed

+1304
-622
lines changed

app/app.go

Lines changed: 47 additions & 114 deletions
Large diffs are not rendered by default.

app/sim_test.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ import (
3232
simcli "github.com/cosmos/cosmos-sdk/x/simulation/client/cli"
3333
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
3434
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
35-
capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
3635

3736
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
38-
ibcfeetypes "github.com/cosmos/ibc-go/v9/modules/apps/29-fee/types"
39-
ibctransfertypes "github.com/cosmos/ibc-go/v9/modules/apps/transfer/types"
40-
ibcexported "github.com/cosmos/ibc-go/v9/modules/core/exported"
37+
ibctransfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
38+
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
4139
cronosmoduletypes "github.com/crypto-org-chain/cronos/v2/x/cronos/types"
4240
)
4341

@@ -236,12 +234,10 @@ func TestAppImportExport(t *testing.T) {
236234
{app.keys[paramtypes.StoreKey], newApp.keys[paramtypes.StoreKey], [][]byte{}},
237235
{app.keys[govtypes.StoreKey], newApp.keys[govtypes.StoreKey], [][]byte{}},
238236
{app.keys[evidencetypes.StoreKey], newApp.keys[evidencetypes.StoreKey], [][]byte{}},
239-
{app.keys[capabilitytypes.StoreKey], newApp.keys[capabilitytypes.StoreKey], [][]byte{}},
240237
{app.keys[evmtypes.StoreKey], newApp.keys[evmtypes.StoreKey], [][]byte{}},
241238
{app.keys[cronosmoduletypes.StoreKey], newApp.keys[cronosmoduletypes.StoreKey], [][]byte{}},
242239
{app.keys[ibcexported.StoreKey], newApp.keys[ibcexported.StoreKey], [][]byte{}},
243240
{app.keys[ibctransfertypes.StoreKey], newApp.keys[ibctransfertypes.StoreKey], [][]byte{}},
244-
{app.keys[ibcfeetypes.StoreKey], newApp.keys[ibcfeetypes.StoreKey], [][]byte{}},
245241
}
246242

247243
for _, skp := range storeKeysPrefixes {

app/versiondb_placeholder.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ func (app *App) setupVersionDB(
1313
homePath string,
1414
keys map[string]*storetypes.KVStoreKey,
1515
tkeys map[string]*storetypes.TransientStoreKey,
16-
memKeys map[string]*storetypes.MemoryStoreKey,
1716
okeys map[string]*storetypes.ObjectStoreKey,
1817
) (storetypes.RootMultiStore, error) {
1918
return nil, errors.New("versiondb is not supported in this binary")

go.mod

Lines changed: 76 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/crypto-org-chain/cronos/v2
22

3-
go 1.23.6
3+
go 1.23.8
44

55
require (
66
cosmossdk.io/api v0.7.6
@@ -18,50 +18,54 @@ require (
1818
filippo.io/age v1.2.1
1919
github.com/99designs/keyring v1.2.2
2020
github.com/cometbft/cometbft v0.38.17
21-
github.com/cosmos/cosmos-db v1.1.0
21+
github.com/cosmos/cosmos-db v1.1.1
2222
github.com/cosmos/cosmos-proto v1.0.0-beta.5
23-
github.com/cosmos/cosmos-sdk v0.50.10
23+
github.com/cosmos/cosmos-sdk v0.50.13
2424
github.com/cosmos/gogoproto v1.7.0
25-
github.com/cosmos/ibc-go/modules/apps/callbacks v0.0.0-20241220132848-a9bdb8a50a39 // v9.0.2
26-
github.com/cosmos/ibc-go/modules/capability v1.0.1
25+
github.com/cosmos/ibc-go/modules/apps/callbacks v0.0.0-20250302165905-69ebed3860f9 // v10.1.1
2726
// release/v10.0.x
28-
github.com/cosmos/ibc-go/v9 v9.0.2
27+
github.com/cosmos/ibc-go/v10 v10.1.1
2928
github.com/cosmos/rosetta v0.50.3-1
3029
github.com/crypto-org-chain/cronos/store v0.0.4
3130
github.com/crypto-org-chain/cronos/versiondb v0.0.0-00010101000000-000000000000
32-
github.com/ethereum/go-ethereum v1.14.12
31+
github.com/ethereum/go-ethereum v1.15.5
3332
github.com/evmos/ethermint v0.0.0-00010101000000-000000000000
3433
github.com/golang/protobuf v1.5.4
3534
github.com/gorilla/mux v1.8.1
3635
github.com/grpc-ecosystem/grpc-gateway v1.16.0
3736
github.com/hashicorp/go-metrics v0.5.3
3837
github.com/linxGnu/grocksdb v1.9.10-0.20250331012329-9d5f074653d1
39-
github.com/spf13/cast v1.7.0
38+
github.com/spf13/cast v1.7.1
4039
github.com/spf13/cobra v1.8.1
4140
github.com/spf13/pflag v1.0.5
4241
github.com/spf13/viper v1.19.0
4342
github.com/stretchr/testify v1.10.0
44-
golang.org/x/crypto v0.35.0
45-
google.golang.org/genproto/googleapis/api v0.0.0-20241202173237-19429a94021a
46-
google.golang.org/grpc v1.70.0
47-
google.golang.org/protobuf v1.36.4
43+
golang.org/x/crypto v0.37.0
44+
google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422
45+
google.golang.org/grpc v1.71.1
46+
google.golang.org/protobuf v1.36.6
4847
gopkg.in/yaml.v2 v2.4.0
4948
)
5049

5150
require (
52-
cloud.google.com/go v0.115.0 // indirect
53-
cloud.google.com/go/auth v0.6.0 // indirect
54-
cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
55-
cloud.google.com/go/compute/metadata v0.5.2 // indirect
56-
cloud.google.com/go/iam v1.1.9 // indirect
57-
cloud.google.com/go/storage v1.41.0 // indirect
51+
cel.dev/expr v0.20.0 // indirect
52+
cloud.google.com/go v0.116.0 // indirect
53+
cloud.google.com/go/auth v0.14.1 // indirect
54+
cloud.google.com/go/auth/oauth2adapt v0.2.7 // indirect
55+
cloud.google.com/go/compute/metadata v0.6.0 // indirect
56+
cloud.google.com/go/iam v1.2.2 // indirect
57+
cloud.google.com/go/monitoring v1.21.2 // indirect
58+
cloud.google.com/go/storage v1.49.0 // indirect
5859
cosmossdk.io/collections v0.4.0 // indirect
59-
cosmossdk.io/depinject v1.0.0 // indirect
60-
cosmossdk.io/x/tx v0.13.7 // indirect
60+
cosmossdk.io/depinject v1.2.0 // indirect
61+
cosmossdk.io/x/tx v0.14.0 // indirect
6162
filippo.io/edwards25519 v1.1.0 // indirect
6263
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
6364
github.com/DataDog/datadog-go v4.8.3+incompatible // indirect
64-
github.com/DataDog/zstd v1.5.5 // indirect
65+
github.com/DataDog/zstd v1.5.7 // indirect
66+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.26.0 // indirect
67+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.1 // indirect
68+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1 // indirect
6569
github.com/Microsoft/go-winio v0.6.2 // indirect
6670
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
6771
github.com/VictoriaMetrics/fastcache v1.6.0 // indirect
@@ -70,20 +74,21 @@ require (
7074
github.com/beorn7/perks v1.0.1 // indirect
7175
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
7276
github.com/bgentry/speakeasy v0.2.0 // indirect
73-
github.com/bits-and-blooms/bitset v1.13.0 // indirect
77+
github.com/bits-and-blooms/bitset v1.22.0 // indirect
7478
github.com/btcsuite/btcd v0.24.2 // indirect
7579
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
7680
github.com/btcsuite/btcd/btcutil v1.1.6 // indirect
7781
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect
7882
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
7983
github.com/cespare/xxhash/v2 v2.3.0 // indirect
8084
github.com/chzyer/readline v1.5.1 // indirect
85+
github.com/cncf/xds/go v0.0.0-20250121191232-2f005788dc42 // indirect
8186
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
8287
github.com/cockroachdb/errors v1.11.3 // indirect
8388
github.com/cockroachdb/fifo v0.0.0-20240616162244-4768e80dfb9a // indirect
8489
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
85-
github.com/cockroachdb/pebble v1.1.2 // indirect
86-
github.com/cockroachdb/redact v1.1.5 // indirect
90+
github.com/cockroachdb/pebble v1.1.5 // indirect
91+
github.com/cockroachdb/redact v1.1.6 // indirect
8792
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
8893
github.com/coinbase/rosetta-sdk-go/types v1.0.0 // indirect
8994
github.com/cometbft/cometbft-db v0.15.0 // indirect
@@ -92,7 +97,7 @@ require (
9297
github.com/cosmos/gogogateway v1.2.0 // indirect
9398
github.com/cosmos/iavl v1.2.4-0.20241218014611-3b0ad9922f9f // indirect
9499
github.com/cosmos/ics23/go v0.11.0 // indirect
95-
github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect
100+
github.com/cosmos/ledger-cosmos-go v0.14.0 // indirect
96101
github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect
97102
github.com/creachadair/atomicfile v0.3.1 // indirect
98103
github.com/creachadair/tomledit v0.0.24 // indirect
@@ -101,7 +106,7 @@ require (
101106
github.com/danieljoos/wincred v1.2.1 // indirect
102107
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
103108
github.com/deckarep/golang-set/v2 v2.1.0 // indirect
104-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
109+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
105110
github.com/desertbit/timer v1.0.1 // indirect
106111
github.com/dgraph-io/badger/v4 v4.3.0 // indirect
107112
github.com/dgraph-io/ristretto v0.1.2-0.20240116140435-c67e07994f91 // indirect
@@ -111,9 +116,11 @@ require (
111116
github.com/dvsekhvalnov/jose2go v1.7.0 // indirect
112117
github.com/edsrzf/mmap-go v1.1.0 // indirect
113118
github.com/emicklei/dot v1.6.2 // indirect
119+
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
120+
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
114121
github.com/fatih/color v1.17.0 // indirect
115122
github.com/felixge/httpsnoop v1.0.4 // indirect
116-
github.com/fsnotify/fsnotify v1.7.0 // indirect
123+
github.com/fsnotify/fsnotify v1.9.0 // indirect
117124
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff // indirect
118125
github.com/getsentry/sentry-go v0.28.1 // indirect
119126
github.com/go-kit/kit v0.13.0 // indirect
@@ -133,46 +140,46 @@ require (
133140
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
134141
github.com/google/btree v1.1.3 // indirect
135142
github.com/google/flatbuffers v24.3.25+incompatible // indirect
136-
github.com/google/go-cmp v0.6.0 // indirect
143+
github.com/google/go-cmp v0.7.0 // indirect
137144
github.com/google/orderedcode v0.0.1 // indirect
138-
github.com/google/s2a-go v0.1.7 // indirect
145+
github.com/google/s2a-go v0.1.9 // indirect
139146
github.com/google/uuid v1.6.0 // indirect
140-
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
141-
github.com/googleapis/gax-go/v2 v2.12.5 // indirect
147+
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
148+
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
142149
github.com/gorilla/handlers v1.5.2 // indirect
143150
github.com/gorilla/websocket v1.5.3 // indirect
144151
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
145152
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
146153
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
147-
github.com/hashicorp/go-getter v1.7.5 // indirect
154+
github.com/hashicorp/go-getter v1.7.8 // indirect
148155
github.com/hashicorp/go-hclog v1.6.3 // indirect
149156
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
150-
github.com/hashicorp/go-plugin v1.6.1 // indirect
157+
github.com/hashicorp/go-plugin v1.6.3 // indirect
151158
github.com/hashicorp/go-safetemp v1.0.0 // indirect
152159
github.com/hashicorp/go-version v1.6.0 // indirect
153160
github.com/hashicorp/golang-lru v1.0.2 // indirect
154161
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
155162
github.com/hashicorp/hcl v1.0.0 // indirect
156-
github.com/hashicorp/yamux v0.1.1 // indirect
163+
github.com/hashicorp/yamux v0.1.2 // indirect
157164
github.com/hdevalence/ed25519consensus v0.2.0 // indirect
158165
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
159-
github.com/holiman/uint256 v1.3.1 // indirect
160-
github.com/huandu/skiplist v1.2.0 // indirect
166+
github.com/holiman/uint256 v1.3.2 // indirect
167+
github.com/huandu/skiplist v1.2.1 // indirect
161168
github.com/huin/goupnp v1.0.3 // indirect
162169
github.com/iancoleman/strcase v0.3.0 // indirect
163170
github.com/improbable-eng/grpc-web v0.15.0 // indirect
164171
github.com/inconshreveable/mousetrap v1.1.0 // indirect
165172
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
166173
github.com/jmespath/go-jmespath v0.4.0 // indirect
167174
github.com/jmhodges/levigo v1.0.0 // indirect
168-
github.com/klauspost/compress v1.17.9 // indirect
175+
github.com/klauspost/compress v1.18.0 // indirect
169176
github.com/kr/pretty v0.3.1 // indirect
170177
github.com/kr/text v0.2.0 // indirect
171178
github.com/ledgerwatch/erigon-lib v0.0.0-20230210071639-db0e7ed11263 // indirect
172179
github.com/lib/pq v1.10.9 // indirect
173180
github.com/magiconair/properties v1.8.7 // indirect
174181
github.com/manifoldco/promptui v0.9.0 // indirect
175-
github.com/mattn/go-colorable v0.1.13 // indirect
182+
github.com/mattn/go-colorable v0.1.14 // indirect
176183
github.com/mattn/go-isatty v0.0.20 // indirect
177184
github.com/mattn/go-runewidth v0.0.15 // indirect
178185
github.com/minio/highwayhash v1.0.3 // indirect
@@ -184,25 +191,26 @@ require (
184191
github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect
185192
github.com/oklog/run v1.1.0 // indirect
186193
github.com/olekukonko/tablewriter v0.0.5 // indirect
187-
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
194+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
188195
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 // indirect
189196
github.com/pkg/errors v0.9.1 // indirect
197+
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
190198
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
191-
github.com/prometheus/client_golang v1.20.5 // indirect
199+
github.com/prometheus/client_golang v1.22.0 // indirect
192200
github.com/prometheus/client_model v0.6.1 // indirect
193-
github.com/prometheus/common v0.62.0 // indirect
201+
github.com/prometheus/common v0.63.0 // indirect
194202
github.com/prometheus/procfs v0.15.1 // indirect
195203
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
196204
github.com/rivo/uniseg v0.2.0 // indirect
197-
github.com/rogpeppe/go-internal v1.12.0 // indirect
205+
github.com/rogpeppe/go-internal v1.14.1 // indirect
198206
github.com/rs/cors v1.11.1 // indirect
199-
github.com/rs/zerolog v1.33.0 // indirect
200-
github.com/sagikazarmark/locafero v0.6.0 // indirect
207+
github.com/rs/zerolog v1.34.0 // indirect
208+
github.com/sagikazarmark/locafero v0.7.0 // indirect
201209
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
202210
github.com/sasha-s/go-deadlock v0.3.5 // indirect
203211
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
204212
github.com/sourcegraph/conc v0.3.0 // indirect
205-
github.com/spf13/afero v1.11.0 // indirect
213+
github.com/spf13/afero v1.12.0 // indirect
206214
github.com/status-im/keycard-go v0.2.0 // indirect
207215
github.com/subosito/gotenv v1.6.0 // indirect
208216
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
@@ -223,29 +231,33 @@ require (
223231
github.com/zondax/ledger-go v0.14.3 // indirect
224232
go.etcd.io/bbolt v1.4.0-alpha.1 // indirect
225233
go.opencensus.io v0.24.0 // indirect
226-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
227-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
228-
go.opentelemetry.io/otel v1.32.0 // indirect
229-
go.opentelemetry.io/otel/metric v1.32.0 // indirect
230-
go.opentelemetry.io/otel/trace v1.32.0 // indirect
234+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
235+
go.opentelemetry.io/contrib/detectors/gcp v1.34.0 // indirect
236+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.58.0 // indirect
237+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
238+
go.opentelemetry.io/otel v1.34.0 // indirect
239+
go.opentelemetry.io/otel/metric v1.34.0 // indirect
240+
go.opentelemetry.io/otel/sdk v1.34.0 // indirect
241+
go.opentelemetry.io/otel/sdk/metric v1.34.0 // indirect
242+
go.opentelemetry.io/otel/trace v1.34.0 // indirect
231243
go.uber.org/multierr v1.11.0 // indirect
232-
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
233-
golang.org/x/net v0.36.0 // indirect
234-
golang.org/x/oauth2 v0.24.0 // indirect
235-
golang.org/x/sync v0.11.0 // indirect
236-
golang.org/x/sys v0.30.0 // indirect
237-
golang.org/x/term v0.29.0 // indirect
238-
golang.org/x/text v0.22.0 // indirect
239-
golang.org/x/time v0.5.0 // indirect
240-
google.golang.org/api v0.186.0 // indirect
241-
google.golang.org/genproto v0.0.0-20240701130421-f6361c86f094 // indirect
242-
google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect
244+
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect
245+
golang.org/x/net v0.39.0 // indirect
246+
golang.org/x/oauth2 v0.27.0 // indirect
247+
golang.org/x/sync v0.13.0 // indirect
248+
golang.org/x/sys v0.32.0 // indirect
249+
golang.org/x/term v0.31.0 // indirect
250+
golang.org/x/text v0.24.0 // indirect
251+
golang.org/x/time v0.10.0 // indirect
252+
google.golang.org/api v0.222.0 // indirect
253+
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 // indirect
254+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250422160041-2d3770c4ea7f // indirect
243255
gopkg.in/ini.v1 v1.67.0 // indirect
244256
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
245257
gopkg.in/yaml.v3 v3.0.1 // indirect
246-
gotest.tools/v3 v3.5.1 // indirect
258+
gotest.tools/v3 v3.5.2 // indirect
247259
nhooyr.io/websocket v1.8.11 // indirect
248-
pgregory.net/rapid v1.1.0 // indirect
260+
pgregory.net/rapid v1.2.0 // indirect
249261
sigs.k8s.io/yaml v1.4.0 // indirect
250262
)
251263

@@ -272,7 +284,7 @@ replace (
272284
github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2
273285
github.com/ethereum/go-ethereum => github.com/crypto-org-chain/go-ethereum v1.10.20-0.20240926023215-d2275b4afb9a
274286
// develop
275-
github.com/evmos/ethermint => github.com/crypto-org-chain/ethermint v0.6.1-0.20250114082733-11b246d20511
287+
github.com/evmos/ethermint => github.com/jayt106/ethermint v0.4.2-0.20250522002428-ef6906308647
276288
// Fix upstream GHSA-h395-qcrw-5vmq and GHSA-3vp4-m3rf-835h vulnerabilities.
277289
// TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409
278290
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0

0 commit comments

Comments
 (0)