WASM PVM: Consider gas metering for compute-step function in WASM PVM
Goal: Confidence in execution time (for L1).
As a backup plan in case we are not able to ensure small tick semantics of compute_step
for the WASM PVM, one alternative is to introduce gas-metering. The idea is that a compute_step
would fail if it runs out of Layer 1 gas on computation. This would still be considered a bug and pose as an "withdraw all assets" exploit for the rollup. But it safe guard the integrity of Layer 1.
Edited by Joel Bjornson