Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with serde_json RangeProof failure #26

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Stentonian
Copy link

Closes #25

See first 2 commits for unit test showing error, and then the fix which makes the unit tests pass.

2nd 2 commits are just cleanup.

setup added 5 commits June 24, 2024 19:51
Test results:

```
running 30 tests
test inner_product_proof::tests::test_inner_product ... ok
test util::tests::exp_2_is_powers_of_2 ... ok
test range_proof::tests::test_delta ... ok
test util::tests::test_inner_product ... ok
test util::tests::test_scalar_exp ... ok
test util::tests::test_sum_of_powers_slow ... ok
test util::tests::tuple_of_scalars_clear_on_drop ... ok
test util::tests::vec_of_scalars_clear_on_drop ... ok
test util::tests::test_sum_of_powers ... ok
test inner_product_proof::tests::make_ipp_1 ... ok
test generators::tests::aggregated_gens_iter_matches_flat_map ... ok
test inner_product_proof::tests::make_ipp_2 ... ok
test generators::tests::resizing_small_gens_matches_creating_bigger_gens ... ok
test linear_proof::tests::test_linear_proof_base ... ok
test inner_product_proof::tests::make_ipp_4 ... ok
test range_proof::tests::detect_dishonest_dealer_during_aggregation ... ok
test linear_proof::tests::test_linear_proof_16 ... ok
test linear_proof::tests::test_linear_proof_32 ... ok
test range_proof::tests::create_and_verify_n_32_m_1 ... FAILED
test inner_product_proof::tests::make_ipp_32 ... ok
test linear_proof::tests::test_linear_proof_64 ... ok
test range_proof::tests::create_and_verify_n_64_m_1 ... FAILED
test range_proof::tests::create_and_verify_n_32_m_2 ... FAILED
test inner_product_proof::tests::make_ipp_64 ... ok
test range_proof::tests::create_and_verify_n_64_m_2 ... FAILED
test range_proof::tests::create_and_verify_n_32_m_4 ... FAILED
test range_proof::tests::detect_dishonest_party_during_aggregation ... ok
test range_proof::tests::create_and_verify_n_64_m_4 ... FAILED
test range_proof::tests::create_and_verify_n_32_m_8 ... FAILED
test range_proof::tests::create_and_verify_n_64_m_8 ... FAILED
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

serde_json does not work for RangeProof
1 participant