0

I'm working on EOSIO tutorial and now I'm workingon https://developers.eos.io/eosio-home/docs/data-persistence part.

Right now, I'm stuck on deploying contract.

jongbok@DESKTOP-96ICBPJ:~/eos/contracts/addressbook$ cleos set contract addressbook /home/jongbok/eos/contracts/addressbook -p addressbook@active
Reading WASM from /home/jongbok/eos/contracts/addressbook/addressbook.wasm...
Publishing contract...

Terminal have to show transactions but it never proceeds. Can anybody help for this problem? Thank you.

0

I'm assuming you have the private key for account addressbook in your wallet?

Have you checked the abi file if it is not empty? the newer versions of CDT sometimes do that.

  • Thanks for your reply. What should I check on abi file? I have an addressbook.abi file, but I'm not sure what should I check. – Jongbok Lee Dec 12 '18 at 2:57
  • is the abi file empty? if not do you see all the entries in it? – junep89 Dec 12 '18 at 5:53
  • Yes. I can see entries including upsert, erase, person – Jongbok Lee Dec 12 '18 at 6:37
  • May I ask which test-net you're deploying it in? It might just be a network issue or such – junep89 Dec 12 '18 at 13:53
  • Sorry for late reply. I'm using Ubuntu, and I'm not sure which test-net I'm deploying it in. I also think it might be a network issue – Jongbok Lee Dec 17 '18 at 0:32
0
  • Is nodeos running?
  • What OS / build version are you on?

If keosd was not unlocked, you would be getting a permission error and it doesn't sound like the ABI is an issue yet because he hasn't pushed the contract.

You can add the flags --print-request --print-response to see where the communication with the chain is getting hung.

  • Thanks for your reply. Nodeos is running and my version is v1.4.4 My wallet is unlocked. Where should I put flags(--print-request, --print-response)? – Jongbok Lee Dec 12 '18 at 8:02
  • in the options block of the command cleos set contract [OPTIONS] account [contract-dir] [wasm-file] [abi-file] That's weird that it just hangs like that. – Nat Dec 12 '18 at 11:18
  • Sorry for late replay. I guess it might be a network issue, so I'm trying it on other network. Thank you. – Jongbok Lee Dec 17 '18 at 0:33

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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