Reviewed Aug 2026
DE
DA-05 · LESSON 09

Oracle freshness and failure modes

KEY DEFINITIONS

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.

35 min Difficulty 5/5 Not started

Loading lesson visuals...

01

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.

GUIDED EXPLANATION1/4 ideas inspected
1

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 each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionA valid Chainlink signature is sufficient evidence that the price is current and correct.

Clients also need feed identity, timing, bounds, authorized signer configuration, coherent publication, and an explicit trust assumption about the upstream market report.

02
FINISH LEARNING FIRST

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.