File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,27 @@ mod test {
75
75
// reconstruct. If this test starts failing please do _not_ ignore it,
76
76
// it's telling you the current quorum key shares will become invalid
77
77
// when combined!
78
+ // --------
79
+ // These shares were generated with the following QOS commit:
80
+ // `31ad6ac8458781f592a442b7dc0e0e019e03f2f4` (2022-05-12)
81
+ // with the following test code:
82
+ // #[test]
83
+ // fn make_shares() {
84
+ // let secret = b"my cute little secret";
85
+ // let n = 3;
86
+ // let k = 2;
87
+ //
88
+ // let all_shares = shares_generate(secret, n, k);
89
+ // for share in all_shares {
90
+ // println!("share: {}", hex::encode(share));
91
+ // }
92
+ // }
78
93
let shares = [
79
- qos_hex:: decode ( "0116b5873b04714bd159f8ff59613f9e79cbb2e7a526 " )
94
+ qos_hex:: decode ( "01661fc0cc265daa4e7bde354c281dcc23a80c590249 " )
80
95
. unwrap ( ) ,
81
- qos_hex:: decode ( "029bfa75d3977e39d90650792e76d1476722da43fed0 " )
96
+ qos_hex:: decode ( "027bb5fb26d326e0fc421cf604e495e3d3e4bd24ab0e " )
82
97
. unwrap ( ) ,
83
- qos_hex:: decode ( "03e036d28be67b172833c1f2037b8bf96d8c0bd63e82 " )
98
+ qos_hex:: decode ( "0370d31b89800f2f9255abb73ca0ed0f8329d20fcc33 " )
84
99
. unwrap ( ) ,
85
100
] ;
86
101
You can’t perform that action at this time.
0 commit comments