This MR adds skeleton for WebAssembly-based smart-contract optimistic rollups (SCORUs).
The approach is broadly similar to Example_arith
, but only the interface required by the protocol/L2 nodes is exposed.
Eventually parsing and evaluation will be implemented by calling lib_webassembly
via the Environment. This is stubbed out at
the moment (see TODO
comments and their corresponding issues).
Depends on !5352 (merged).
Fixes #2963 (closed)
Overview:
Protocol.Sc_rollup_PVM_sem.S
Sc_rollup_node.Pvm
make -C manifest && make all build-unreleased && \
dune exec src/proto_alpha/lib_protocol/test/integration/operations/main.exe -- test "^sc rollup$"
Test that #3130 (closed) is worked around
make -C docs -j p2p
Currently broken, waiting for fix in !5332 (merged):
(Strictly unrelated, but feel free to run for confidence:)
dune exec src/proto_alpha/lib_protocol/test/pbt/test_refutation_game.exe
docs/protocols/alpha.rst
for the protocol and the environment, CHANGES.rst
at the root of the repository for everything else).Reviewers
field below.Assignee
the next person who should take action on that MR