You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gentest CLI is a really nice tool that can generate and write a Python (pytest) test module to disk given a type 0 transaction hash on a live network. This generates a state_test from the mainnet transaction 0xa41f...06be:
uv run gentest 0xa41f343be7a150b740e5c939fa4d89f3a2850dbe21715df96b612fc20d1906be tests/paris/test_0xa41f.py
Currently, due to its limited transaction type support (type 0 only), it's of limited use. This meta ticket is to track progress of making gentest an easy-to-use CLI tool that can generate test cases for specific issues observed on devnets, and potentially, to allow benchmarking of an EVM's transaction processing using blockchain_tests created from real mainnet data.
While working on the issues below, we should consider and try to ensure that gentest also works on Verkle and EOF testnets.
The content you are editing has changed. Please copy your edits and refresh the page.
Thanks @raxhvl! Above I tried to outline the most obvious tasks for gentest. Please see these as suggestions - if you have any other ideas or inputs, just go for it! I'm also happy to jump in and help out if need be.
The
gentest
CLI is a really nice tool that can generate and write a Python (pytest) test module to disk given a type 0 transaction hash on a live network. This generates astate_test
from the mainnet transaction0xa41f...06be
:Currently, due to its limited transaction type support (type 0 only), it's of limited use. This meta ticket is to track progress of making
gentest
an easy-to-use CLI tool that can generate test cases for specific issues observed on devnets, and potentially, to allow benchmarking of an EVM's transaction processing usingblockchain_test
s created from real mainnet data.While working on the issues below, we should consider and try to ensure that
gentest
also works on Verkle and EOF testnets.gentest
Tasksgentest
specific configuration #893gentest
config file and add an example config file #891state_test
for single transactions #864evm_bytes
to generate python opcode in tests #862blockchain_test
test cases from multiple transaction hashes or block hash #865chain_id
#908The text was updated successfully, but these errors were encountered: