SCCP-308: Chainlink Node With Staleness Check
Author | |
---|---|
Status | Draft |
Type | Governance |
Network | Optimism |
Implementor | TBD |
Release | TBD |
Created | 2023-09-29 |
Simple Summary
This SCCP proposes to incorporate a stalenss check on the chainlink node used for SNX staking in the V3 system.
Abstract
The chainlink node would have a staleness check incoporated based on the chainlink heartbeat of the respective network. The configuration would be 129,600 seconds (1.5 days) on ethereum and 3,600 seconds on optimism.
Note that the proposed changes herein are currently proposed under SCCPs, since with respect to v3 oracles restrictions and filters on existing oracles can be performed via configuration changes, further reference can be found here.
Motivation
Currently the configured chainlink node does not incorporate any stalenss check. However, it is considered best practice that prices are checked for staleness before being consumed in staking, unstaking and liquidation. Hence, in case the oracle is stale, all activity that touches the oracle would revert (e.g. staking, unstaking and liquidations).
Copyright
Copyright and related rights waived via CC0.