WASM: Introduce a new PVM revision

Context

Prerequisite for adding a new host function as a more efficient alternative to store_has. Main motivation for this change is the reliance of the EVM kernel to the transactional layer of the SDK.

Manually testing the MR

V1 and V2 should be completely equivalent, modulo the version string. The lib_scoru_wasm regression tests are asserting that we don’t modify the behavior of the PVM after the introduction of this version.

There is a lot of boilerplate in this MR related to tests. Hopefully, this won’t happen again.

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 Thomas Letan

Merge request reports

Loading