You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test at tests/test_uniswap.py::TestUniswap::test_get_fee_maker[1] always results in an error due to refusal to establish a connection with the local target machine:
During handling of the above exception, another exception occurred:
E urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x000001873E1940A0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it
While trying to pinpoint the exact error, I noticed that the option --miner.legacyInstamine true was not available for my ganache version v7.0.1
Reproduction
Setup:
Windows 10
ganache v7.0.1
Run make test
Solution Proposal
Replace --miner.legacyInstamine true with either --miner.instamine "eager" or --miner.instamine "strict" in tests/test_uniswap.py
Activity
ErikBjare commentedon Feb 3, 2022
Thanks for looking into this! I've made a PR in #233 and included you as a coauthor.