Oracle freshness and failure modes
Terms used in this lesson
- Oracle
- A system that reports outside information, such as a market price, for use by a protocol.
- Preimage
- The original secret data whose hash equals a previously committed value.
- Guardian
- A Ducat policy-checking signer that can authorize or reject defined protocol transactions.
- DON
- Decentralized Oracle Network: a group of independent Chainlink oracle nodes that retrieve, check, combine, and sign outside data.
- CRE
- Chainlink Runtime Environment: the orchestration layer in which a workflow can request data, run checks, and coordinate outputs. It is not itself the price source.
- Identifier
- Identifier: a value used to distinguish one request, object, or participant from another.
- Nostr
- A signed-event messaging protocol; Ducat can use relays to distribute oracle material without making those relays Bitcoin validators.
Stale prices, relay availability, signer rotation, incomplete ladders, configuration drift, and undeployed security fixes must fail closed or be surfaced.
Loading lesson visuals...
Learn the idea
Freshness asks whether a signed report or snapshot is recent enough for the active policy. A Data Streams report is Chainlink's signed binary price report. A decentralized oracle network, or DON, is the configured group whose members sign that report. A Chainlink Runtime Environment, or CRE, workflow fetches and checks the report before Ducat creates its own snapshot. A report can include a fee denominated in Chainlink's network token. Authentication alone does not make old data safe.
Decode the report fields
The v3 report has nine 32-byte words: feed ID, valid-from timestamp, observation timestamp, native fee, Chainlink-token fee, expiry, signed price, signed bid, and signed ask. The outer report also carries three context words and parallel r, s, and v signature components.
Inspect every idea above to open it.
Clients also need feed identity, timing, bounds, authorized signer configuration, coherent publication, and an explicit trust assumption about the upstream market report.
The questions unlock after every required learning activity
Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.