Skip to content

test: fix EF tests that transition from one network to another.#230

Merged
fmoletta merged 1 commit into
mainfrom
fix-ef-tests-network
Aug 8, 2024
Merged

test: fix EF tests that transition from one network to another.#230
fmoletta merged 1 commit into
mainfrom
fix-ef-tests-network

Conversation

@mpaulucci

Copy link
Copy Markdown
Collaborator

Motivation
We shouldn't skip tests that have a network that we don't recognize

Description
Fixes tests for the different netoworks. Panics if a network is not recognized.

@mpaulucci mpaulucci requested a review from a team as a code owner August 8, 2024 11:28
@mpaulucci mpaulucci changed the title test: Fix EF tests that transition from one network to another. test: fix EF tests that transition from one network to another. Aug 8, 2024
@fmoletta fmoletta added this pull request to the merge queue Aug 8, 2024
Merged via the queue into main with commit 902efd0 Aug 8, 2024
@fmoletta fmoletta deleted the fix-ef-tests-network branch August 8, 2024 14:28
github-merge-queue Bot pushed a commit that referenced this pull request Aug 8, 2024
**Motivation**

Fix ef_tests where the fork transition occurs within a single test

**Description**

Changes the timestamp check for tests with network
"ShanghaiToCancunAtTime15k" :

From: `if block.header.timestamp > 15_000`

To: `if block.header.timestamp >= 15_000`

Gets all tests from eip4788_beacon_root eip7516_blobgasfee
eip4895_withdrawals to pass again.
 
Fix for this pr: #230
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

Successfully merging this pull request may close these issues.

2 participants