Skip to content
  • Zeke Mostov's avatar
    Create trait for NPoS election algorithms (#9664) · 6bfcfeed
    Zeke Mostov authored
    
    
    * build the template, hand it over to zeke now.
    
    * Tests working
    
    * save wip
    
    * Some updates
    
    * Some cleanup
    
    * mo cleanin
    
    * Link to issue
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Bound accuracy for prepare_election_result
    
    * Use npos_election::Error for phragmms
    
    * save
    
    * Apply suggestions from code review
    
    * Simplify test to use Balancing::set
    
    * Cargo.lock after build
    
    * Revert "Cargo.lock after build"
    
    This reverts commit 7d726c8efa687c09e4f377196b106eb9e9760487.
    
    * Try reduce cargo.lock diff
    
    * Update bin/node/runtime/src/lib.rs
    
    * Comment
    
    * Apply suggestions from code review
    
    * Set balancing directly
    
    * Document som pub items
    
    * Update frame/election-provider-multi-phase/src/unsigned.rs
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Improve some comments
    
    * Revert accidental change to random file
    
    * tiney
    
    * revert
    
    Co-authored-by: default avatarkianenigma <[email protected]>
    Co-authored-by: default avatarKian Paimani <[email protected]>
    6bfcfeed