Skip to main content

INVOKE_FUEL

Constant INVOKE_FUEL 

Source
pub const INVOKE_FUEL: u64 = 100_000_000;
Expand description

Fuel budget for a single invoke call.

Handler input and output are allowed to reach 1 MiB. The previous one-million unit budget could be exhausted by ordinary JSON decoding before a handler’s algorithm ran (Mira’s battery handler reproduced this with roughly 100 samples). The epoch deadline remains the authoritative five-second wall-clock guard, while this larger deterministic budget lets valid bounded payloads run.