paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.85k stars 1.11k forks source link

Move trie functions to alloy #11211

Open mattsse opened 1 week ago

mattsse commented 1 week ago

Describe the feature

ref #11208

these are beneficial and can be used for things like txroot withdrawals root, etc:

https://github.com/paradigmxyz/reth/blob/1e0a35e744633e605cf6ddd24f4b1c9d73b198c2/crates/trie/common/src/root.rs#L21-L30

imo we can move these to alloy-trie or somewhere else @DaniPopes ?

Additional context

No response

c0np4nn4 commented 1 week ago

Hello @mattsse, Can I take this one?

DaniPopes commented 1 week ago

Why not in alloy-trie?

mattsse commented 1 week ago

right, lets do alloy-trie @c0np4nn4