1. Jun 21, 2022
    • Davide Galassi's avatar
      More robust grandpa revert procedure (#11719) · c189bd15
      Davide Galassi authored
      * More robust revert procedure
      
      Return an error if revert is called in a node that is not actively
      running grandpa, i.e. grandpa genesis data has not been initialized.
      Previous implementation was just firing an `unreachable!` code exception.
      
      Furthermore we skip revert hassle if there is nothing to revert.
      
      * Nit
      c189bd15
    • Keith Yeung's avatar
      Implement Serialize/Deserialize on WeakBoundedVec (#11713) · 939c31bf
      Keith Yeung authored
      * Implement Serialize/Deserialize on WeakBoundedVec
      
      * cargo fmt
      
      * Warn when there are too many elements while deserializing WeakBoundedVec
      939c31bf
  2. Jun 20, 2022
  3. Jun 19, 2022
  4. Jun 18, 2022
  5. Jun 17, 2022
  6. Jun 16, 2022
  7. Jun 15, 2022
    • Georges's avatar
      combine iteratons and tolerance in sp-npos-elections API (#11498) · b71e1804
      Georges authored
      
      
      * Initial implementation of mms
      
      * Some more attempts at `mms`
      
      * Functioning `MMS` algorithm implementation.
      Adding some tests too
      
      * More tests and typos fixed.
      
      * Adding fuzzer for `mms`
      (but could not test it on Mac M1)
      
      * Missing imports
      
      * Fixing rustdoc
      
      * More accurate implementation of `mms`
      
      * Removing the fuzzer `mms` implementation
      
      * Implementing `NposSolver` for `MMS`
      had to add the `Clone` trait, maybe I could see if I can get rid of it.
      
      * Fixing rust docs by adding () to resolve ambiguity
      
      * Amending `unwrap` to `expect`
      removing unneeded `Clone` trait
      
      * Removing redundant `mms3.rs`
      
      * Implementing `BalancingConfig` and rustdoc changes
      
      * Implementing `weight` for `MMS`
      
      * Implementing `weight` for `MMS`
      
      * Fixing post merge
      
      * Initial implementation of mms
      
      * Some more attempts at `mms`
      
      * Functioning `MMS` algorithm implementation.
      Adding some tests too
      
      * More tests and typos fixed.
      
      * Adding fuzzer for `mms`
      (but could not test it on Mac M1)
      
      * Missing imports
      
      * Fixing rustdoc
      
      * More accurate implementation of `mms`
      
      * Removing the fuzzer `mms` implementation
      
      * Implementing `NposSolver` for `MMS`
      had to add the `Clone` trait, maybe I could see if I can get rid of it.
      
      * Amending `unwrap` to `expect`
      removing unneeded `Clone` trait
      
      * Fixing rust docs by adding () to resolve ambiguity
      
      * Removing redundant `mms3.rs`
      
      * Implementing `BalancingConfig` and rustdoc changes
      
      * Implementing `weight` for `MMS`
      
      * Implementing `weight` for `MMS`
      
      * Fixing post merge
      
      * Removing left over from rebase
      
      * Fixing tests
      
      * Removing unneeded import
      
      * Removing unneeded functions
      
      * Removing useless imports
      
      Co-authored-by: default avatarkianenigma <[email protected]>
      b71e1804
    • Sebastian Kunert's avatar
      Remove `without_storage_info` from pallet `transaction-storage` (#11668) · 2248d191
      Sebastian Kunert authored
      * Introduce BoundedVec
      
      * Fix typos
      
      * Add comments to the bounds
      
      * Remove migration
      
      * Improve bound value access syntax
      2248d191
  8. Jun 14, 2022
  9. Jun 13, 2022
  10. Jun 12, 2022
  11. Jun 11, 2022
  12. Jun 10, 2022