Skip to main content

decode_request_missing_capabilities

Function decode_request_missing_capabilities 

Source
pub fn decode_request_missing_capabilities(payload: &[u8]) -> Vec<String>
Expand description

Extract the missing_capabilities recorded on an approval_request payload (#595) — the capability shortfall the gate computed when it paused the call.

Read back at respond time and signed into the response as its covered_capabilities. Absent or malformed decodes to empty: the grant then covers nothing beyond the ordinary gate, the narrow direction.