alloy icon indicating copy to clipboard operation
alloy copied to clipboard

[Feature] Typed transaction conversion traits

Open prestwich opened this issue 10 months ago • 0 comments

Component

consensus, eips, genesis

Describe the feature you would like

blocked by #433

add standard conversions to transaction types

  • [ ] modify Network
    • [ ] add a new bound: type UnsignedTx: From<Self::TxEnvelope>
    • [ ] add 2 new bounds: type TransactionRequest: From<Self::TxEnvelope> + From<Self::UnsignedTx>
  • [ ] satisfy new bounds
    • [ ] impl From<TxEnvelope> for TypedTransaction
    • [ ] impl From<TxEnvelope> for TransactionRequest
    • [ ] impl From<TypedTransaction for TransactionRequest

Additional context

No response

prestwich avatar Apr 02 '24 16:04 prestwich