alloy-rs / alloy

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

fix(`consensus`): serde aliases to avoid breaking changes #1654

Closed yash-atreya closed 3 days ago

yash-atreya commented 5 days ago

Motivation

Recent changes in consensus types brought breaking changes to serialization/deserialization usecases.

See https://github.com/foundry-rs/foundry/pull/9280/files/999eea97817168b67318f15b3e58f33d378e8c96#r1844004048 and https://github.com/foundry-rs/foundry/issues/9324.

Solution

Add aliases to avoid breaking changes

PR Checklist