Skip to content

Commit 04f2baa

Browse files
committed
Merge branch 'feat/depinject' into carlos/3560-depinject-support-capability
2 parents 01b19fc + 71233e5 commit 04f2baa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2428
-6990
lines changed

Diff for: .github/workflows/api_module.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: API module
2+
# This workflow runs when a PR is opened that modifies code in the api module.
3+
on:
4+
pull_request:
5+
paths:
6+
- '.github/workflows/api_module.yml'
7+
- 'api/**'
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
go-arch: ['amd64', 'arm', 'arm64']
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-go@v5
18+
with:
19+
go-version: '1.21'
20+
- name: Build api module
21+
run: |
22+
cd api
23+
GOARCH=${{ matrix.go-arch }} go build ./...

Diff for: api/capability/module/v1/module.pulsar.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: api/capability/v1/capability.pulsar.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: api/capability/v1/genesis.pulsar.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: api/go.mod

+9-131
Original file line numberDiff line numberDiff line change
@@ -1,150 +1,28 @@
11
module github.com/cosmos/ibc-go/api
22

3-
go 1.21
3+
go 1.22.0
4+
5+
// NOTE: This replace points the ics23 code deps used by 23-commitment to a branch using pulsar codegen (i.e. protov2 compatible encoding interfaces)
6+
// This should be removed and reverted when depinject supports protov1 with gogoproto.
7+
replace github.com/cosmos/ics23/go/api => github.com/cosmos/ics23/go/api v0.0.0-20240417162222-d137921f67b6
48

59
require (
610
cosmossdk.io/api v0.7.2
7-
cosmossdk.io/x/upgrade v0.1.1
8-
github.com/cometbft/cometbft v0.38.2
9-
github.com/cosmos/cosmos-proto v1.0.0-beta.3
10-
github.com/cosmos/cosmos-sdk v0.50.1
11+
github.com/cosmos/cosmos-proto v1.0.0-beta.4
1112
github.com/cosmos/gogoproto v1.4.11
12-
github.com/cosmos/ics23/go v0.10.0
13+
github.com/cosmos/ics23/go/api v0.0.0
1314
google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a
14-
google.golang.org/grpc v1.59.0
15-
google.golang.org/protobuf v1.31.0
15+
google.golang.org/protobuf v1.33.0
1616
)
1717

