Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Update BBS interop tests to support latest Go and Node versions #3421

Open
DRK3 opened this issue Oct 27, 2022 · 0 comments
Open

Update BBS interop tests to support latest Go and Node versions #3421

DRK3 opened this issue Oct 27, 2022 · 0 comments

Comments

@DRK3
Copy link
Contributor

DRK3 commented Oct 27, 2022

The check_bbs_interop.sh script used to copy the wasm_exec.js file directly from $GOROOT/misc/wasm/wasm_exec.js. However, the latest version of Go works differently in that the functionality in wasm_exec.js has been reworked to separate out Node-specific code into a separate file ($GOROOT/misc/wasm/wasm_exec_node.js). These changes break our BBS interop testing code. As an interim solution, in #3418 I manually copied the old wasm_exec.js file in our project instead of copying the latest from $GOROOT/misc/wasm/wasm_exec.js. We should find a way to rework our BBS interop testing code to work with the latest verison.

Additionally, the current BBS interop tests don't work on the latest Node version (I tested with 16.17.0 and it failed). The CI is currently using 12.14.x, which does work (with the older script I mentioned above). We should also update the code to work with the latest Node.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant