alloy-rs / core

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

fix: `Sealed::hash` serde #805

Closed klkvr closed 1 week ago

klkvr commented 1 week ago

Motivation

flatten is wrong here, and making it always (de)serialize as hash allows us to reuse it for transactions and blocks.

Solution

PR Checklist