Skip to main content

check_inventory_input_limit

Function check_inventory_input_limit 

Source
pub fn check_inventory_input_limit<D: DecoderConfig + 'static>(
    dec: D,
    valid: &[u8],
) -> Conformance
Expand description

Verify the inventory input-byte boundary and typed errors in both dispatch paths. This is opt-in for inventory-enabled builds; disabled builds use check_inventory_dispatch. It does not equate a part cap with a memory cap.