Skip to content

Commit be0a143

Browse files
committed
bump ICS to v2.0.0-rc2
1 parent dd332fb commit be0a143

File tree

12 files changed

+51
-2227
lines changed

12 files changed

+51
-2227
lines changed

app/app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ import (
2828
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
2929
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
3030
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
31-
ibctesting "github.com/cosmos/interchain-security/legacy_ibc_testing/testing"
32-
providertypes "github.com/cosmos/interchain-security/x/ccv/provider/types"
31+
ibctesting "github.com/cosmos/interchain-security/v2/legacy_ibc_testing/testing"
32+
providertypes "github.com/cosmos/interchain-security/v2/x/ccv/provider/types"
3333
"github.com/gorilla/mux"
3434
"github.com/rakyll/statik/fs"
3535
"github.com/spf13/cast"

app/app_helpers.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ package gaia
33
import (
44
capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper"
55
ibckeeper "github.com/cosmos/ibc-go/v4/modules/core/keeper"
6-
ibcstakinginterface "github.com/cosmos/interchain-security/legacy_ibc_testing/core"
7-
"github.com/cosmos/interchain-security/testutil/e2e"
8-
ibcproviderkeeper "github.com/cosmos/interchain-security/x/ccv/provider/keeper"
6+
ibcstakinginterface "github.com/cosmos/interchain-security/v2/legacy_ibc_testing/core"
7+
icstest "github.com/cosmos/interchain-security/v2/testutil/integration"
8+
ibcproviderkeeper "github.com/cosmos/interchain-security/v2/x/ccv/provider/keeper"
99
)
1010

11-
// ProviderApp interface implementations for e2e tests
11+
// ProviderApp interface implementations for icstest tests
1212

1313
// GetProviderKeeper implements the ProviderApp interface.
1414
func (app *GaiaApp) GetProviderKeeper() ibcproviderkeeper.Keeper { //nolint:nolintlint
@@ -30,26 +30,26 @@ func (app *GaiaApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper { //nolin
3030
return app.ScopedIBCKeeper
3131
}
3232

33-
// GetE2eStakingKeeper implements the ProviderApp interface.
34-
func (app *GaiaApp) GetE2eStakingKeeper() e2e.E2eStakingKeeper { //nolint:nolintlint
33+
// GetTestStakingKeeper implements the ProviderApp interface.
34+
func (app *GaiaApp) GetTestStakingKeeper() icstest.TestStakingKeeper { //nolint:nolintlint
3535
return app.StakingKeeper
3636
}
3737

38-
// GetE2eBankKeeper implements the ProviderApp interface.
39-
func (app *GaiaApp) GetE2eBankKeeper() e2e.E2eBankKeeper { //nolint:nolintlint
38+
// GetTestBankKeeper implements the ProviderApp interface.
39+
func (app *GaiaApp) GetTestBankKeeper() icstest.TestBankKeeper { //nolint:nolintlint
4040
return app.BankKeeper
4141
}
4242

43-
// GetE2eSlashingKeeper implements the ProviderApp interface.
44-
func (app *GaiaApp) GetE2eSlashingKeeper() e2e.E2eSlashingKeeper { //nolint:nolintlint
43+
// GetTestSlashingKeeper implements the ProviderApp interface.
44+
func (app *GaiaApp) GetTestSlashingKeeper() icstest.TestSlashingKeeper { //nolint:nolintlint
4545
return app.SlashingKeeper
4646
}
4747

48-
// GetE2eDistributionKeeper implements the ProviderApp interface.
49-
func (app *GaiaApp) GetE2eDistributionKeeper() e2e.E2eDistributionKeeper { //nolint:nolintlint
48+
// GetTestDistributionKeeper implements the ProviderApp interface.
49+
func (app *GaiaApp) GetTestDistributionKeeper() icstest.TestDistributionKeeper { //nolint:nolintlint
5050
return app.DistrKeeper
5151
}
5252

53-
func (app *GaiaApp) GetE2eAccountKeeper() e2e.E2eAccountKeeper { //nolint:nolintlint
53+
func (app *GaiaApp) GetTestAccountKeeper() icstest.TestAccountKeeper { //nolint:nolintlint
5454
return app.AccountKeeper
5555
}

app/keepers/keepers.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types"
2323
"github.com/cosmos/cosmos-sdk/x/feegrant"
2424
feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper"
25-
providertypes "github.com/cosmos/interchain-security/x/ccv/provider/types"
25+
providertypes "github.com/cosmos/interchain-security/v2/x/ccv/provider/types"
2626
tmos "github.com/tendermint/tendermint/libs/os"
2727

2828
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
@@ -53,8 +53,8 @@ import (
5353
porttypes "github.com/cosmos/ibc-go/v4/modules/core/05-port/types"
5454
ibchost "github.com/cosmos/ibc-go/v4/modules/core/24-host"
5555
ibckeeper "github.com/cosmos/ibc-go/v4/modules/core/keeper"
56-
ibcprovider "github.com/cosmos/interchain-security/x/ccv/provider"
57-
ibcproviderkeeper "github.com/cosmos/interchain-security/x/ccv/provider/keeper"
56+
ibcprovider "github.com/cosmos/interchain-security/v2/x/ccv/provider"
57+
ibcproviderkeeper "github.com/cosmos/interchain-security/v2/x/ccv/provider/keeper"
5858
liquiditykeeper "github.com/gravity-devs/liquidity/x/liquidity/keeper"
5959
liquiditytypes "github.com/gravity-devs/liquidity/x/liquidity/types"
6060
"github.com/strangelove-ventures/packet-forward-middleware/v4/router"
@@ -290,7 +290,7 @@ func NewAppKeeper(
290290
authtypes.FeeCollectorName,
291291
)
292292

293-
appKeepers.ProviderModule = ibcprovider.NewAppModule(&appKeepers.ProviderKeeper)
293+
appKeepers.ProviderModule = ibcprovider.NewAppModule(&appKeepers.ProviderKeeper, appKeepers.GetSubspace(providertypes.ModuleName))
294294

295295
govRouter := govtypes.NewRouter()
296296
govRouter.

app/keepers/keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
icahosttypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/types"
2020
ibctransfertypes "github.com/cosmos/ibc-go/v4/modules/apps/transfer/types"
2121
ibchost "github.com/cosmos/ibc-go/v4/modules/core/24-host"
22-
providertypes "github.com/cosmos/interchain-security/x/ccv/provider/types"
22+
providertypes "github.com/cosmos/interchain-security/v2/x/ccv/provider/types"
2323
liquiditytypes "github.com/gravity-devs/liquidity/x/liquidity/types"
2424
routertypes "github.com/strangelove-ventures/packet-forward-middleware/v4/router/types"
2525
)

app/modules.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ import (
4545
ibc "github.com/cosmos/ibc-go/v4/modules/core"
4646
ibcclientclient "github.com/cosmos/ibc-go/v4/modules/core/02-client/client"
4747
ibchost "github.com/cosmos/ibc-go/v4/modules/core/24-host"
48-
ibcprovider "github.com/cosmos/interchain-security/x/ccv/provider"
49-
ibcproviderclient "github.com/cosmos/interchain-security/x/ccv/provider/client"
50-
providertypes "github.com/cosmos/interchain-security/x/ccv/provider/types"
48+
ibcprovider "github.com/cosmos/interchain-security/v2/x/ccv/provider"
49+
ibcproviderclient "github.com/cosmos/interchain-security/v2/x/ccv/provider/client"
50+
providertypes "github.com/cosmos/interchain-security/v2/x/ccv/provider/types"
5151
"github.com/gravity-devs/liquidity/x/liquidity"
5252
liquiditytypes "github.com/gravity-devs/liquidity/x/liquidity/types"
5353
"github.com/strangelove-ventures/packet-forward-middleware/v4/router"

app/upgrades/v9/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package v9
22

33
import (
44
store "github.com/cosmos/cosmos-sdk/store/types"
5-
ccvprovider "github.com/cosmos/interchain-security/x/ccv/provider/types"
5+
ccvprovider "github.com/cosmos/interchain-security/v2/x/ccv/provider/types"
66

77
"github.com/cosmos/gaia/v11/app/upgrades"
88
)

go.mod

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/cosmos/cosmos-sdk v0.45.16-ics
88
github.com/cosmos/go-bip39 v1.0.0
99
github.com/cosmos/ibc-go/v4 v4.4.2
10-
github.com/cosmos/interchain-security v1.1.0-multiden
10+
github.com/cosmos/interchain-security/v2 v2.0.0-rc2
1111
github.com/gogo/protobuf v1.3.3
1212
github.com/golang/protobuf v1.5.3
1313
github.com/golangci/golangci-lint v1.52.2
@@ -33,6 +33,7 @@ require (
3333
cosmossdk.io/api v0.2.6 // indirect
3434
cosmossdk.io/core v0.5.1 // indirect
3535
cosmossdk.io/depinject v1.0.0-alpha.3 // indirect
36+
cosmossdk.io/errors v1.0.0-beta.7 // indirect
3637
filippo.io/edwards25519 v1.0.0-rc.1 // indirect
3738
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
3839
github.com/99designs/keyring v1.2.1 // indirect
@@ -56,6 +57,7 @@ require (
5657
github.com/armon/go-metrics v0.4.1 // indirect
5758
github.com/ashanbrown/forbidigo v1.5.1 // indirect
5859
github.com/ashanbrown/makezero v1.1.1 // indirect
60+
github.com/benbjohnson/clock v1.3.0 // indirect
5961
github.com/beorn7/perks v1.0.1 // indirect
6062
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
6163
github.com/bkielbasa/cyclop v1.2.0 // indirect
@@ -123,8 +125,7 @@ require (
123125
github.com/go-toolsmith/typep v1.1.0 // indirect
124126
github.com/go-xmlfmt/xmlfmt v1.1.2 // indirect
125127
github.com/gobwas/glob v0.2.3 // indirect
126-
github.com/gobwas/httphead v0.1.0 // indirect
127-
github.com/gobwas/pool v0.2.1 // indirect
128+
github.com/gobwas/ws v1.1.0 // indirect
128129
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
129130
github.com/gofrs/flock v0.8.1 // indirect
130131
github.com/gogo/gateway v1.1.0 // indirect
@@ -213,6 +214,7 @@ require (
213214
github.com/nishanths/predeclared v0.2.2 // indirect
214215
github.com/nunnatsa/ginkgolinter v0.9.0 // indirect
215216
github.com/olekukonko/tablewriter v0.0.5 // indirect
217+
github.com/onsi/ginkgo v1.16.5 // indirect
216218
github.com/opencontainers/go-digest v1.0.0 // indirect
217219
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect
218220
github.com/opencontainers/runc v1.1.5 // indirect
@@ -261,7 +263,6 @@ require (
261263
github.com/tdakkota/asciicheck v0.2.0 // indirect
262264
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect
263265
github.com/tendermint/go-amino v0.16.0 // indirect
264-
github.com/tendermint/spm v0.1.9 // indirect
265266
github.com/tetafro/godot v1.4.11 // indirect
266267
github.com/tidwall/btree v1.5.0 // indirect
267268
github.com/timakin/bodyclose v0.0.0-20221125081123-e39cf3fc478e // indirect
@@ -281,6 +282,7 @@ require (
281282
gitlab.com/bosi/decorder v0.2.3 // indirect
282283
go.etcd.io/bbolt v1.3.6 // indirect
283284
go.uber.org/atomic v1.10.0 // indirect
285+
go.uber.org/goleak v1.1.12 // indirect
284286
go.uber.org/multierr v1.8.0 // indirect
285287
go.uber.org/zap v1.24.0 // indirect
286288
golang.org/x/crypto v0.9.0 // indirect

0 commit comments

Comments
 (0)