Skip to main content

MAX_INSTRUCTION_PROVIDER_VARIANTS

Constant MAX_INSTRUCTION_PROVIDER_VARIANTS 

Source
const MAX_INSTRUCTION_PROVIDER_VARIANTS: usize = 32;
Expand description

Maximum number of distinct keys accepted in a v0.2 components.instructions object ("default" plus per-provider variants) — ABF v0.2 §2.2. A real bundle needs at most one entry per known harness (nine, as of providers.rs) plus "default"; generous headroom for future providers without leaving this unbounded, mirroring this module’s other component-count caps (e.g. MAX_ACCOUNT_REQUIREMENTS).