alloy-rs / op-alloy

Apache License 2.0
31 stars 23 forks source link

[Feature] Implement From<TypedTransaction> for OpTypedTransaction #34

Open refcell opened 1 month ago

refcell commented 1 month ago

Component

consensus, eips, genesis

Describe the feature you would like

Implement a From<TypedTransaction> for OpTypedTransaction where TypedTransaction is from anvil. Place this behind an anvil feature flag so that the by-default this impl doesn't add dependency bloat.

Additional context

This is used for reading anvil transactions into rust test fixtures as in op-test-vectors.

mattsse commented 1 month ago

ref https://github.com/foundry-rs/foundry/pull/8595