Skip to main content

execute

Function execute 

Source
pub fn execute(config: &OracleConfig) -> Result<OracleOutcome>
Expand description

Validates a sealed Phase-B archive and creates a distinct sealed result.

ยงErrors

Returns an error for malformed archives, filesystem races, transport contract failures, or result-write failures. When the result directory can be created safely, structural failures leave failure.json and a result SHA256SUMS behind for audit and return an OracleFailure that carries the external manifest receipt. Cryptographic mismatches produce a complete summary with cryptographic_oracle_valid:false and return Ok so callers can distinguish a completed negative comparison from malformed evidence.