Closed gbenattar closed 6 years ago
IIUC, this happened again on Travis:
Running `/home/travis/build/KZen-networks/multi-party-ecdsa/target/debug/deps/multi_party_ecdsa-7b6107004683704d`
running 3 tests
test protocols::two_party_ecdsa::lindell_2017::test::tests::test_d_log_proof_party_two_party_one ... ok
test protocols::two_party_ecdsa::lindell_2017::test::tests::test_two_party_sign ... FAILED
test protocols::two_party_ecdsa::lindell_2017::test::tests::test_two_party_keygen ... ok
failures:
---- protocols::two_party_ecdsa::lindell_2017::test::tests::test_two_party_sign stdout ----
thread 'protocols::two_party_ecdsa::lindell_2017::test::tests::test_two_party_sign' panicked at 'called `Result::unwrap()` on an `Err` value: ProofError', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failures:
protocols::two_party_ecdsa::lindell_2017::test::tests::test_two_party_sign
test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
error: test failed, to rerun pass '--lib'
The command "cargo test --verbose" exited with 101.
https://travis-ci.com/KZen-networks/multi-party-ecdsa/builds/80099054#L558
It's more than that - the d_log_proof_party_two_party
test failed as well. This makes sense because both of this tests are using the same code and only afterwards we implemented the full key gen. I suggest to update the tests with the code from keygen test
After writing benches which execute signing many times, here is what I see: