Skip to content
New issue

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

Helper transfer method failed to execute message #492

Closed
mrmuke opened this issue Oct 16, 2021 · 0 comments
Closed

Helper transfer method failed to execute message #492

mrmuke opened this issue Oct 16, 2021 · 0 comments

Comments

@mrmuke
Copy link

mrmuke commented Oct 16, 2021

Error: Error when broadcasting tx 1DFF626B5C2D9219976A1BF2708C9F66C6E30B4F67B87E7FB5B3B515AD47B21C at height 861856. Code: 5; Raw log: failed to execute message; message index: 0: Error parsing into type cw20::msg::Cw20ExecuteMsg: Invalid type: execute wasm contract failed

This error occurs when sending a transfer using the CW20 helper method "transfer"

await contract.use(contractAddress).transfer(user.walletAddress,recipientAddress,transferAmount)
@mrmuke mrmuke closed this as completed Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant