We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
receive = ({ amount, msg, sender }: { amount: Uint128; msg: Binary; sender: string; }, _funds?: Coin[]): MsgExecuteContractEncodeObject => { const msg = { receive: { amount, msg, sender } }; return { typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", value: MsgExecuteContract.fromPartial({ sender: this.sender, contract: this.contractAddress, msg: toUtf8(JSON.stringify(msg)), funds: _funds }) }; };
Should call the local variable _msg
_msg
The text was updated successfully, but these errors were encountered:
any updates here?
Sorry, something went wrong.
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 }) }; };
No branches or pull requests
Should call the local variable
_msg
The text was updated successfully, but these errors were encountered: