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

execution reverted on Sepolia #343

Open
Labels
bugSomething isn't working
@alexauvray

Description

@alexauvray

I added Sepolia constants.py. However every time I call:

from uniswap import Uniswapversion = 2                       # specify which version of Uniswap to useprovider = "https://sepolia.infura.io/v3/XYZ"    # can also be set through the environment variable `PROVIDER`uniswap = Uniswap(address=address, private_key=private_key, provider=provider)# Some token addresses we'll be using later in this guideeth = "0x0000000000000000000000000000000000000000"bat = "0x0D8775F648430679A709E98d2b0Cb6250d2887EF"dai = "0x6B175474E89094C44Da98b954EedeAC495271d0F"print(uniswap.get_ex_eth_balance(dai))

I get that error:

    raise ContractLogicError("execution reverted", data=data)web3.exceptions.ContractLogicError: execution reverted

It's the same for every token.

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