fix(x/authz): non utf-8 characters in logs (#19923)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
This commit is contained in:
parent
37131cf26d
commit
ab45a85307
@ -43,3 +43,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
|
||||
### Consensus Breaking Changes
|
||||
|
||||
* [#19188](https://github.com/cosmos/cosmos-sdk/pull/19188) Remove creation of `BaseAccount` when sending a message to an account that does not exist.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* [#19874](https://github.com/cosmos/cosmos-sdk/pull/19923) Now when querying transaction events (cosmos.tx.v1beta1.Service/GetTxsEvent) the response will contains only UTF-8 characters
|
||||
@ -220,7 +220,8 @@ func (k Keeper) DeleteGrant(ctx context.Context, grantee, granter sdk.AccAddress
|
||||
skey := grantStoreKey(grantee, granter, msgType)
|
||||
grant, found := k.getGrant(ctx, skey)
|
||||
if !found {
|
||||
return errorsmod.Wrapf(authz.ErrNoAuthorizationFound, "failed to delete grant with key %s", string(skey))
|
||||
return errorsmod.Wrapf(authz.ErrNoAuthorizationFound,
|
||||
"failed to delete grant with given granter: %s, grantee: %s & msgType: %s ", granter.String(), grantee.String(), msgType)
|
||||
}
|
||||
|
||||
if grant.Expiration != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user