Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geth tests fail with geth 1.15.3, waiting for a fix in py-geth #2531

Open
banteg opened this issue Feb 26, 2025 · 2 comments
Open

geth tests fail with geth 1.15.3, waiting for a fix in py-geth #2531

banteg opened this issue Feb 26, 2025 · 2 comments

Comments

@banteg
Copy link
Contributor

banteg commented Feb 26, 2025

Issue Description

Geth tests are currently failing when using Geth 1.15.3+ because the genesis configuration requires a blobSchedule field for the Cancun fork.

Error Message

geth.exceptions.PyGethValueError: Error initializing genesis.json: 
    stdout=Fatal: Failed to write genesis block: invalid chain configuration: missing entry for fork "cancun" in blobSchedule

    stderr=INFO [02-26|09:26:08.653] Maximum peer count                       ETH=50 total=50
INFO [02-26|09:26:08.659] Set global gas cap                       cap=50,000,000
INFO [02-26|09:26:08.659] Initializing the KZG library             backend=gokzg

Root Cause

Recent Geth versions (1.15.3+) require a blobSchedule field in the genesis configuration to support the Cancun fork's blob transactions. This field is required to initialize a local development chain.

Solution Status

There is an open PR in the py-geth repository that addresses this issue:
ethereum/py-geth#251

Once this PR is merged and a new py-geth version is released, Ape will need to update its dependency to fix the Geth tests.

Impact

This issue affects all tests that rely on the Geth provider, including tests/functional/geth/test_chain.py.

Copy link

linear bot commented Feb 26, 2025

@banteg banteg changed the title fix: Geth tests failing with missing entry for fork cancun in blobSchedule fix: geth tests fail with geth 1.15.3, waiting for a fix in py-geth Feb 26, 2025
@banteg banteg changed the title fix: geth tests fail with geth 1.15.3, waiting for a fix in py-geth geth tests fail with geth 1.15.3, waiting for a fix in py-geth Feb 26, 2025
@0xthedance
Copy link
Contributor

Thanks! I was having the same issue, but I thought it was my setup which was messed up. 😅
Looking forward to this fix. 👀

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

No branches or pull requests

2 participants