ralexstokes / ssz-rs

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

clean up `Merkleized` trait #95

Closed ralexstokes closed 1 year ago

ralexstokes commented 1 year ago

in the process of refactoring trait hierarchy to support "opt-in" Merkleization

also reorg some serde code

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 91.30% and no project coverage change.

Comparison is base (6cf65ec) 74.12% compared to head (ffeffb1) 74.12%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #95 +/- ## ======================================= Coverage 74.12% 74.12% ======================================= Files 18 17 -1 Lines 827 827 ======================================= Hits 613 613 Misses 214 214 ``` | [Files Changed](https://app.codecov.io/gh/ralexstokes/ssz-rs/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Stokes) | Coverage Δ | | |---|---|---| | [ssz-rs/src/array.rs](https://app.codecov.io/gh/ralexstokes/ssz-rs/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Stokes#diff-c3N6LXJzL3NyYy9hcnJheS5ycw==) | `26.86% <ø> (ø)` | | | [ssz-rs/src/boolean.rs](https://app.codecov.io/gh/ralexstokes/ssz-rs/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Stokes#diff-c3N6LXJzL3NyYy9ib29sZWFuLnJz) | `91.30% <ø> (ø)` | | | [ssz-rs/src/list.rs](https://app.codecov.io/gh/ralexstokes/ssz-rs/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Stokes#diff-c3N6LXJzL3NyYy9saXN0LnJz) | `77.10% <83.33%> (ø)` | | | [ssz-rs/src/vector.rs](https://app.codecov.io/gh/ralexstokes/ssz-rs/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Stokes#diff-c3N6LXJzL3NyYy92ZWN0b3IucnM=) | `82.71% <83.33%> (ø)` | | | [ssz-rs/src/bitlist.rs](https://app.codecov.io/gh/ralexstokes/ssz-rs/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Stokes#diff-c3N6LXJzL3NyYy9iaXRsaXN0LnJz) | `79.16% <100.00%> (ø)` | | | [ssz-rs/src/bitvector.rs](https://app.codecov.io/gh/ralexstokes/ssz-rs/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Stokes#diff-c3N6LXJzL3NyYy9iaXR2ZWN0b3IucnM=) | `82.95% <100.00%> (ø)` | | | [ssz-rs/src/merkleization/mod.rs](https://app.codecov.io/gh/ralexstokes/ssz-rs/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Stokes#diff-c3N6LXJzL3NyYy9tZXJrbGVpemF0aW9uL21vZC5ycw==) | `91.01% <100.00%> (+0.20%)` | :arrow_up: | | [ssz-rs/src/uint.rs](https://app.codecov.io/gh/ralexstokes/ssz-rs/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Stokes#diff-c3N6LXJzL3NyYy91aW50LnJz) | `88.31% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.