You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above message, the issue with the contract execution msg is that the JSON is missing the double quotes. Instead of sending {"claim": {}}, {claim: {}} was sent instead. This ended up on a block and causes the http server to fail when decoding the transaction. (gRPC works but http fails). The error message is:
{
"code": 2,
"message": "json: error calling MarshalJSON for type types.RawContractMessage: invalid character 'c' looking for beginning of object key string",
"details": [
]
}
Version
v0.46.13
Steps to Reproduce
Create a wasm smart contract with an ExecuteMsg e.g. Claim
Summary of Bug
Sending an Authz MsgExec with an invalid contract execution msg does not get invalidated and is included in a block.
E.g transaction
In the above message, the issue with the contract execution msg is that the JSON is missing the double quotes. Instead of sending
{"claim": {}}
,{claim: {}}
was sent instead. This ended up on a block and causes the http server to fail when decoding the transaction. (gRPC works but http fails). The error message is:Version
v0.46.13
Steps to Reproduce
{claim:{}}
The text was updated successfully, but these errors were encountered: