Skip to content

Create a blockchain_engine_tests test runner #3860

@jochem-brouwer

Description

@jochem-brouwer

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 and blockchain_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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy