Closed ggutoski closed 3 months ago
Yes, I believe I put those comments there because we don't actually check consistency with the merkle root for all the evaluations in a share (with multiplicity). The share only contains the merkle path for the first evaluation.
My memory fails my as to why I did not implement this check in the first place. At that point we were considering "batching" the KZG evals which might be the reason that the implementation was postponed.
Created an issue here: https://github.com/EspressoSystems/jellyfish/issues/654. Feel free to modify.
closes: #644
This PR:
Internal
error.Argument
error instead ofInternal
error when multiplicity is inconsistent.advz.rs
toadvz/test.rs
. The only actual change to tests is the addition of a new testverify_share_with_different_multiplicity
.Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.
CHANGELOG.md
of touched crates.Files changed
in the GitHub PR explorer