Closed CharlieMc0 closed 2 weeks ago
Describe the Bug When trying setup a Authz grant for the emissions.MsgWithdrawEmission message type it fails with this error.
emissions.MsgWithdrawEmission
Error: no concrete type registered for type URL /zetachain.zetacore.emissions.MsgWithdrawEmission against interface *authz.Authorization
To Reproduce Try to use the /cosmos.authz.v1beta1.MsgGrant to allow another address to submit the MsgWithdrawEmission on behalf of a OS node.
/cosmos.authz.v1beta1.MsgGrant
{ "messages": [ { "@type": "/cosmos.authz.v1beta1.MsgGrant", "granter": "zeta1c9876", "grantee": "zeta1c1234...", "grant": { "authorization": { "@type": "/zetachain.zetacore.emissions.MsgWithdrawEmission" }, "expiration": null } } ] } ], }
Expected Behavior This should work correctly without any errors.
Need to be added in codec.go, should solve the issue. We should also add MsgUpdateParams
codec.go
MsgUpdateParams
@CharlieMc0 Can we close this now ?
Describe the Bug When trying setup a Authz grant for the
emissions.MsgWithdrawEmission
message type it fails with this error.To Reproduce Try to use the
/cosmos.authz.v1beta1.MsgGrant
to allow another address to submit the MsgWithdrawEmission on behalf of a OS node.Expected Behavior This should work correctly without any errors.