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

Chronicle oracle adapter #807

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Conversation

wtj2021
Copy link
Collaborator

@wtj2021 wtj2021 commented Jul 16, 2024

Copy link
Collaborator

@GalloDaSballo GalloDaSballo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code for the adapter looks correct:

  • Scales to oracle used by the eBTC Feed
  • Checks for staleness

I'm not 100% confident that the optimistic Scribe oracle is as safe as the non optimistic version

This implementation will have a delay by nature as it needs to allow time for disputes, in contrast to the normal scribe oracle

I think we should monitor the onChain prices and see if the realised Deviation Threshold is above the advertised threshold due to the Optimistic Update delay

Also I highly recommend a E2E test on the eBTC Feed to ensure that the math checks out

@wtj2021 wtj2021 merged commit 826c90a into c4-audit-june-24-fixes Jul 25, 2024
3 checks passed
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.

2 participants