ralexstokes / ssz-rs

Implementation of ethereum's `ssz`
Apache License 2.0
103 stars 41 forks source link

migrate to `alloy` primitives #94

Closed ralexstokes closed 1 year ago

ralexstokes commented 1 year ago

https://github.com/alloy-rs/core/tree/main/crates/primitives

this is a bigger task but should pay dividends in the long run to unify foundations across the communities

ralexstokes commented 1 year ago

a big one is the U256 implementation

another one could be the Node type in the merkle code

and possibly using the bytes primitives here

PatStiles commented 1 year ago

Interested

ralexstokes commented 1 year ago

@PatStiles you could start by removing the U256 defined currently and just supporting ruint's U256 type, implementing the various SSZ traits for it in this repo

ralexstokes commented 1 year ago

mostly handled in #113