alloy-rs / alloy

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

Return static `Eip658Value` from `TxReceipt` trait method #1394

Closed emhane closed 1 month ago

emhane commented 1 month ago

Motivation

Enable conversion from bool to Eip658Value in TxReceipt::status_or_post_state trait method body

Solution

Changes signature TxReceipt::status_or_post_state from returning ref to Eip658Value, to returning static type

PR Checklist