diff --git a/x/wasm/types/authz.go b/x/wasm/types/authz.go index 14ea84736..f72f57d7a 100644 --- a/x/wasm/types/authz.go +++ b/x/wasm/types/authz.go @@ -545,7 +545,7 @@ func (u UndefinedLimit) ValidateBasic() error { // Accept always returns error func (u UndefinedLimit) Accept(_ sdk.Context, _ AuthzableWasmMsg) (*ContractAuthzLimitAcceptResult, error) { - return nil, sdkerrors.ErrNotFound.Wrapf("undefined filter") + return nil, sdkerrors.ErrNotFound.Wrapf("undefined limit") } // NewMaxCallsLimit constructor