Skip to content

fix: fee argument not respected in make_trade_output #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

jz448
Copy link
Contributor

@jz448 jz448 commented Dec 18, 2022

Bug: The make_trade_output function accepts the fee parameter but doesn't pass it to the self._get_eth_token_output_price function.

This PR fixes this bug.

@codecov
Copy link

codecov bot commented Dec 18, 2022

Codecov Report

Base: 84.06% // Head: 83.87% // Decreases project coverage by -0.19% ⚠️

Coverage data is based on head (50030ce) compared to base (3554749).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #306      +/-   ##
==========================================
- Coverage   84.06%   83.87%   -0.20%     
==========================================
  Files          10       10              
  Lines        1042     1042              
==========================================
- Hits          876      874       -2     
- Misses        166      168       +2     
Impacted Files Coverage Δ
uniswap/uniswap.py 82.05% <100.00%> (-0.25%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ErikBjare ErikBjare changed the title fix: the fee variable is not used in the make_trade_output function fix: fee argument not respected in make_trade_output Dec 23, 2022
@ErikBjare ErikBjare merged commit 1554b30 into uniswap-python:master Dec 23, 2022
@ErikBjare
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants