Module consts

Source
Expand description

VM parameters

Constantsยง

EMPTY_RECEIPTS_MERKLE_ROOT
Empty merkle root for receipts tree
FUEL_MAX_MEMORY_SIZE
Maximum memory in MiB
MEM_SIZE
Size of the VM memory, in bytes.
VM_MAX_RAM
Maximum VM RAM, in bytes.
VM_MEMORY_BALANCES_OFFSET
Offset for the assets balances in VM memory
VM_MEMORY_BASE_ASSET_ID_OFFSET
Offset for the assets balances in VM memory
VM_REGISTER_COUNT
Register count for checking constraints
VM_REGISTER_PROGRAM_COUNT
The number of writable registers.
VM_REGISTER_SYSTEM_COUNT
The number of readable registers.
VM_REGISTER_WIDTH
Encoded len of a register id in an instruction (unused)
WORD_SIZE
Length of a word, in bytes