Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C4: handle Chainlink oracle deprecation #886

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

jankjr
Copy link
Contributor

@jankjr jankjr commented Aug 9, 2023

If a chainlink oracle gets deprecated, the aggregator address will be set to 0.

This PR extends OracleLib to correctly handle this case, and reverting with StalePrice.

@jankjr jankjr changed the title handle Chainlink oracle deprecation C4: handle Chainlink oracle deprecation Aug 9, 2023
@jankjr jankjr force-pushed the audit/handle-chainlink-oracle-deprecation branch from c65ad8c to 31394fd Compare August 10, 2023 19:39
@jankjr jankjr merged commit 4ce086f into 3.0.0-rc5 Aug 10, 2023
8 checks passed
@jankjr jankjr deleted the audit/handle-chainlink-oracle-deprecation branch August 10, 2023 21:53
@tbrent
Copy link
Collaborator

tbrent commented Aug 11, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants