-
Notifications
You must be signed in to change notification settings - Fork 10
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
Refactor to monolithic workspace #26
Conversation
Switch to stable channel for workspace.dependencies.
Must also use the fork in the main Cargo.toml file otherwise we get conflicts with trait implementations when running the tests.
Also seeing more flaky tests:
|
Change some formatting parameters for smaller screens.
Need the default features to specify the curv GMP library.
|
@tmpfs looking at the setup for |
@drewstone , we need to do something with the duplicate I will leave resolving the utilities to a separate PR. |
Use backwards compatible re-export from old module path.
Logging another flaky test failure in
|
@drewstone, I think this is as far as this PR should go, please review 🙏 We can resolve the utilities duplication (also the two |
The duplicates ZK pdl stuff is probably entirely duplicated. No difference
afaik.
…On Tue, Oct 3, 2023 at 6:01 AM muji ***@***.***> wrote:
@drewstone <https://github.com/drewstone>, I think this is as far as this
PR should go, please review 🙏
We can resolve the utilities duplication (also the two party_i modules
are very similar - can we just use the newer CGGMP one for both protocols?)
in later PRs.
—
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADELLF4QMEMR6B5NABQJZALX5NWZNAVCNFSM6AAAAAA5OXB2OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBUGA2DOMRTGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@drewstone @tmpfs The issue is with the current NIZK challenge implementation which performs a fallible conversion from See a minimal example failure case below: #[test]
fn test_big_int() {
let bytes = [0, 1];
let big_int = BigInt::from_bytes(&bytes);
let bytes_big_int = big_int.to_bytes();
assert_eq!(bytes.len(), bytes_big_int.len()); // Fails because LHS = 2, while RHS = 1
} A fix for this would be to go directly from Another issue is that Finally, as noted above, this NIZK challenge implementation is used in other ZKPs as well, so these fixes should probably be applied to those as well. I'm a bit too busy elsewhere to write the fixes myself ATM but may be this can help someone else fix the issue(s) 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG!
Will have a look. |
Summary of changes
multi-party-ecdsa
as workspace memberfs-dkr
as workspace memberworkspace.dependencies
)multi-party-ecdsa
andfs-dkr
wasm32-unknown-unknown
compilationmulti_party_ecdsa
librarytwo_party_ecdsa
protocols (Lindell 2017 and CCLST 2019)gg2018
protocolmulti_party_ecdsa
module namespaces with backwards compatible re-exportstable
toolchainparty_i
.