token-contract-as
token-contract-as copied to clipboard
Changed the wasm binary output destination
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)