diff --git a/x/ibc-rate-limit/ibc_middleware_test.go b/x/ibc-rate-limit/ibc_middleware_test.go index cf2f01562..788dd1b5d 100644 --- a/x/ibc-rate-limit/ibc_middleware_test.go +++ b/x/ibc-rate-limit/ibc_middleware_test.go @@ -613,7 +613,7 @@ func (suite *MiddlewareTestSuite) InstantiateRLContract(quotas string) sdk.AccAd func (suite *MiddlewareTestSuite) RegisterRateLimitingContract(addr []byte) { addrStr, _ := sdk.Bech32ifyAddressBytes("neutron", addr) app := suite.GetNeutronZoneApp(suite.ChainA) - _ = app.RateLimitingICS4Wrapper.IbcratelimitKeeper.SetParams(suite.ChainA.GetContext(), types.Params{ContractAddress: addrStr}) + _ = app.RateLimitingICS4Wrapper.SetParams(suite.ChainA.GetContext(), types.Params{ContractAddress: addrStr}) require.True(suite.ChainA.TB, true) } diff --git a/x/ibc-rate-limit/ics4_wrapper.go b/x/ibc-rate-limit/ics4_wrapper.go index f966a17e9..d1ac8f18c 100644 --- a/x/ibc-rate-limit/ics4_wrapper.go +++ b/x/ibc-rate-limit/ics4_wrapper.go @@ -103,6 +103,6 @@ func (i *ICS4Wrapper) GetParams(ctx sdk.Context) (params types.Params) { return params } -func (i *ICS4Wrapper) SetParams(ctx sdk.Context, params types.Params) { - i.IbcratelimitKeeper.SetParams(ctx, params) +func (i *ICS4Wrapper) SetParams(ctx sdk.Context, params types.Params) error { + return i.IbcratelimitKeeper.SetParams(ctx, params) }