Closed boddumanohar closed 11 months ago
The wasm_exec.js version has to match version of go that the wasm target is built with
the go version used to build the wasm binary and wasm_exec.js version. Both of them should always match. Thanks for clarifying @sculptex 👍
Currently wasm demo uses
wasm_exec.js
version go1.21https://github.com/0chain/gosdk/blob/acc4fcd55ab597f547c422eb3ed1655d71395109/wasmsdk/demo/index.html#L6
But using this version results in this error
To reproduce this:
go to wasm demo folder
cd wasmsdk/demo go run main.go