safe-transaction-service icon indicating copy to clipboard operation
safe-transaction-service copied to clipboard

Enable/disable oracles on price_service

Open moisses89 opened this issue 2 years ago • 0 comments

What is needed?

I would like to have the option to enable or disable oracles on PriceService.enabled_price_oracles

Background

Currently we are returning the first price from the first oracle that returns a value. This means if the oracle is returning a wrong value and the other oracles have the correct one we are going to return the wrong. I think if we aware that there is an issue on the oracle pool we could disable it, to avoid return wrong results.

Related issues

Some wrong prices from some oracles-

moisses89 avatar Oct 04 '22 12:10 moisses89