alloy-rs / core

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

feat: add EncodableSignature trait #692

Closed leruaa closed 1 month ago

leruaa commented 1 month 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 1 month ago

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