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

When CoinGecko API goes offline, all oracle infrastructure will go offline #3

Open
OhhBilboBaggins opened this issue Dec 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@OhhBilboBaggins
Copy link

Porting this bug over from classic-terra#36 courtesy of @nghuyenthevinh2000

It is not the API that is highly unstable, it is the price server which is unreliable. Starting from the fact that if the Coingecko API goes offline, all oracle infrastructure will go offline, and ending with no valuable information in logs.

[INFO][Mon, 18 Dec 2023 05:36:09 GMT] [VOTE] Requesting prices from price server http://oracle-price-server:8532/latest
[ERROR][Mon, 18 Dec 2023 05:36:09 GMT] Error: cannot find LUNC price
    at preparePrices (/app/src/vote.ts:114:11)
    at processVote (/app/src/vote.ts:195:18)
    at async vote (/app/src/vote.ts:333:5)
    at async main (/app/src/index.ts:126:5)
@OhhBilboBaggins OhhBilboBaggins added the bug Something isn't working label Dec 20, 2023
@OhhBilboBaggins OhhBilboBaggins changed the title When CoinGecko API goes offline, all oracle infrastructure will go offline [BUG] When CoinGecko API goes offline, all oracle infrastructure will go offline Dec 20, 2023
@OhhBilboBaggins OhhBilboBaggins changed the title [BUG] When CoinGecko API goes offline, all oracle infrastructure will go offline When CoinGecko API goes offline, all oracle infrastructure will go offline Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant