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

[FIX/Feature] Usage of Ubinetic On Demand oracle for retrieve prices #87

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

LikoIlya
Copy link

@LikoIlya LikoIlya commented Dec 1, 2024

This PR adds the new oracle implementation, which points to Ubinetic On Demand oracle proxy for getting price.
It is urgent fix of oracle outage issue. Harbinger oracle is no more up-to-date with prices and looks like there will not any future updates on it.

The contract and tests were written using the latest LIGO version (JsLIGO). The only difference against the original SmartPy implementation is throwing errors, which now throw the same Error codes but as string type instead of nat/int, as I think will not cause huge problems for service.

Due to Ubinetic stores timestamp with milliseconds format, we should add casting to standard-like timestamp object type.
Issue shown here: ecadlabs/taquito#3093
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.

1 participant