ralexstokes / ssz-rs

Implementation of ethereum's `ssz`
Apache License 2.0
102 stars 40 forks source link

implement multiproofs #118

Closed ralexstokes closed 7 months ago

ralexstokes commented 10 months ago

implements basic verification logic for single and multi proofs using generalized indices

TODO:

FUTURE: implement type-safe generalized index paths to generalized index implement proving code to generate proofs in first place

codecov[bot] commented 10 months ago

Codecov Report

Attention: 105 lines in your changes are missing coverage. Please review.

Comparison is base (5df033e) 76.09% compared to head (b732699) 67.68%. Report is 3 commits behind head on main.

Files Patch % Lines
ssz-rs/src/merkleization/multiproofs/mod.rs 0.00% 81 Missing :warning:
...src/merkleization/multiproofs/generalized_index.rs 0.00% 23 Missing :warning:
ssz-rs/src/merkleization/mod.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #118 +/- ## ========================================== - Coverage 76.09% 67.68% -8.42% ========================================== Files 17 19 +2 Lines 845 950 +105 ========================================== Hits 643 643 - Misses 202 307 +105 ```

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

ralexstokes commented 7 months ago

thanks @ec2 ! went ahead and make it no-std compatible :)