iost-official / go-iost

Official Go implementation of the IOST blockchain
https://developers.iost.io/
GNU Lesser General Public License v3.0
565 stars 112 forks source link

Invalid character 'd' looking for beginning of value #1098

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi,

I'm trying to run call method and I'm getting the following error below.

?[31mERROR:?[m invalid args, should be json array: [developer], invalid character 'd' looking for beginning of value

The command I'm trying to run is: iwallet --server localhost:30002 --account admin call "ContractGB7SokuJQYFXLCxUhb14vVFEviXoAe8msLN7Wcd3XFnx" "hello" '["developer"]' --chain_id 1020

Any help would be greatly appreciatated.

QwertyJack commented 5 years ago

Should be related to the contract. Maybe posting the contract helps.