-
Notifications
You must be signed in to change notification settings - Fork 835
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_testsstate_teststransaction_testsblockchain_tests_engine
- Move the
state_testsandblockchain_testsinside./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_testsinside./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.