Skip to content

test: add boilerplate to run EF blockchain tests#70

Merged
juanbono merged 7 commits into
mainfrom
ef-tests
Jun 27, 2024
Merged

test: add boilerplate to run EF blockchain tests#70
juanbono merged 7 commits into
mainfrom
ef-tests

Conversation

@mpaulucci

Copy link
Copy Markdown
Collaborator

Motivation
We want to be able to run the test suite from EF

Description
This is a first implementation that adds support to parse a simple test vector with one block and one transaction.

Pending work:

  • Add a script to download all test vectors, and filter out ones previous to Cancun.
  • Extend ef_tests types to succesfully parse all cancun blockchain tests.
  • Add logic to skip tests that are not supported yet.
  • Call EVM inside core instead of the one inside ef_tests once it's ready. This will require to use types from core and be able to go from ef_tests into core types.

Closes #43

@mpaulucci mpaulucci requested a review from a team as a code owner June 27, 2024 11:52
@mpaulucci mpaulucci changed the title test: Add boilerplate to run EF blockchain tests test: add boilerplate to run EF blockchain tests Jun 27, 2024
Comment thread ef_tests/Cargo.toml
Comment thread ef_tests/src/types.rs
Comment thread ef_tests/src/types.rs
Comment thread ef_tests/src/types.rs

@juanbono juanbono left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments

@juanbono juanbono merged commit f4b3bd5 into main Jun 27, 2024
@juanbono juanbono deleted the ef-tests branch June 27, 2024 17:09
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.

Add support to run EF spec tests

2 participants