ethereum-optimism / tests

Standard Tests for OP Stack Component Implementations.
https://static.optimism.io/tests
MIT License
16 stars 11 forks source link
op-stack rust tests

OP Test Vectors

Standard Tests for OP Stack Component Implementations.

CI Book License Book

What's `ethereum-optimism/tests`OverviewContributingCredits

What's ethereum-optimism/tests?

ethereum-optimism/tests is a portable suite of standardized test fixtures used to test OP Stack component implementations. Test fixtures are static JSON files defined in the fixtures directory.

There are two types of tests:

Each has it's own cli tool to generate test fixtures. opt8n can be used to generate execution test fixtures, while opdn generates derivation test fixtures.

Development Status

ethereum-optimism/tests is currently in active development, and is not yet ready for use in production.

Overview

op-test-vectors

A rust crate exposing types used to generate test fixtures in ./fixtures.

op-test-vectors contains two primary modules:

opt8n

A binary to generate execution test fixtures.

opt8n has two subcommands:

opdn

A binary to generate derivation test fixtures.

opdn has the following subcommands:

Book

The book contains an in-depth overview of the project, contributor guidelines, and tutorials for creating your own test fixtures as well as you own test runners.

Credits

ethereum-optimism/tests is inspired by ethereum/tests and built by the collaboration between a number of teams and external contributors including OP Labs and Worldcoin engineers.