Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

fix: [asset-swapper] excludedFeeSources. DODO Trade Allowed #2731

Merged
merged 4 commits into from
Oct 16, 2020

Conversation

dekz
Copy link
Member

@dekz dekz commented Oct 15, 2020

Description

#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:

  • Prefix PR title with [WIP] if necessary.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • Add new entries to the relevant CHANGELOG.jsons.

@dekz dekz changed the title fix: Fee sources and Ganache existence fix: [asset-swapper] excludedFeeSources Oct 15, 2020
@dekz dekz force-pushed the fix/asset-swapper/fee-ganache branch from c4b6544 to a6d2b4a Compare October 15, 2020 22:51
@dekz dekz force-pushed the fix/asset-swapper/fee-ganache branch from a6d2b4a to b78475e Compare October 15, 2020 22:51
Copy link
Contributor

@dorothy-zbornak dorothy-zbornak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One Q then ✔️

@dekz dekz changed the title fix: [asset-swapper] excludedFeeSources fix: [asset-swapper] excludedFeeSources. DODO Trade Allowed Oct 15, 2020
@dekz dekz merged commit c4ead68 into development Oct 16, 2020
@dekz dekz deleted the fix/asset-swapper/fee-ganache branch October 16, 2020 00:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants