Skip to content

v0.13.1: L7.v3 cross-call-wrapper golden

Choose a tag to compare

@Jim8y Jim8y released this 27 Jun 23:55
· 50 commits to master since this release

v0.13.1 — L7.v3 cross-call-wrapper golden

Follow-up to v0.13.0. The v0.12.0 work added
contracts/cross-call-wrapper/ and wasm-neovm/tests/l6_real_executor.rs
(bytecode-shape test for System.Contract.Call SYSCALL emission),
but didn't add the wrapper to the L7.v3 golden set. v0.13.1
adds the missing golden.

Highlights

  • L7.v3 cross-call-wrapper golden — new
    wasm-neovm/tests/golden/cross-call-wrapper.json. The oracle
    invokes totalSupplyOfTarget on the wrapper; the cross-call
    dispatches to a zero-hash target, the host FAULTs (no contract
    to dispatch to), and the golden captures the FAULT state. The
    L7.v3 conformance test now iterates 8 goldens (was 7).
  • This documents the real cross-call behaviour: a contract that
    calls another contract's method via System.Contract.Call
    produces a SYSCALL in the .nef (proven by l6_real_executor),
    and the host's NeoVM dispatches it at runtime. When the target
    contract is not deployed (zero hash), the dispatch FAULTs.

Test status

  • 67 workspace test suites (unchanged from v0.13.0)
  • 0 clippy errors, 0 failures
  • 4 L7 conformance tests pass against 8 L7.v3 goldens

See CHANGELOG.md for full details.