alloy-rs / alloy

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

consensus: add `BlockWithParent` #1650

Closed tcoratger closed 6 days ago

tcoratger commented 6 days ago

As per:

We need to introduce BlockWithParent struct in alloy to use it directly in reth.

tcoratger commented 6 days ago

I think we can add this to where BlockNumHash is defined, in alloy-eips, doesn't quite fit, but seems appropriate

@mattsse fixed