eos icon indicating copy to clipboard operation
eos copied to clipboard

The wast file exists and is correct, but when run "cleos set code "prompt is not found

Open amActiveHello opened this issue 8 years ago • 1 comments

image 2、 image

amActiveHello avatar Aug 01 '18 02:08 amActiveHello

In more recent releases, the command that takes just the parent directory name is set contract. cleos set code now expects the full path to the WAST file itself. The command you want is:

cleos --print-request set contract eosio ./hello

If there is documentation that says set code accepts the parent path, it needs to change. Please paste a link.

jgiszczak avatar Aug 01 '18 21:08 jgiszczak