Skip to content

fix: update web3py to v6, apply no-implicit-optional, misc fixes#320

Merged
ErikBjare merged 13 commits into
masterfrom
dev/misc-fixes2
Mar 30, 2023
Merged

fix: update web3py to v6, apply no-implicit-optional, misc fixes#320
ErikBjare merged 13 commits into
masterfrom
dev/misc-fixes2

Conversation

@ErikBjare

@ErikBjare ErikBjare commented Feb 24, 2023

Copy link
Copy Markdown
Member

Fixes #322

@codecov

codecov Bot commented Feb 24, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 64.28% and project coverage change: -24.29 ⚠️

Comparison is base (da8c7dd) 84.35% compared to head (ece7f1e) 60.07%.

❗ Current head ece7f1e differs from pull request most recent head 1956fec. Consider uploading reports for the commit 1956fec to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #320       +/-   ##
===========================================
- Coverage   84.35%   60.07%   -24.29%     
===========================================
  Files          10       10               
  Lines        1042     1042               
===========================================
- Hits          879      626      -253     
- Misses        163      416      +253     
Impacted Files Coverage Δ
uniswap/cli.py 92.95% <0.00%> (ø)
uniswap/tokens.py 64.28% <ø> (-21.43%) ⬇️
uniswap/uniswap.py 53.34% <57.14%> (-28.97%) ⬇️
uniswap/util.py 64.86% <100.00%> (-21.63%) ⬇️

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ErikBjare

ErikBjare commented Mar 29, 2023

Copy link
Copy Markdown
Member Author

I'm stumped, I keep getting Revert reason: Not WETH9 for some reason :<

Also, why is CI not running?

Comment thread tests/test_uniswap.py
Comment thread uniswap/uniswap.py Outdated
Comment thread uniswap/uniswap.py Outdated
Comment thread uniswap/util.py
@ErikBjare ErikBjare requested a review from liquid-8 March 29, 2023 16:42
@ErikBjare ErikBjare removed the request for review from liquid-8 March 30, 2023 13:10
@ErikBjare

Copy link
Copy Markdown
Member Author

Alright, finally done now.

Shipping :shipit:

@ErikBjare ErikBjare changed the title Misc fixes: update deps, apply no-implicit-optional, updated web3py names fix: update web3py to v6, apply no-implicit-optional, misc fixes Mar 30, 2023
@liquid-8

Copy link
Copy Markdown
Member

I couldn't manage to review it in time; sorry for that. I was going to take a look today. However, I'm glad it is fine now.

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.

Error importing Uniswap with the latest version of web3.py

2 participants