Function ckb_std::syscalls::vm_version

source ·
pub fn vm_version() -> Result<u64, SysError>
Available on non-crate feature simulator only.
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.