Open
Description
When consuming fixtures, we are currently semi-directly able to run the state/blockchain/tx tests. (Sample fixtures: https://github.com/ethereum/execution-spec-tests/releases/tag/pectra-devnet-6%40v1.0.0)
Steps:
- Download the fixtures release and unzip it. This currently yields 4 folders:
blockchain_tests
state_tests
transaction_tests
blockchain_tests_engine
- Move the
state_tests
andblockchain_tests
inside./packages/ethereum-tests/fixtures
(create folder if not there) - Run state tests:
cd ./packages/vm && npm run test:state -- --dir=../fixtures --fork=Prague
- Run blockchain tests:
cd ./packages/vm && npm run test:blockchain -- --dir=../fixtures --fork=Prague
- Move the
transaction_tests
inside./packages/ethereum-tests/TransactionTests
- Run transaction tests:
cd ./packages/tx && npx vitest run ./test/transactionRunner.spec.ts
We currently have no way to run blockchain_tests_engine
.
This should be added to the client.