Skip to main content

CALL_FRAME_COST

Constant CALL_FRAME_COST 

Source
pub const CALL_FRAME_COST: u64 = 1024;
Expand description

#3 call-frame base: the fixed per-CALL frame-setup cost (callee address-space page table + dispatch table + frame push), independent of code size. The code-size (compile) and read-only-page-in components are added on top by call_frame_cost. Charged at an in-kernel CALL (ecall.jar OP_HOST_CALL). TODO(gas-calibration): placeholder, subject to change.