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

MINT function is not working #848

Closed
lhtvineettiwari opened this issue Dec 1, 2022 · 2 comments
Closed

MINT function is not working #848

lhtvineettiwari opened this issue Dec 1, 2022 · 2 comments

Comments

@lhtvineettiwari
Copy link

lhtvineettiwari commented Dec 1, 2022

Giving error while executing MINT function in cw20 smart contract (git clone https://github.com/CosmWasm/cw-plus.git)

raw_log: 'failed to execute message; message index: 0: Unauthorized: execute wasm contract failed'

On contract State i am also getting this

{"name":"stablecoin","symbol":"GBP","decimals":6,"total_supply":"1000000000000","mint":null}

This is my INITD

INITD='{"decimals":6,"initial_balances":
[{"address":"cosmoszsfnu6dk9n8gneftup9tqgasjm0ysrssr3xty3","amount":"1000000000000"}],
"name":"stablecoin","symbol":"GBP"}' 

Let me know if i am missing something or doing anything wrong.

@ueco-jb
Copy link
Contributor

ueco-jb commented Dec 1, 2022

"mint":null

->

Unauthorized

Next time try going to cosmwasm discord for an advice.

@ueco-jb ueco-jb closed this as completed Dec 1, 2022
@lhtvineettiwari
Copy link
Author

I tried, but no replies though.

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

2 participants