Closed dekz closed 3 years ago
https://github.com/0xProject/0x-monorepo/pull/2730 Enabled fee sources to be static and not result in Uniswap being excluded. Therefor we could likely get a maker/ETH taker/ETH price.
Unfortunately this means it is queried on Ganache tests and results in a revert.
I've added the ability to provide excludedFeeSources so that they can be disabled in tests or environments where it doesn't exist.
excludedFeeSources
[WIP]
Description
https://github.com/0xProject/0x-monorepo/pull/2730 Enabled fee sources to be static and not result in Uniswap being excluded. Therefor we could likely get a maker/ETH taker/ETH price.
Unfortunately this means it is queried on Ganache tests and results in a revert.
I've added the ability to provide
excludedFeeSources
so that they can be disabled in tests or environments where it doesn't exist.Testing instructions
Types of changes
Checklist:
[WIP]
if necessary.