Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Compatibility issues with ganache v7.0.1 #232

Closed
Labels
bugSomething isn't working
@RaRedmer

Description

@RaRedmer

Bug description

The test attests/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

Runmake test

Solution Proposal

Replace--miner.legacyInstamine true with either--miner.instamine "eager" or--miner.instamine "strict" intests/test_uniswap.py

p = subprocess.Popen(        f"""ganache        --port {port}        --wallet.seed test        --chain.networkId 1        --chain.chainId 1        --fork.url {os.environ['PROVIDER']}        --miner.defaultGasPrice {defaultGasPrice}        --miner.instamine "eager"        """.replace(            "\n", " "        ),        shell=True,    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp