token-contract-as icon indicating copy to clipboard operation
token-contract-as copied to clipboard

Changed the wasm binary output destination

Open Lev-Stambler opened this issue 4 years ago • 1 comments

Change the contracts build destination to out/main.wasm.

The near-cli modules expects the contract to be at ./out/main.wasm rather than ./build/release/contract.wasm. This caused the following failure both locally and on Gitpod:

    ENOENT: no such file or directory, open './out/main.wasm'

      at LocalTestEnvironment.setup (node_modules/near-cli/test_environment.js:37:29)

Lev-Stambler avatar Jan 24 '21 22:01 Lev-Stambler

gitpod-io[bot] avatar Jan 24 '21 22:01 gitpod-io[bot]