pub fn compute_commit_hash(
validator_pk: &[u8],
req_id: &[u8; 32],
response_body: &[u8],
response_status: u16,
) -> [u8; 32]Expand description
Commit hash: validator commits to their response without revealing it. commit_hash = blake3(“oracle:commit:” || validator_pk || request_id || response_body)