Skip to content

Order of assets in the config can affect price feeds working #240

@rbajollari

Description

@rbajollari

Summary of Bug

When trying to get a working price feed of WETH/USDC using the eth-uniswap provider, I noticed that if I add the currency pair information for USDC after WETH/USDC in the config, the WETH/USDC price feed does not work. When placing USDC before it in the config however, the price feed was back to working suggesting that the order of currency pairs in the config can have some effect on the price feeds working or not.

Version

Please provide the output of the following commands:

  • $ price-feeder version
  • $ go version
  • $ uname -a

Steps to Reproduce

Steps to reproduce the behavior:

  1. ...

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions