alloy-rs / core

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

feat(dyn-abi): derive `Eq` for `TypedData` #623

Closed agostbiro closed 4 months ago

agostbiro commented 4 months ago

Motivation

TypeData in ethers_core derives PartialEq and Eq, but it isn't derived in alloy-dyn-abi.

Solution

Derive PartialEq and Eq for TypeData in alloy-dyn-abi.

PR Checklist

agostbiro commented 4 months ago

Thanks for the quick review @prestwich! I can repro the CI failures locally, I'm looking into it.