EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

This error could be made clearer. Bad file name. #2082

Closed bytemaster closed 5 years ago

bytemaster commented 6 years ago

☁ eos [master] cleos set contract eosio contracts/eosio.bios/ -p eosio Reading WAST... Assembling WASM... 3096374ms thread-0 main.cpp:1186 main ] Failed with error: Assert Exception (10) !"error parsing wast": Error parsing WebAssembly text file: :1:1: expected '('

^

jafri commented 6 years ago

Bumped, common error.

quocle108 commented 6 years ago

I have them same error.

$cleos set contract eosio.token ../contracts/eosio.token -p eosio.token Reading WAST/WASM from ../contracts/eosio.token/eosio.token.wast... Assembling WASM... 2677748ms thread-0 main.cpp:1763 main ] Failed with error: Assert Exception (10) !"error parsing wast": Error parsing WebAssembly text file: :1:1: expected '(' { ^

wanderingbort commented 5 years ago

WAST support was deprecate and this error message now distinguishes between missing files and malformed WASM