Draft: WASM: centralize kernels into their own library

Context

Proof of concept, drafted for now.

Centralizes WASM kernels into a unique library, to allow testing at multiple stage (in the protocol, in lib_scoru_wasm, in tezt tests).

Manually testing the MR

Run the CI, or alternatively the two affected tests:

  • dune exec src/proto_alpha/lib_protocol/test/integration/main.exe -- test "^sc rollup wasm$"
  • dune exec src/lib_scoru_wasm/test/test_scoru_wasm.exe -- test "^WASM PVM$"

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Pierrick Couderc

Merge request reports

Loading