alloy-rs / core

High-performance, well-tested & documented core libraries for Ethereum, in Rust
https://alloy.rs
Apache License 2.0
795 stars 156 forks source link

feat: add EncodableSignature trait #692

Closed leruaa closed 4 months ago

leruaa commented 4 months ago

Motivation

Per @mattsse comment: https://github.com/alloy-rs/core/pull/689#issuecomment-2242290238

To give more context: the goal is to standardize signature encoding via an helper trait to be able to use alloy tx types in reth with reth signature type.

Solution

PR Checklist

leruaa commented 4 months ago

Done in https://github.com/alloy-rs/alloy/pull/1100