ethereum-optimism / tests

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

feat(optv): Generic Derivation Test Fixtures #74

Closed refcell closed 2 months ago

refcell commented 2 months ago

Description

Modifies the DerivationFixture making it's internal types generic with deserialization and serialization.

Moves kona-derive to a dev-dependency in op-test-vectors and removes it's re-export.

Motivation

Making derivation fixture types generic allows for different versions of kona-derive to be used when deserializing the derivation test fixtures. Previously, kona-derive was re-exported from op-test-vectors causing a conflict in the test runner if using a local, different version of kona-derive. This PR solves that by making the types internal so the test runner can import and specify the types from a local import of kona-derive.