Skip to content

Commit

Permalink
Update sccp-308.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kaleb-keny committed Sep 29, 2023
1 parent 3b70d89 commit 528b0e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/sccp/sccp-308.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ This SCCP proposes to incorporate a stalenss check on the chainlink node used fo

The chainlink node would have a staleness check incoporated based on the chainlink [heartbeat](https://docs.chain.link/data-feeds/price-feeds/addresses?network=ethereum&page=1&search=snx) of the respective network. The configuration would be 5,400 seconds on ethereum and 2,400 seconds on optimism.

Staleness is measured by fetching the timestamp of the latest chainlink price push and comparing it to the timestamp of the current block. If it exceeds the configured maximum staleness, the oracle would revert when called, otherwise it would return the oracle price and timestamp.

Note that with respect to v3 oracles, restrictions and filters on existing oracles (such as the chainlink oracle), could be performed via configuration changes, further reference can be found [here](https://github.com/Synthetixio/synthetix-v3/tree/main/protocol/oracle-manager).

## Motivation
Expand Down

0 comments on commit 528b0e7

Please sign in to comment.