diff --git a/app/ante/proposals_whitelist.go b/app/ante/proposals_whitelist.go index 7559b6eff..ce69497b3 100644 --- a/app/ante/proposals_whitelist.go +++ b/app/ante/proposals_whitelist.go @@ -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 { diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index d9fc6e694..c526ddc75 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -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( diff --git a/go.mod b/go.mod index ef23dd128..818d6622e 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 0c2b82dfe..3bef30f5a 100644 --- a/go.sum +++ b/go.sum @@ -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=