Repository navigation
Releases
Releases · Oraclizer/oip-spec
OIP v0.6.2
OIP v0.6.2 adds configured THRESHOLD envelope verification to wire version 6 in Rust and Go.
THRESHOLD verification
- Scheme 2 carries an ordered list of member IDs and Ed25519 signatures. Every supplied signature is verified over the same canonical Core signing input.
- The receiver selects one current group for the deployment, source domain, principal, group key ID and authority epoch. It checks the registration, quorum, field length and member order before accepting the envelope.
- The persistent Rust reference authority checks the current group at execution, publication reauthorization and exact authorized resolution. Its selected policy binds the registration used for those checks.
Fixes
- The Go installed-channel receiver checks the verification key against the authenticated remote key of the installed channel.
- Rust checks that the channel supports its signed response before executing or closing a call through a signed response entry point.
Verification
- The release checks compare Rust and Go with executable Isabelle models across 692 typed transport vectors and 22 THRESHOLD vectors. The scoped signed-response comparison covers 261 inputs.
- The reference checks also exercise selected authority state, retained responses, recovery and source and receiver storage boundaries under their stated conditions.
OIP v0.6.1
OIP v0.6.1 extends wire version 6 with state commitment synchronization and enables Write in the Ed25519 reference configuration.
Added
SyncCommitmentrecords an initial snapshot, an incremental commitment or an authorized full resynchronization for one asset and origin domain.CurrentCommitmentreads the selected entry with its current authority epoch and revision.- Binary source attestations bind the deployment, asset, origin domain and event, source epoch and roster, position, commitment and predecessor. The reference source signs the record it reads from its authenticated journal and independent selection store.
SyncCommitmentusesSTATE_COMMITMENT_SYNCED(29),STATE_COMMITMENT_MISMATCH(39),STATE_COMMITMENT_STALE(40), andSOURCE_ATTESTATION_REJECTED(41). The exact authorized retry returns the retained result. Responses to earlier operations apply the existing unknown-code rules to these numbers.- The version 6 extension rules specify how to append an opcode within an existing family and distinguish an unknown opcode from a known operation excluded by the configured profile.
Reference behavior
- Write uses its existing LOCK_MANAGEMENT opcode, operand layout and
DATA_UPDATEDresponse. A successful write records its value, next asset version and exact result in the selected authority image. - Generic mutable entry points enforce the selected ordered maintenance boundary.
- The reference configuration accepts 28 of the 33 operations. The v0.5 correspondence records the disposition and owner of each remaining item.
Verification
- Rust, Go and the exported Isabelle transport model matched all seven recorded fields across 692 transport vectors, including 512 generated cases. The versioned fixture directory preserves the v0.6.0 corpus.
- The Rust signed-response paths matched the exported model across 261 standard inputs. The compatibility checks also compared 144 transport inputs, 115 signed client inputs and 10 sender inputs on the checked candidate.
OIP v0.6.0
Oracle Interoperability Protocol v0.6.0
OIP v0.6.0 defines the signed Protocol Buffers format for wire version 6, the receiver checks that precede an effect, and the recorded outcomes and retry rules. The operation table defines 31 wire operations. The Ed25519 reference profile accepts 25.
- The specification covers negotiation, admission, operation operands, locks and finality, identity and ownership handover, persistence and recovery, reads, regulatory execution, and response correlation.
- The repository includes a prototype Rust reference implementation, a Go message layer, generated bindings from one schema, and shared test vectors.
- The published model comparison covers 673 transport inputs across Rust, Go and the Isabelle/HOL export, and 259 response inputs across Rust and the response model export. The theorems apply under their stated assumptions.
The Rust reference is a prototype for evaluation. The conformance guide describes the profile and the disclaimer describes the verification and deployment boundaries.
See the changelog for the version record and the OIP specification guide for the protocol documentation.