From 87769c248eef03493a887c0af87c1cd7b3fedb61 Mon Sep 17 00:00:00 2001 From: phrwlk Date: Mon, 18 Aug 2025 17:07:12 +0300 Subject: [PATCH] fix: error message in UndefinedLimit.Accept --- x/wasm/types/authz.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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