Skip to content
  1. Sep 15, 2020
  2. Sep 01, 2020
  3. Aug 31, 2020
  4. Aug 29, 2020
  5. Aug 28, 2020
    • Max Inden's avatar
      client/*: Treat protocol name as str and not [u8] (#6967) · beb74f49
      Max Inden authored
      * client/*: Treat protocol name as str and not [u8]
      
      Notification protocol names are in practice always valid utf8 strings.
      Instead of treating them as such in the type system, thus far they were
      casted to a [u8] at creation time.
      
      With this commit protocol names are instead treated as valid utf8
      strings throughout the codebase and passed as `Cow<'static, str>`
      instead of `Cow<'static, [u8]>`. Among other things this eliminates the
      need for string casting when logging.
      
      * client/network: Don't allocate when protocol name is borrowed
      beb74f49
    • Alexander Popiak's avatar
      add generated weight info for pallet-collective (#6789) · 86ae27e0
      Alexander Popiak authored
      
      
      * add benchmark for disapprove_proposal
      
      * use generated WeightInfo for pallet-collective weights
      
      * order collective benchmark params alphabetically to get a consistent ordering
      
      * address review comments
      
      * remove default impl of WeightInfo for ()
      
      * remove comments about weight changes
      
      * add default weights
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      
      * whitelist voter account in benchmark
      
      * update weights
      
      * MaxMembers configurable
      
      * remove base weight comment
      
      * add weight to technical collective
      
      * another DB whitelist optimization
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      86ae27e0
  6. Aug 27, 2020
  7. Aug 26, 2020
  8. Aug 25, 2020
  9. Aug 24, 2020