referrerpolicy=no-referrer-when-downgrade

Function polkadot_sdk_frame::traits::base2::verify_proof

pub fn verify_proof<Hashing, Key, Value>(
    root: &<Hashing as Hasher>::Out,
    proof: &[u8],
    key: &Key,
    value: &Value,
) -> Result<(), DispatchError>
where Hashing: Hasher, <Hashing as Hasher>::Out: Decode, Key: Encode + Decode, Value: Encode + Decode,
Expand description

Verify the existence of key and value in a given trie root and proof.