1818
require (
19-
cosmossdk.io/collections v0.4.0 // indirect
20-
cosmossdk.io/core v0.11.0 // indirect
21-
cosmossdk.io/depinject v1.0.0-alpha.4 // indirect
22-
cosmossdk.io/errors v1.0.0 // indirect
23-
cosmossdk.io/log v1.2.1 // indirect
24-
cosmossdk.io/math v1.2.0 // indirect
25-
cosmossdk.io/store v1.0.0 // indirect
26-
cosmossdk.io/x/tx v0.12.0 // indirect
27-
filippo.io/edwards25519 v1.0.0 // indirect
28-
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
29-
github.com/99designs/keyring v1.2.1 // indirect
30-
github.com/DataDog/zstd v1.5.5 // indirect
31-
github.com/beorn7/perks v1.0.1 // indirect
32-
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
33-
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
34-
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
35-
github.com/cespare/xxhash v1.1.0 // indirect
36-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
37-
github.com/cockroachdb/errors v1.11.1 // indirect
38-
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
39-
github.com/cockroachdb/pebble v0.0.0-20231101195458-481da04154d6 // indirect
40-
github.com/cockroachdb/redact v1.1.5 // indirect
41-
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
42-
github.com/cometbft/cometbft-db v0.9.1 // indirect
43-
github.com/cosmos/btcutil v1.0.5 // indirect
44-
github.com/cosmos/cosmos-db v1.0.0 // indirect
45-
github.com/cosmos/go-bip39 v1.0.0 // indirect
46-
github.com/cosmos/gogogateway v1.2.0 // indirect
47-
github.com/cosmos/iavl v1.0.0 // indirect
48-
github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect
49-
github.com/danieljoos/wincred v1.1.2 // indirect
50-
github.com/davecgh/go-spew v1.1.1 // indirect
51-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
52-
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
53-
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
54-
github.com/dgraph-io/ristretto v0.1.1 // indirect
55-
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
56-
github.com/dustin/go-humanize v1.0.1 // indirect
57-
github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
58-
github.com/emicklei/dot v1.6.0 // indirect
59-
github.com/fatih/color v1.15.0 // indirect
60-
github.com/felixge/httpsnoop v1.0.2 // indirect
61-
github.com/fsnotify/fsnotify v1.6.0 // indirect
62-
github.com/getsentry/sentry-go v0.25.0 // indirect
63-
github.com/go-kit/kit v0.12.0 // indirect
64-
github.com/go-kit/log v0.2.1 // indirect
65-
github.com/go-logfmt/logfmt v0.6.0 // indirect
66-
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
67-
github.com/gogo/googleapis v1.4.1 // indirect
68-
github.com/gogo/protobuf v1.3.2 // indirect
69-
github.com/golang/glog v1.2.0 // indirect
7019
github.com/golang/protobuf v1.5.3 // indirect
71-
github.com/golang/snappy v0.0.4 // indirect
72-
github.com/google/btree v1.1.2 // indirect
7320
github.com/google/go-cmp v0.6.0 // indirect
74-
github.com/gorilla/handlers v1.5.1 // indirect
75-
github.com/gorilla/mux v1.8.0 // indirect
76-
github.com/gorilla/websocket v1.5.0 // indirect
77-
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
78-
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
79-
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
80-
github.com/hashicorp/go-hclog v1.5.0 // indirect
81-
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
82-
github.com/hashicorp/go-metrics v0.5.2 // indirect
83-
github.com/hashicorp/go-plugin v1.5.2 // indirect
84-
github.com/hashicorp/golang-lru v1.0.2 // indirect
85-
github.com/hashicorp/hcl v1.0.0 // indirect
86-
github.com/hashicorp/yamux v0.1.1 // indirect
87-
github.com/hdevalence/ed25519consensus v0.1.0 // indirect
88-
github.com/huandu/skiplist v1.2.0 // indirect
89-
github.com/iancoleman/strcase v0.3.0 // indirect
90-
github.com/improbable-eng/grpc-web v0.15.0 // indirect
91-
github.com/inconshreveable/mousetrap v1.1.0 // indirect
92-
github.com/jmhodges/levigo v1.0.0 // indirect
93-
github.com/klauspost/compress v1.17.4 // indirect
94-
github.com/kr/pretty v0.3.1 // indirect
95-
github.com/kr/text v0.2.0 // indirect
96-
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
97-
github.com/linxGnu/grocksdb v1.8.6 // indirect
98-
github.com/magiconair/properties v1.8.7 // indirect
99-
github.com/mattn/go-colorable v0.1.13 // indirect
100-
github.com/mattn/go-isatty v0.0.20 // indirect
101-
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
102-
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
103-
github.com/mitchellh/mapstructure v1.5.0 // indirect
104-
github.com/mtibben/percent v0.2.1 // indirect
105-
github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect
106-
github.com/oklog/run v1.1.0 // indirect
107-
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
108-
github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect
109-
github.com/pkg/errors v0.9.1 // indirect
110-
github.com/pmezard/go-difflib v1.0.0 // indirect
111-
github.com/prometheus/client_golang v1.17.0 // indirect
112-
github.com/prometheus/client_model v0.5.0 // indirect
113-
github.com/prometheus/common v0.45.0 // indirect
114-
github.com/prometheus/procfs v0.12.0 // indirect
115-
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
116-
github.com/rogpeppe/go-internal v1.11.0 // indirect
117-
github.com/rs/cors v1.8.3 // indirect
118-
github.com/rs/zerolog v1.31.0 // indirect
119-
github.com/sasha-s/go-deadlock v0.3.1 // indirect
120-
github.com/spf13/afero v1.9.5 // indirect
121-
github.com/spf13/cast v1.5.1 // indirect
122-
github.com/spf13/cobra v1.7.0 // indirect
123-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
124-
github.com/spf13/pflag v1.0.5 // indirect
125-
github.com/spf13/viper v1.16.0 // indirect
126-
github.com/stretchr/testify v1.8.4 // indirect
127-
github.com/subosito/gotenv v1.4.2 // indirect
128-
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
129-
github.com/tendermint/go-amino v0.16.0 // indirect
130-
github.com/tidwall/btree v1.7.0 // indirect
131-
github.com/zondax/hid v0.9.2 // indirect
132-
github.com/zondax/ledger-go v0.14.3 // indirect
133-
go.etcd.io/bbolt v1.3.8 // indirect
134-
golang.org/x/crypto v0.16.0 // indirect
13521
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
13622
golang.org/x/net v0.19.0 // indirect
137-
golang.org/x/sync v0.3.0 // indirect
13823
golang.org/x/sys v0.15.0 // indirect
139-
golang.org/x/term v0.15.0 // indirect
14024
golang.org/x/text v0.14.0 // indirect
14125
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
14226
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
143-
gopkg.in/ini.v1 v1.67.0 // indirect
144-
gopkg.in/yaml.v2 v2.4.0 // indirect
145-
gopkg.in/yaml.v3 v3.0.1 // indirect
146-
gotest.tools/v3 v3.5.1 // indirect
147-
nhooyr.io/websocket v1.8.6 // indirect
148-
pgregory.net/rapid v1.1.0 // indirect
149-
sigs.k8s.io/yaml v1.3.0 // indirect
27+
google.golang.org/grpc v1.59.0 // indirect
15028
)

0 commit comments

Comments
 (0)