Repository navigation
v0.11.0: L6 minimal cross-call executor
v0.11.0 — L6 minimal cross-call executor
The v0.8.0 B4 fix made the wasm32 cross-call panic-loud rather
than silently returning NeoValue::Null. v0.11.0 takes the next
step: the panic sites now return a structured
Result<_, ContractCallError>. Cross-call still does not execute
on wasm32 (a real NeoVM in wasm32 form is months of work), but
the failure mode is type-safe.
Highlights
- L6 minimal — Three wasm32 syscall sites
(System.Runtime.LoadScript,System.Contract.Call,
System.Contract.CallNative) now return
Err(NeoError::Wasm32CrossCallUnavailable { syscall })instead
ofpanic!. NewContractCallError::Wasm32CrossCallUnavailable { syscall }variant; newNeoError::Wasm32CrossCallUnavailable { syscall }variant;From<NeoError> for ContractCallError
converts the underlyingNeoErrorto the typed variant.
The two iterator panic sites (iterator_next,iterator_value)
are unchanged — they are translator-bug detectors (Q4), not
cross-call failures, and must remain panic. - 5 new tests in
rust-devpack/tests/l6_cross_call.rs.
Test status
- 65 workspace test suites (was 64 at v0.10.0)
- 0 clippy errors, 0 failures
- 4 L7 conformance tests pass
See CHANGELOG.md for full details.