Skip to content

Commit

Permalink
update ibc and allow push wasm08 code
Browse files Browse the repository at this point in the history
  • Loading branch information
GNaD13 committed Oct 9, 2023
1 parent 7096d5f commit ec74b7a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions app/ante/proposals_whitelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ var WhiteListModule = map[string]struct{}{
"/centauri.transfermiddleware.v1beta1.MsgAddParachainIBCTokenInfo": {},
"/centauri.transfermiddleware.v1beta1.MsgRemoveParachainIBCTokenInfo": {},
"/centauri.transfermiddleware.v1beta1.MsgAddRlyAddress": {},
"/ibc.lightclients.wasm.v1.MsgPushNewWasmCode": {},
"/ibc.lightclients.wasm.v1.MsgUpdateWasmCodeId": {},
}

func IsModuleWhiteList(typeUrl string) bool {
Expand Down
2 changes: 1 addition & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (appKeepers *AppKeepers) InitNormalKeepers(
appKeepers.ScopedIBCKeeper,
)

appKeepers.Wasm08Keeper = wasm08Keeper.NewKeeper(appCodec, appKeepers.keys[wasmtypes.StoreKey], authorityAddress, homePath)
appKeepers.Wasm08Keeper = wasm08Keeper.NewKeeper(appCodec, appKeepers.keys[wasmtypes.StoreKey], authorityAddress, homePath, &appKeepers.IBCKeeper.ClientKeeper)

// ICA Host keeper
appKeepers.ICAHostKeeper = icahostkeeper.NewKeeper(
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ replace (
// lock wasmvm so we do not break the grandpa contract
github.com/CosmWasm/wasmvm => github.com/CosmWasm/wasmvm v1.2.1
// ibc-go with wasm client
github.com/cosmos/ibc-go/v7 => github.com/notional-labs/ibc-go/v7 v7.2.1-0.20230916094126-bdea9fee17dd
github.com/cosmos/ibc-go/v7 => github.com/notional-labs/ibc-go/v7 v7.2.1-0.20230926033419-9267213cb130
// ics
github.com/cosmos/interchain-security/v3 => github.com/notional-labs/interchain-security/v3 v3.0.0-20230916095915-6ebb16c60de1

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,8 @@ github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm
github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c=
github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01 h1:koCsoc1NGpU8TntXwM/s7Z/whsKNDVPiLim35HLBAzA=
github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01/go.mod h1:GFQ8TsXDMTpu7kif0Dwddz6rxazy0ZJQHfN38ZmAodI=
github.com/notional-labs/ibc-go/v7 v7.2.1-0.20230916094126-bdea9fee17dd h1:2f2oB1gUgw3u1iyt9t3mj50ZboVxvCyP4guGmvmTKME=
github.com/notional-labs/ibc-go/v7 v7.2.1-0.20230916094126-bdea9fee17dd/go.mod h1:hjcl3RPLSDf0LSXrFyk2iTQCCFs5pfLbJb8h/5gJ2Vg=
github.com/notional-labs/ibc-go/v7 v7.2.1-0.20230926033419-9267213cb130 h1:M9sqzYDYPn/Zn8EDNlhjnyTBHOYBLBzp/ukhr80P9i4=
github.com/notional-labs/ibc-go/v7 v7.2.1-0.20230926033419-9267213cb130/go.mod h1:hjcl3RPLSDf0LSXrFyk2iTQCCFs5pfLbJb8h/5gJ2Vg=
github.com/notional-labs/interchain-security/v3 v3.0.0-20230916095915-6ebb16c60de1 h1:hTmJPfohtG7XxmnI2TPJQ1KyqNxAMkEFQB60R+NXTCM=
github.com/notional-labs/interchain-security/v3 v3.0.0-20230916095915-6ebb16c60de1/go.mod h1:2fILBgypEZcwR3BSzKDw+EsYtMKv9Z6cYXfouh4xTYU=
github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230921184903-f09128a3ed26 h1:M5zhyqP311vK9HVH8qATriKWZctCtlBejZJ7d/yfjCY=
Expand Down

0 comments on commit ec74b7a

Please sign in to comment.