ZenGo-X / fs-dkr

FS-DKR: One Round Distributed Key Rotation
GNU General Public License v3.0
32 stars 16 forks source link

Adapting test_add_party. #34

Open toufic0710 opened 1 year ago

toufic0710 commented 1 year ago

Hi,

I want to modify the test_add_party test to change n, t and the number of people who are willing to do a resharing. For example, I have an error when I try to modify 5 by 4 here : https://github.com/ZenGo-X/fs-dkr/blob/6a5b495678a2f7b8373c29475ca1c91a0d8c246d/src/test.rs#L157 ---- test::tests::test_add_party stdout ---- thread 'test::tests::test_add_party' panicked at 'insertion index (is 6) should be <= len (is 5)', library/alloc/src/vec/mod.rs:1445:13

I have the same kind of error when I try to modify t from 7 to 8 for example (but it works for 6...).

would appreciate insights!