classic-terra / oracle-feeder

Oracle Feeder Daemon
Apache License 2.0
6 stars 8 forks source link

Coingecko API goes offline, all oracle infrastructure will go offline #36

Open nghuyenthevinh2000 opened 8 months ago

nghuyenthevinh2000 commented 8 months ago

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)