Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

execution reverted on Sepolia

オープン
#343 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

Start by checking how get_ex_eth_balance selects the network and calls the token contract, then compare that path with the Sepolia constants mentioned in the report. Reproduce the call against Sepolia and inspect the revert for each token address; done means identifying the cause and confirming the balance call works with valid Sepolia token addresses. The issue has had no reply for over two years.

索引モデルが issue の本文から書いたものです。

説明

bug

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

from uniswap import Uniswap

version = 2                       # specify which version of Uniswap to use
provider = "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 guide
eth = "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.

主要言語
Python
スター
1k
フォーク
373
平均マージ
4日 11時間
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

uniswap-python/uniswap-python のほかの issue

uniswap-python/uniswap-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。