-
Notifications
You must be signed in to change notification settings - Fork 16
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
Polynomial identity check failed in multiRangeProofVerifier #2
Comments
Hello Dario.
If you use a MultiRangeProof, then the total proof capacity of N bytes is divided evenly between M values, and if any of the values exceeds the 2^(N/M) - 1 value, the proof becomes invalid.
Sincerely, Alex
…________________________________
From: Dario Anongba Varela <notifications@github.com>
Sent: Monday, July 2, 2018 1:22:58 PM
To: BANKEX/BulletproofJS
Cc: Subscribed
Subject: [BANKEX/BulletproofJS] Polynomial identity check failed in multiRangeProofVerifier (#2)
Hi,
I've been testing some values in the multiRangeProofVerifier and I get a Polynomial identity check failed when I tested it with number = 321 and change = 29 (I got rid of extra and zero).
This error appears randomly depending on the inputted values. Any idea why ?
Cheers,
Dario
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#2>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGKv94Y18TyliSIXiWhqmG3cDf2pKRPOks5uCfSCgaJpZM4U_DxP>.
|
Hi Alex, Thanks for the quick answer! Indeed it's true that trying the same values with 32 bits does work with 321 and 29. If I understand correctly and assuming that M is always 2 in my case, with 32 bits, the upper bound is 2^16 = 65'536 and was 2^8 before = 256, so that's why it failed? Because 321 is bigger than 256? Thanks! |
Yes, MultiRange is not magical, it saves on scalar values, but number of field elements is still log2(fullConcatenatedBitLength). Nevertheless it’s handy in practice, especially if you enforce same length proofs for each of the commitments
…________________________________
From: Dario Anongba Varela <notifications@github.com>
Sent: Monday, July 2, 2018 2:43:46 PM
To: BANKEX/BulletproofJS
Cc: Alexander; Comment
Subject: Re: [BANKEX/BulletproofJS] Polynomial identity check failed in multiRangeProofVerifier (#2)
Closed #2<#2>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGKv9w_rXCHvoE2bgOD-FtW1wvt1NV6Fks5uCgdygaJpZM4U_DxP>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've been testing some values in the multiRangeProofVerifier and I get a
Polynomial identity check failed
when I tested it with number = 321 and change = 29 (I got rid of extra and zero).This error appears randomly depending on the inputted values. Any idea why ?
Cheers,
Dario
The text was updated successfully, but these errors were encountered: