tellor-io / telliot-feeds

Telliot feeds
https://tellor-io.github.io/telliot-feeds
Other
24 stars 9 forks source link

oeth feeds and source improvements #723

Closed 0xSpuddy closed 9 months ago

0xSpuddy commented 9 months ago

Summary

Steps Taken to QA Changes

all tests passing and reported oeth/usd and oeth/eth data on sepolia with 2 sources each

This pull request is:

0xSpuddy commented 9 months ago

@akremstudy I gave oeth/eth it's own custom source file where the oeth/usd sources are converted by a median of eth/usd sources, then that number gets averaged in with the MaverickV2 oeth/eth price...Now that I think about it, it should be converting the usd sources individually so a true median can be used for the 3 sources. I'm going to work it more, but please take a look when you get a chance and let me know if i did anything silly 🙏

0xSpuddy commented 9 months ago

fixed it so it uses our standard median / price aggregator logic with the uniswap "pool" query as a source.