Skip to main content

LAMPORT_GATE_CAPACITY

Constant LAMPORT_GATE_CAPACITY 

Source
pub const LAMPORT_GATE_CAPACITY: usize = crate::MAX_TX_ACCOUNTS; // 254usize
Expand description

Per-gate account capacity: the runtime’s transaction account bound. An instruction can never carry more accounts than the transaction that contains it, so a gate over one instruction’s slice always fits; anything larger is refused loudly at install (LAMPORT_GATE_TOO_MANY_ACCOUNTS).