pub fn validate_proof(
proof_data: &[u8],
_expected_resource_hash: &[u8; 32],
expected_proof: &[u8; 32],
) -> Result<bool, ResourceError>Expand description
Validate proof data against expected proof. proof_data = [resource_hash: 32 bytes][proof: 32 bytes]
Only checks the proof portion (bytes 32..64) against the expected proof, matching Python’s behavior which validates the proof hash, not the resource hash prefix.