Skip to content

Commit

Permalink
chore: add MsgExecuteContractCompat docs context
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-moore committed Sep 30, 2023
1 parent 796d20a commit d136734
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitbook/core-modules/wasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ console.log(txHash);

### MsgExecuteContractCompact

There are some compatibility issue parsing the funds array in the previous example with EIP712, hence we introduced MsgExecuteContractCompact which converts the funds into a string
There are some compatibility issue parsing the funds array in the previous example with EIP712.
Since MsgExecuteContract can't be converted to EIP712 and then signed by ethereum wallets, we introduced MsgExecuteContractCompact which converts the funds into a string and therefore allows for EIP712 transformation.
Note that the MsgExecuteContract and MsgExecuteContractCompat underlying messages are the same. MsgExecuteContractCompat will just format for EIP712 compatibility.

An array of funds:

Expand Down

0 comments on commit d136734

Please sign in to comment.