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 SIP proposes using a chainlink node with a staleness check on SNX v3 staking.
Abstract
The chainlink node would have a staleness check incoporated based on the heartbeat of the respective network. The configuration would be 129600 seconds on ethereum and 3600 seconds on optimism.
Note that the proposed changes herein are currently classfied as an SCCP, as opposed to a SIP, since with respect to v3 oracles with restrictions/filters on those oracles can be done via configuration changes without any new contracts being deployed, 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 activity that touches the oracle would revert.
Copyright
Copyright and related rights waived via CC0.