Skip to content

Commit

Permalink
Add AppModules
Browse files Browse the repository at this point in the history
Signed-off-by: Dongri Jin <[email protected]>
  • Loading branch information
dongrie committed Feb 2, 2024
1 parent 82d246f commit b4cddee
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,6 @@ replace (
// https://github.com/cosmos/cosmos-sdk/blob/v0.47.3/go.mod#L171-L182
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0

github.com/datachainlab/ibc-mock-client => /Users/dongri.jin/go/src/github.com/dongrie/ibc-mock-client
github.com/datachainlab/ibc-mock-client => github.com/dongrie/ibc-mock-client v0.3.3-0.20240202034046-2286f47fe7a8
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKoh
github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/dongrie/ibc-mock-client v0.3.3-0.20240202034046-2286f47fe7a8 h1:RLXUuvh/PJi0/THnVn/sTHH//jn2KYTAi8hCRCvodSw=
github.com/dongrie/ibc-mock-client v0.3.3-0.20240202034046-2286f47fe7a8/go.mod h1:+WXl7RLwjigJvsqxabHCqSp+qxBjTwkNV9KPHJndGhA=
github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
Expand Down
2 changes: 1 addition & 1 deletion tests/chains/tendermint/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,6 @@ replace (
// https://github.com/cosmos/cosmos-sdk/blob/v0.47.3/go.mod#L171-L182
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0

github.com/datachainlab/ibc-mock-client => github.com/dongrie/ibc-mock-client v0.3.3-0.20240119080002-1232e04f59cb
github.com/datachainlab/ibc-mock-client => github.com/dongrie/ibc-mock-client v0.3.3-0.20240202034046-2286f47fe7a8
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
)
4 changes: 2 additions & 2 deletions tests/chains/tendermint/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKoh
github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/dongrie/ibc-mock-client v0.3.3-0.20240119080002-1232e04f59cb h1:shZR3Ek6mEMdM2ujBUuCnqCKInYTUHjA8OvdOJ1WV+s=
github.com/dongrie/ibc-mock-client v0.3.3-0.20240119080002-1232e04f59cb/go.mod h1:9DE1/ctI8E166JSNmUyihtJlKT/Icb9ogjhV45dOlX0=
github.com/dongrie/ibc-mock-client v0.3.3-0.20240202034046-2286f47fe7a8 h1:RLXUuvh/PJi0/THnVn/sTHH//jn2KYTAi8hCRCvodSw=
github.com/dongrie/ibc-mock-client v0.3.3-0.20240202034046-2286f47fe7a8/go.mod h1:+WXl7RLwjigJvsqxabHCqSp+qxBjTwkNV9KPHJndGhA=
github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
Expand Down
6 changes: 6 additions & 0 deletions tests/chains/tendermint/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,13 @@ import (
ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported"
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
ibctypes "github.com/cosmos/ibc-go/v8/modules/core/types"
solomachine "github.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine"
ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint"
ibcmock "github.com/cosmos/ibc-go/v8/testing/mock"
"github.com/cosmos/ibc-go/v8/testing/simapp/upgrades"
ibctestingtypes "github.com/cosmos/ibc-go/v8/testing/types"

mockclient "github.com/datachainlab/ibc-mock-client/modules/light-clients/xx-mock"
mockclienttypes "github.com/datachainlab/ibc-mock-client/modules/light-clients/xx-mock/types"
)

Expand Down Expand Up @@ -564,6 +567,9 @@ func NewSimApp(
transfer.NewAppModule(app.TransferKeeper),
ibcfee.NewAppModule(app.IBCFeeKeeper),
ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
ibctm.NewAppModule(),
solomachine.NewAppModule(),
mockclient.NewAppModule(),
mockModule,
)

Expand Down

0 comments on commit b4cddee

Please sign in to comment.