Expand description
Per-host-call multi-gas dimension assignment for Stylus execution: each host
op contributes the same per-dimension gas as the equivalent EVM opcode.
Framework gas (host ink, the EVM-API surcharge, the per-call storage cache)
is left undimensioned here and falls into the WasmComputation residual.
Functions§
- account_
touch - Dimension split of touching an account in Stylus, matching EIP-2929 account
access.
ext_code_costis the extra read charged when the code is loaded. - call_
cost - Dimension split of the caller’s access cost for a Stylus sub-call, matching EIP-2929 call gas (the forwarded gas the callee consumes is attributed by the callee, not here).
- log
- History-growth dimension of a Stylus
emit_log. - state_
load - Dimension split of a Stylus
storage_load, matching SLOAD. - state_
store - Dimension split of a Stylus
storage_store, matching SSTORE. The reentrancy sentry check is the caller’s responsibility.