1. Dec 12, 2022
    • Niklas Adolfsson's avatar
      rpc server with HTTP/WS on the same socket (#12663) · 84303ca7
      Niklas Adolfsson authored
      * jsonrpsee v0.16
      
      add backwards compatibility
      
      run old http server on http only
      
      * cargo fmt
      
      * update jsonrpsee 0.16.1
      
      * less verbose cors log
      
      * fix nit in log: WS -> HTTP
      
      * revert needless changes in Cargo.lock
      
      * remove unused features in tower
      
      * fix nits; add client-core feature
      
      * jsonrpsee v0.16.2
      84303ca7
  2. Dec 08, 2022
    • Keith Yeung's avatar
      Introduce sensible weight constants (#12868) · 51db8c77
      Keith Yeung authored
      * Introduce sensible weight constants
      
      * cargo fmt
      
      * Remove unused import
      
      * Add missing import
      
      * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
      
      Co-authored-by: command-bot <>
      51db8c77
  3. Dec 07, 2022
    • João Paulo Silva de Souza's avatar
      Implement crate publishing on CI (#12768) · 8751f88f
      João Paulo Silva de Souza authored
      
      
      * implement crate publishing from CI
      
      * fix indentation
      
      * use resource_group for job exclusivity
      
      ensure that at most one instance of the publish-crates job is running at any given time to prevent race conditions
      
      * correct publish = false
      
      * Remove YAML anchors as GitLab's `extends:` doesn't need it
      
      * Temporarily force cache upload for the new jobs
      
      * Revert `RUSTY_CACHIER_FORCE_UPLOAD`
      
      * pin libp2p-tcp=0.37.0 for sc-telemetry
      
      * Revert "pin libp2p-tcp=0.37.0 for sc-telemetry"
      
      This reverts commit 29146bfad6c31e8cf0e2f17ad92a71bb81a373af.
      
      * always collect generated crates
      
      * increase timeout for publish-crates-template
      
      * Force upload the new job cache again
      
      * Revert "Force upload the new job cache again"
      
      This reverts commit 5a5feee1b2c51fdef768b25a76be4c3949ec1c99.
      
      * reformat
      
      * improve timeout explanation
      
      * s/usual/average
      
      Co-authored-by: Vladimir Istyufeev's avatarVladimir Istyufeev <[email protected]>
      8751f88f
  4. Dec 06, 2022
  5. Dec 05, 2022
    • Dmitry Markin's avatar
      Upgrade tokio to 1.22.0 and replace async-std with tokio (#12646) · 5eb84f9c
      Dmitry Markin authored
      * Replace deprecated libp2p feature specs with correct ones
      
      * Bump tokio to 1.21.2
      
      * Replace async-std libp2p primitives with tokio ones
      
      * minor: rustfmt
      
      * Fix TestNet to run initialization in the tokio context
      
      * Convert telemetry test from async-std to tokio
      
      * Convert notifications tests from async-std to tokio
      
      * Convert chain sync tests from async-std to tokio
      
      * Ditch async-std completely
      
      * Make executor mandatory
      
      * Bump tokio to 1.22.0
      
      * minor: rustfmt
      
      * Explicitly use tokio runtime in tests
      
      * Move more tests to explicit tokio runtime
      
      * Explicitly set multithreaded runtime in tokio test
      
      * minor: rustfmt
      
      * minor: fix comment
      
      * Replace async-std with tokio in MMR tests
      5eb84f9c
  6. Nov 25, 2022
  7. Nov 18, 2022
    • Fredrik Simonsson's avatar
      Update template to remove clippy warnings (#12670) · 69c64416
      Fredrik Simonsson authored
      * Update template to remove clippy warnings
      
      * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
      
      * Update templates from child project
      
      This should remove clippy warnings on generated files
      
      * Update after review
      
      * Update frame-weight-template.hbs
      
      Commit suggestion
      
      * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
      
      * Rerun linter on linked project
      
      Updates from child project
      
      * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
      
      Co-authored-by: command-bot <>
      69c64416
  8. Nov 15, 2022
  9. Nov 09, 2022
  10. Nov 07, 2022
  11. Nov 04, 2022
    • Sergej Sakac's avatar
      Move Throughput into `sc-sysinfo` (#12368) · 65b285e6
      Sergej Sakac authored
      
      
      * move Throughput to sc-sysinfo
      
      * replace u64
      
      * fix in tests
      
      * change Throughput
      
      * refactored Throughput
      
      * fixes
      
      * moved tests & fixes
      
      * custom serializer
      
      * note
      
      * fix serializer
      
      * forgot to remove
      
      * deserialize
      
      * functioning deserialization :)
      
      * try to make clipply happy
      
      * Serialize as function
      
      * test HwBench
      
      * rename
      
      * fix serialization
      
      * deserialize as function
      
      * unused import
      
      * move serialize/deserialize
      
      * don't serialize none
      
      * remove nonsense
      
      * remove nonsense comment :P
      
      * fixes
      
      * remove all the todos
      
      * return enum
      
      * fixes
      
      * fix nit
      
      * improve docs & readability
      
      * Update client/sysinfo/src/sysinfo.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * fix all the nits
      
      * rename
      
      * fix
      
      * Update client/sysinfo/src/sysinfo.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * remove unit from serialization
      
      * Update utils/frame/benchmarking-cli/src/machine/hardware.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      65b285e6
  12. Oct 28, 2022
  13. Oct 20, 2022
  14. Oct 19, 2022
  15. Oct 18, 2022
  16. Oct 14, 2022
  17. Oct 12, 2022
  18. Oct 11, 2022
  19. Oct 10, 2022
  20. Oct 05, 2022
    • ordian's avatar
      update kvdb & co (#12312) · 9e423925
      ordian authored
      * upgrade kvdb & co
      
      * remove patch
      
      * update Cargo.lock
      
      * upgrade impl-serde
      
      * fix parsing test
      
      * actually fix it
      
      * FFS
      9e423925
  21. Sep 28, 2022
  22. Sep 23, 2022
  23. Sep 22, 2022
  24. Sep 21, 2022
  25. Sep 20, 2022
  26. Sep 19, 2022
  27. Sep 18, 2022
    • Roman Useinov's avatar
      [Feature] Part 1: add TargetList for validator ranking (#12034) · 1b24f562
      Roman Useinov authored
      
      
      * [Feature] Part 1: add TargetList for validator ranking
      
      * remove redundant todo
      
      * remove typo
      
      * cleanup
      
      * implement score
      
      * more fixes
      
      * fix thresholds
      
      * fmt
      
      * Remove the stuff that has to come in the next PR, some fixes
      
      * extended balance import
      
      * Change all the references from VoteWeight to Self::Score
      
      * Add a migration for VoterBagsList
      
      * fix score
      
      * add targetList to nomination-pools tests
      
      * fix bench
      
      * address review comments
      
      * change get_npos_targets
      
      * address more comments
      
      * remove thresholds for the time being
      
      * fix instance reference
      
      * VoterBagsListInstance
      
      * reus
      
      * remove params that are not used yet
      
      * Introduced pre/post upgrade try-runtime checks
      
      * fix
      
      * fixes
      
      * fix migration
      
      * fix migration
      
      * fix post_upgrade
      
      * change
      
      * Fix
      
      * eloquent PhantomData
      
      * fix PD
      
      * more fixes
      
      * Update frame/staking/src/pallet/impls.rs
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      
      * is_nominator now works
      
      * fix test-staking
      
      * build fixes
      
      * fix remote-tests
      
      * Apply suggestions from code review
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarkianenigma <[email protected]>
      Co-authored-by: default avatarSquirrel <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      1b24f562
  28. Sep 14, 2022
  29. Sep 13, 2022