solana_sdk::precompiles

Function verify_if_precompile

Source
pub fn verify_if_precompile(
    program_id: &Pubkey,
    precompile_instruction: &CompiledInstruction,
    all_instructions: &[CompiledInstruction],
    feature_set: &FeatureSet,
) -> Result<(), PrecompileError>
Expand description

Check that a program is precompiled and if so verify it