ethereum / ethereum/execution-specs

✨(gentest): create `blockchain_test` test cases from multiple transaction hashes or block hash

Open
#1,499 4 comments 0 reactions 0 assignees View on GitHub
A-test-gentest C-feat P-medium stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

Add support to create `blockchain_test` tests cases. This idea will need some speccing out.

A `blockchain_test` (consisting of one block) could potentially be created from a list of transaction hashes (useful?) or, from a single or multiple block hashes. The latter idea originated from @chfast in order to benchmark EVM using real mainnet data ([from the R&D Discord](https://discord.com/channels/595666850260713488/746343380900118528/1290653758564597780)).

How do we handle a block that contains type 3 transactions?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.