Skip to content

Conversation

curiecrypt
Copy link
Collaborator

Content

This PR includes...

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • CHANGELOG file is updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • All check jobs of the CI have succeeded
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • Documentation
    • Update README file (if relevant)
    • Update documentation website (if relevant)
    • Add dev blog post (if relevant)
    • Add ADR blog post or Dev ADR entry (if relevant)
    • No new TODOs introduced

Comments

Issue(s)

Relates to #YYY or Closes #YYY

Comment on lines +25 to +26
let stakes = (0..NPARTIES)
.into_iter()

Check warning

Code scanning / clippy

useless conversion to the same type: std::ops::Range<usize> Warning

useless conversion to the same type: std::ops::Range<usize>

println!("Signers created");

let sig = ps[0].sign(&msg).unwrap();

Check warning

Code scanning / clippy

this expression creates a reference which is immediately dereferenced by the compiler Warning

this expression creates a reference which is immediately dereferenced by the compiler
Comment on lines +166 to +172
if let Some(unique_index) = self.lottery_hash_index_map.get(e.as_ref()) {
if let Some(signer_index) = e.index {
proof_index_sequence.push((*unique_index, signer_index));
valid_signer_indexes.insert(signer_index);
valid_indices.insert(*unique_index);
}
}

Check warning

Code scanning / clippy

this if statement can be collapsed Warning

this if statement can be collapsed
Comment on lines +166 to +172
if let Some(unique_index) = self.lottery_hash_index_map.get(e.as_ref()) {
if let Some(signer_index) = e.index {
proof_index_sequence.push((*unique_index, signer_index));
valid_signer_indexes.insert(signer_index);
valid_indices.insert(*unique_index);
}
}

Check warning

Code scanning / clippy

this if statement can be collapsed Warning

this if statement can be collapsed
Copy link

Test Results

    4 files  ±0    164 suites  ±0   23m 47s ⏱️ -2s
2 183 tests +1  2 182 ✅ ±0  0 💤 ±0  1 ❌ +1 
6 712 runs  +3  6 711 ✅ +2  0 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 84b3374. ± Comparison against base commit 0df5853.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant