1

I was able to push the contract to the jungle test net but i am unable to run the contract.

i get this error:

Error 3010008: No ABI found

enter image description here

what am i doing wrong?

thanks.

  • Please post the command used to set the contract. Did you set it to account hello or hello.code? – Nat Jul 15 '18 at 17:36
  • this is the command i ran: cleos -u jungle.cryptolions.io:18888 set contract manantest hello -p manantest – manan mehta Jul 15 '18 at 17:45
  • Please post the contract's code. I'm assuming that you compiled the wast/abi before pushing. I'm specifically interested in how your macro is configured. Also, you can nano your abi to see if the actions are there. If they are not, eosiocpp is not seeing/interpreting your macro appropriately – Nat Jul 15 '18 at 17:48
  • If I'm setting a contract from the current directory, I would go cleos set contract eoiso ../eosio.token which picks up the web assembly and abi – Nat Jul 15 '18 at 17:51
1

check your ABI using:

cleos get abi YOUR_CONTRACT

If returned ABI is null update your contract:

cd YOUR_CONTRACT_DIR
cleos set contract YOUR_CONTRACT_ACC . YOUR_CONTRACT.wast YOUR_CONTRACT.abi -p manantest

I hope it will help you

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.