pub async fn validator_fetch_and_commit(
pending_requests: &[OracleRequest],
validator_pk: &[u8],
current_height: u64,
schema_registry: &HashMap<[u8; 32], SchemaEntry>,
) -> Vec<OracleCommitPayload>Expand description
Fetch all pending oracle requests and produce commit transactions. validators call this after the previous block finalizes.