Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(optv): Generic Derivation Test Fixtures #74

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

refcell
Copy link
Collaborator

@refcell refcell commented Aug 22, 2024

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.

@refcell refcell added A-op-test-vectors Area: op-test-vectors crate M-dependencies Meta: Dependency related K-feat Kind: Feature labels Aug 22, 2024
@refcell refcell self-assigned this Aug 22, 2024
crates/op-test-vectors/src/derivation.rs Outdated Show resolved Hide resolved
@refcell refcell merged commit 6f76ea5 into main Aug 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-op-test-vectors Area: op-test-vectors crate K-feat Kind: Feature M-dependencies Meta: Dependency related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants