execute cw20 contract with interchain account
By Đức Hạnh Bùi @hanhbd1
I try to execute an transfer cw20 via ibc with ICS-27 standard
wasmd tx intertx submit /src/app/send.json --connection-id connection-0 --chain-id controller-chain --from validator0 --home /wasmd --gas-prices 0.00025IOSGD --gas-adjustment 1.5 --gas auto --broadcast-mode block -y
this is json file
{"@type":"/cosmwasm.wasm.v1.MsgExecuteContract","sender":"iwasm1atjwalyqn2lhv6nx5jaa2vmlkx622krkd5nk9psarjzr5edym0useyc78m","contract":"iwasm14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s52rg49","msg":{"transfer":{"amount":"1","recipient":"iwasm1zt4vz507ynhe3xyvpmj4c53c53xe4zud8456kc"}},"funds":[]}
the submit success fully but nothing happen. I check tx hash and got this error.
message type not allowed: /cosmwasm.wasm.v1.MsgExecuteContract: unauthorized
so can any one help