Skip to content

Commit dacc993

Browse files
Alex | Interchain Labsreecepbcups
andauthored
chore: clean up dependencies (go1.23) (#31)
* update-deps * go-work * sdk version * math * no toolchain * no toolchain * actions: go ver, upload/download artifact * bump: docker go version * fix: coverage --------- Co-authored-by: Reece Williams <[email protected]>
1 parent 7247e41 commit dacc993

File tree

9 files changed

+203
-192
lines changed

9 files changed

+203
-192
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
env:
14-
GO_VERSION: 1.21.0
14+
GO_VERSION: 1.23.0
1515

1616
jobs:
1717
build:

.github/workflows/e2e.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
packages: write
1212

1313
env:
14-
GO_VERSION: 1.21.0
14+
GO_VERSION: 1.23.0
1515
TAR_PATH: /tmp/tokenfactory-docker-image.tar
1616
IMAGE_NAME: tokenfactory-docker-image
1717

@@ -42,7 +42,7 @@ jobs:
4242
outputs: type=docker,dest=${{ env.TAR_PATH }}
4343

4444
- name: Upload artifact
45-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4646
with:
4747
name: ${{ env.IMAGE_NAME }}
4848
path: ${{ env.TAR_PATH }}
@@ -67,7 +67,7 @@ jobs:
6767
uses: actions/checkout@v4
6868

6969
- name: Download Tarball Artifact
70-
uses: actions/download-artifact@v3
70+
uses: actions/download-artifact@v4
7171
with:
7272
name: ${{ env.IMAGE_NAME }}
7373
path: /tmp
@@ -91,7 +91,7 @@ jobs:
9191
go-version: ${{ env.GO_VERSION }}
9292

9393
- name: Download Host Artifact
94-
uses: actions/download-artifact@v3
94+
uses: actions/download-artifact@v4
9595
with:
9696
name: ${{ env.IMAGE_NAME }}
9797
path: /tmp

.github/workflows/simulator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77

88
env:
9-
GO_VERSION: 1.21.0
9+
GO_VERSION: 1.23.0
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
pull_request:
88

99
env:
10-
GO_VERSION: 1.21.0
10+
GO_VERSION: 1.23.0
1111

1212
concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21-alpine AS go-builder
1+
FROM golang:1.23-alpine AS go-builder
22

33
SHELL ["/bin/sh", "-ecuxo", "pipefail"]
44

go.mod

Lines changed: 62 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,54 @@
11
module github.com/strangelove-ventures/tokenfactory
22

3-
go 1.21
3+
go 1.23.0
44

55
replace (
6-
// core v0.12 was tagged wrong (SDK v51).
7-
cosmossdk.io/core => cosmossdk.io/core v0.11.0
86
github.com/spf13/viper => github.com/spf13/viper v1.17.0 // v1.18+ breaks app overrides
97
// Downgraded to avoid bugs in following commits which caused simulations to fail.
108
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
119
)
1210

1311
require (
14-
cosmossdk.io/api v0.7.5
12+
cosmossdk.io/api v0.9.0
1513
cosmossdk.io/client/v2 v2.0.0-beta.1
1614
cosmossdk.io/collections v0.4.0 // indirect
17-
cosmossdk.io/core v0.12.0
18-
cosmossdk.io/depinject v1.0.0-alpha.4 // indirect
19-
cosmossdk.io/errors v1.0.1
20-
cosmossdk.io/log v1.3.1
21-
cosmossdk.io/math v1.3.0
22-
cosmossdk.io/store v1.1.0
15+
cosmossdk.io/core v0.11.3
16+
cosmossdk.io/depinject v1.1.0 // indirect
17+
cosmossdk.io/errors v1.0.2
18+
cosmossdk.io/log v1.4.1
19+
cosmossdk.io/math v1.5.3
20+
cosmossdk.io/store v1.1.1
2321
cosmossdk.io/tools/confix v0.1.1
2422
cosmossdk.io/x/circuit v0.1.0
2523
cosmossdk.io/x/evidence v0.1.0
2624
cosmossdk.io/x/feegrant v0.1.0
2725
cosmossdk.io/x/nft v0.1.0
28-
cosmossdk.io/x/tx v0.13.3
26+
cosmossdk.io/x/tx v0.13.7
2927
cosmossdk.io/x/upgrade v0.1.1
3028
github.com/CosmWasm/wasmd v0.51.0
3129
github.com/CosmWasm/wasmvm/v2 v2.0.0
32-
github.com/cometbft/cometbft v0.38.6
33-
github.com/cosmos/cosmos-db v1.0.2
30+
github.com/cometbft/cometbft v0.38.12
31+
github.com/cosmos/cosmos-db v1.1.1
3432
github.com/cosmos/cosmos-proto v1.0.0-beta.5
35-
github.com/cosmos/cosmos-sdk v0.50.6
36-
github.com/cosmos/gogoproto v1.4.12
33+
github.com/cosmos/cosmos-sdk v0.50.13
34+
github.com/cosmos/gogoproto v1.7.0
3735
github.com/cosmos/ibc-go/modules/capability v1.0.0
3836
github.com/golang/protobuf v1.5.4
3937
github.com/grpc-ecosystem/grpc-gateway v1.16.0
40-
github.com/prometheus/client_golang v1.19.0
41-
github.com/rs/zerolog v1.32.0 // indirect
42-
github.com/spf13/cast v1.6.0
43-
github.com/spf13/cobra v1.8.0
38+
github.com/prometheus/client_golang v1.20.1
39+
github.com/rs/zerolog v1.33.0 // indirect
40+
github.com/spf13/cast v1.7.1
41+
github.com/spf13/cobra v1.8.1
4442
github.com/spf13/pflag v1.0.5
45-
github.com/spf13/viper v1.18.2
46-
github.com/stretchr/testify v1.9.0
47-
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de
48-
google.golang.org/grpc v1.63.2
43+
github.com/spf13/viper v1.19.0
44+
github.com/stretchr/testify v1.10.0
45+
google.golang.org/genproto/googleapis/api v0.0.0-20250324211829-b45e905df463
46+
google.golang.org/grpc v1.71.0
4947
)
5048

5149
require (
5250
cloud.google.com/go v0.112.0 // indirect
53-
cloud.google.com/go/compute v1.24.0 // indirect
54-
cloud.google.com/go/compute/metadata v0.2.3 // indirect
51+
cloud.google.com/go/compute/metadata v0.6.0 // indirect
5552
cloud.google.com/go/iam v1.1.6 // indirect
5653
cloud.google.com/go/storage v1.36.0 // indirect
5754
filippo.io/edwards25519 v1.0.0 // indirect
@@ -64,23 +61,23 @@ require (
6461
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
6562
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
6663
github.com/bits-and-blooms/bitset v1.8.0 // indirect
67-
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
64+
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
6865
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
6966
github.com/cespare/xxhash v1.1.0 // indirect
7067
github.com/cespare/xxhash/v2 v2.3.0 // indirect
7168
github.com/chzyer/readline v1.5.1 // indirect
7269
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
73-
github.com/cockroachdb/errors v1.11.1 // indirect
70+
github.com/cockroachdb/errors v1.11.3 // indirect
7471
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
75-
github.com/cockroachdb/pebble v1.1.0 // indirect
72+
github.com/cockroachdb/pebble v1.1.2 // indirect
7673
github.com/cockroachdb/redact v1.1.5 // indirect
7774
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
78-
github.com/cometbft/cometbft-db v0.9.1 // indirect
75+
github.com/cometbft/cometbft-db v0.11.0 // indirect
7976
github.com/cosmos/btcutil v1.0.5 // indirect
8077
github.com/cosmos/go-bip39 v1.0.0 // indirect
8178
github.com/cosmos/gogogateway v1.2.0 // indirect
82-
github.com/cosmos/ics23/go v0.10.0 // indirect
83-
github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect
79+
github.com/cosmos/ics23/go v0.11.0 // indirect
80+
github.com/cosmos/ledger-cosmos-go v0.14.0 // indirect
8481
github.com/creachadair/atomicfile v0.3.1 // indirect
8582
github.com/creachadair/tomledit v0.0.24 // indirect
8683
github.com/danieljoos/wincred v1.1.2 // indirect
@@ -93,7 +90,7 @@ require (
9390
github.com/distribution/reference v0.5.0 // indirect
9491
github.com/dustin/go-humanize v1.0.1 // indirect
9592
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
96-
github.com/emicklei/dot v1.6.1 // indirect
93+
github.com/emicklei/dot v1.6.2 // indirect
9794
github.com/fatih/color v1.15.0 // indirect
9895
github.com/felixge/httpsnoop v1.0.4 // indirect
9996
github.com/fsnotify/fsnotify v1.7.0 // indirect
@@ -104,12 +101,12 @@ require (
104101
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
105102
github.com/gogo/googleapis v1.4.1 // indirect
106103
github.com/gogo/protobuf v1.3.2 // indirect
107-
github.com/golang/glog v1.2.0 // indirect
104+
github.com/golang/glog v1.2.4 // indirect
108105
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
109106
github.com/golang/mock v1.6.0 // indirect
110107
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
111-
github.com/google/btree v1.1.2 // indirect
112-
github.com/google/go-cmp v0.6.0 // indirect
108+
github.com/google/btree v1.1.3 // indirect
109+
github.com/google/go-cmp v0.7.0 // indirect
113110
github.com/google/gofuzz v1.2.0 // indirect
114111
github.com/google/orderedcode v0.0.1 // indirect
115112
github.com/google/s2a-go v0.1.7 // indirect
@@ -118,7 +115,7 @@ require (
118115
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
119116
github.com/gorilla/handlers v1.5.2 // indirect
120117
github.com/gorilla/mux v1.8.1
121-
github.com/gorilla/websocket v1.5.0 // indirect
118+
github.com/gorilla/websocket v1.5.3 // indirect
122119
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
123120
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
124121
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
@@ -139,11 +136,10 @@ require (
139136
github.com/inconshreveable/mousetrap v1.1.0 // indirect
140137
github.com/jmespath/go-jmespath v0.4.0 // indirect
141138
github.com/jmhodges/levigo v1.0.0 // indirect
142-
github.com/klauspost/compress v1.17.7 // indirect
139+
github.com/klauspost/compress v1.18.0 // indirect
143140
github.com/kr/pretty v0.3.1 // indirect
144141
github.com/kr/text v0.2.0 // indirect
145142
github.com/lib/pq v1.10.7 // indirect
146-
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
147143
github.com/linxGnu/grocksdb v1.8.14 // indirect
148144
github.com/magiconair/properties v1.8.7 // indirect
149145
github.com/manifoldco/promptui v0.9.0 // indirect
@@ -157,16 +153,16 @@ require (
157153
github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect
158154
github.com/oklog/run v1.1.0 // indirect
159155
github.com/opencontainers/go-digest v1.0.0 // indirect
160-
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
156+
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
161157
github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 // indirect
162158
github.com/pkg/errors v0.9.1 // indirect
163159
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
164160
github.com/prometheus/client_model v0.6.1 // indirect
165-
github.com/prometheus/common v0.52.2 // indirect
166-
github.com/prometheus/procfs v0.13.0 // indirect
161+
github.com/prometheus/common v0.55.0 // indirect
162+
github.com/prometheus/procfs v0.15.1 // indirect
167163
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
168-
github.com/rogpeppe/go-internal v1.12.0 // indirect
169-
github.com/rs/cors v1.8.3 // indirect
164+
github.com/rogpeppe/go-internal v1.14.1 // indirect
165+
github.com/rs/cors v1.11.1 // indirect
170166
github.com/sagikazarmark/locafero v0.4.0 // indirect
171167
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
172168
github.com/sasha-s/go-deadlock v0.3.1 // indirect
@@ -179,47 +175,53 @@ require (
179175
github.com/ulikunitz/xz v0.5.11 // indirect
180176
github.com/zondax/hid v0.9.2 // indirect
181177
github.com/zondax/ledger-go v0.14.3 // indirect
182-
go.etcd.io/bbolt v1.3.8 // indirect
178+
go.etcd.io/bbolt v1.3.10 // indirect
183179
go.opencensus.io v0.24.0 // indirect
184180
go.uber.org/multierr v1.11.0 // indirect
185-
golang.org/x/crypto v0.22.0 // indirect
181+
golang.org/x/crypto v0.36.0 // indirect
186182
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 // indirect
187-
golang.org/x/net v0.24.0 // indirect
188-
golang.org/x/oauth2 v0.18.0 // indirect
189-
golang.org/x/sync v0.7.0 // indirect
190-
golang.org/x/sys v0.19.0 // indirect
191-
golang.org/x/term v0.19.0 // indirect
192-
golang.org/x/text v0.14.0 // indirect
183+
golang.org/x/net v0.38.0 // indirect
184+
golang.org/x/oauth2 v0.25.0 // indirect
185+
golang.org/x/sync v0.12.0 // indirect
186+
golang.org/x/sys v0.31.0 // indirect
187+
golang.org/x/term v0.30.0 // indirect
188+
golang.org/x/text v0.23.0 // indirect
193189
golang.org/x/time v0.5.0 // indirect
194190
google.golang.org/api v0.162.0 // indirect
195-
google.golang.org/appengine v1.6.8 // indirect
196191
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
197-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
198-
google.golang.org/protobuf v1.33.0 // indirect
192+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 // indirect
193+
google.golang.org/protobuf v1.36.6 // indirect
199194
gopkg.in/ini.v1 v1.67.0 // indirect
200195
gopkg.in/yaml.v2 v2.4.0 // indirect
201196
gopkg.in/yaml.v3 v3.0.1 // indirect
202197
gotest.tools/v3 v3.5.1 // indirect
203198
nhooyr.io/websocket v1.8.10 // indirect
204-
pgregory.net/rapid v1.1.0 // indirect
199+
pgregory.net/rapid v1.2.0 // indirect
205200
sigs.k8s.io/yaml v1.4.0 // indirect
206201
)
207202

208203
require (
209-
github.com/cosmos/iavl v1.1.2 // indirect
204+
github.com/cosmos/iavl v1.2.2 // indirect
210205
github.com/cosmos/ibc-go/v8 v8.2.0
211206
github.com/opencontainers/image-spec v1.1.0-rc5 // indirect
212207
github.com/opencontainers/runc v1.1.5 // indirect
213208
github.com/sirupsen/logrus v1.9.3 // indirect
214209
)
215210

216211
require (
217-
github.com/go-logr/logr v1.4.1 // indirect
212+
github.com/go-logr/logr v1.4.2 // indirect
218213
github.com/go-logr/stdr v1.2.2 // indirect
219214
github.com/gogo/status v1.1.0
220215
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect
221216
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect
222-
go.opentelemetry.io/otel v1.22.0 // indirect
223-
go.opentelemetry.io/otel/metric v1.22.0 // indirect
224-
go.opentelemetry.io/otel/trace v1.22.0 // indirect
217+
go.opentelemetry.io/otel v1.34.0 // indirect
218+
go.opentelemetry.io/otel/metric v1.34.0 // indirect
219+
go.opentelemetry.io/otel/trace v1.34.0 // indirect
220+
)
221+
222+
require (
223+
github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect
224+
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
225+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
226+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
225227
)

0 commit comments

Comments
 (0)