Open adairrr opened 1 year ago
any updates here?
Hi, I believe this's been fixed now, the current generated code's like this:
receive = ({
amount,
msg,
sender
}: {
amount: Uint128;
msg: Binary;
sender: string;
}, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
return {
typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract",
value: MsgExecuteContract.fromPartial({
sender: this.sender,
contract: this.contractAddress,
msg: toUtf8(JSON.stringify({
receive: {
amount,
msg,
sender
}
})),
funds: _funds
})
};
};
Should call the local variable
_msg