celestiaorg / rsmt2d

Go implementation of two dimensional Reed-Solomon merkle tree data availability scheme.
Apache License 2.0
162 stars 79 forks source link

refactor: use deepCopy for eds.Flattened() #315

Closed walldiss closed 6 months ago

walldiss commented 6 months ago

Protect returned shares by Flattened() with deepcopy similar to other exported methods

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.24%. Comparing base (d6c118c) to head (5db05b0). Report is 14 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #315 +/- ## ========================================== + Coverage 80.89% 82.24% +1.34% ========================================== Files 8 7 -1 Lines 869 614 -255 ========================================== - Hits 703 505 -198 + Misses 119 66 -53 + Partials 47 43 -4 ```

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