pub fn vm_version() -> Result<u64, SysError>
Available on neither crate feature
native-simulator
nor crate feature stub-syscalls
.Expand description
VM version syscall returns current running VM version, so far 2 values will be returned:
- Error for Lina CKB-VM version
- 1 for the new hardfork CKB-VM version.
This syscall consumes 500 cycles.