Module execution_budget

Source

Structs§

SVMTransactionExecutionAndFeeBudgetLimits
SVMTransactionExecutionBudget
SVMTransactionExecutionCost

Constants§

DEFAULT_HEAP_COST
Roughly 0.5us/page, where page is 32K; given roughly 15CU/us, the default heap page cost = 0.5 * 15 ~= 8CU/page
DEFAULT_INSTRUCTION_COMPUTE_UNIT_LIMIT
MAX_BUILTIN_ALLOCATION_COMPUTE_UNIT_LIMIT
MAX_CALL_DEPTH
Max call depth. This is the maximum nesting of SBF to SBF call that can happen within a program.
MAX_COMPUTE_UNIT_LIMIT
MAX_HEAP_FRAME_BYTES
MAX_INSTRUCTION_STACK_DEPTH
Max instruction stack depth. This is the maximum nesting of instructions that can happen during a transaction.
MAX_LOADED_ACCOUNTS_DATA_SIZE_BYTES
The total accounts data a transaction can load is limited to 64MiB to not break anyone in Mainnet-beta today. It can be set by set_loaded_accounts_data_size_limit instruction
MIN_HEAP_FRAME_BYTES
STACK_FRAME_SIZE
The size of one SBF stack frame.