Skip to content

Commit 15cb750

Browse files
authoredMar 30, 2023
feat: migrate capability module from cosmos-sdk to ibc-go (#3097)
1 parent 8c77cb5 commit 15cb750

Some content is hidden

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

75 files changed

+5195
-76
lines changed
 

‎.github/workflows/capability.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Capability Module
2+
on:
3+
push:
4+
pull_request:
5+
- '.github/workflows/capability.yml'
6+
- 'modules/capability/**'
7+
- 'proto/capability/**'
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@v3
17+
- uses: actions/setup-go@v3
18+
with:
19+
go-version: 1.19
20+
- name: Build capability-module
21+
run: |
22+
cd modules/capability
23+
GOARCH=${{ matrix.go-arch }} go build ./...
24+
25+
tests:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v3
29+
- uses: actions/setup-go@v3
30+
with:
31+
go-version: 1.19
32+
- name: Go Test
33+
run: |
34+
cd modules/capability
35+
go test -v -mod=readonly ./...

‎e2e/go.mod

+2-3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ require (
5959
github.com/cosmos/go-bip39 v1.0.0 // indirect
6060
github.com/cosmos/gogogateway v1.2.0 // indirect
6161
github.com/cosmos/iavl v0.20.0 // indirect
62+
github.com/cosmos/ibc-go/modules/capability v1.0.0-alpha1 // indirect
6263
github.com/cosmos/ics23/go v0.9.1-0.20221207100636-b1abd8678aab // indirect
6364
github.com/cosmos/ledger-cosmos-go v0.13.0 // indirect
6465
github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect
@@ -85,7 +86,7 @@ require (
8586
github.com/go-kit/kit v0.12.0 // indirect
8687
github.com/go-kit/log v0.2.1 // indirect
8788
github.com/go-logfmt/logfmt v0.6.0 // indirect
88-
github.com/go-playground/universal-translator v0.18.0 // indirect
89+
github.com/go-playground/locales v0.14.0 // indirect
8990
github.com/go-stack/stack v1.8.1 // indirect
9091
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
9192
github.com/gogo/googleapis v1.4.1 // indirect
@@ -127,7 +128,6 @@ require (
127128
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
128129
github.com/klauspost/compress v1.16.3 // indirect
129130
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
130-
github.com/leodido/go-urn v1.2.1 // indirect
131131
github.com/lib/pq v1.10.7 // indirect
132132
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
133133
github.com/libp2p/go-libp2p v0.26.2 // indirect
@@ -181,7 +181,6 @@ require (
181181
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect
182182
github.com/tendermint/go-amino v0.16.0 // indirect
183183
github.com/tidwall/btree v1.6.0 // indirect
184-
github.com/ugorji/go/codec v1.2.7 // indirect
185184
github.com/ulikunitz/xz v0.5.11 // indirect
186185
github.com/vedhavyas/go-subkey v1.0.4 // indirect
187186
github.com/zondax/hid v0.9.1 // indirect

0 commit comments

Comments
 (0)
Please sign in to comment.