Closed
Milestone
(OKR 2022Q3 - 2.2) SCORU WASM PVM Fast Execution
Milestone ID: 2658169
Requires: %(OKR 2022Q3 - 2.1) SCORU WebAssembly PVM I
Parallel: %(OKR 2022Q3 - 2.1) SCORU Wasm - Small Ticks
Next: %SCORU WASM Fast Execution I
Design
Section WASM PVM in the design document is mostly relevant to this milestone.
Goal
Implement all the changes to the WASM PVM that are necessary for Fast Execution to work properly.
Overview
-
Increase number of ticks that may happen in a commitment period -
Change tick count data type in commitment to int64
#3589 (closed) !6102 (merged)
-
-
Top-level calls take a fixed number of ticks -
Determine a good number of ticks to use #3590 (closed) !6460 (merged) -
Ensure PVM enforces the fixed number #3598 (closed) !6177 (merged)
-
-
Machine state is empty for snapshots -
Evaluate options A and B from the design (result is option B) -
Move input, output buffers and durable storage out of eval config #3779 (closed) !6290 (merged) -
Ensure PVM clears the state at appropriate times #3608 (closed) !6356 (merged)
-
-
Fast Execution library can call host functions -
PVM ensures main module memory is exported #3622 (closed) !6242 (merged) -
Only provide main module memory to host function instead of entire module #3705 (closed) !6189 (merged) -
Restrict host functions when called from "start" #3843 (closed) !6344 (merged)
-
-
L2 node decoupling from protocol -
Decouple L2 node from protocol PVM signatures #3787 (closed) !6400 (merged)
-