alloy-rs / alloy

Transports, Middleware, and Networks for the Alloy project
https://alloy.rs
Apache License 2.0
666 stars 240 forks source link

feat: implement Arbitrary for transaction types #1603

Closed klkvr closed 3 weeks ago

klkvr commented 3 weeks ago

Motivation

1460 removed the arbitrary impl for rpc transaction because we didn't have it for tx envelope. This PR implements arbitrary for transaction types. It requires k256 feature to be able to sign transactions and 7702 authorizations.

Solution

PR Checklist