1. Apr 15, 2022
    • Georges's avatar
      Adding benchmarking for new `frame_election_provider_support` (#11149) · ae75a371
      Georges authored
      * First stab at adding benchmarking for
      `election-provider-support` onchain
      
      * Adding `BoundedPhragMMS` and fixing stuff
      
      * Fixing node runtime
      
      * Fixing tests
      
      * Finalising all benchmarking stuff
      
      * better comments
      
      * Better benchmarking config
      
      * Better `WeightInfo` and benchmarking
      
      * Fixing tests
      
      * Adding some documentation
      
      * Fixing some typos
      
      * Incorporating review feedback
      
      * cleanup of rustdocs
      
      * rustdoc changes
      
      * changes after code review
      
      * Fixing some errors.
      
      * Fixing dependencies post merge
      
      * Bringing back `UnboundedExecution`
      
      * Better rustdoc and naming
      
      * Cargo.toml formatting
      ae75a371
  2. Apr 14, 2022
  3. Apr 13, 2022
  4. Apr 12, 2022
    • Qinxuan Chen's avatar
      Bump soketto to v0.7.1 (#11203) · 3fec1082
      Qinxuan Chen authored
      
      
      Signed-off-by: default avatarkoushiro <[email protected]>
      3fec1082
    • Denis_P's avatar
      CI: rename ambiguous jobs (#11207) · ba8beeed
      Denis_P authored
      ba8beeed
    • Bastian Köcher's avatar
      Finality notification: Optimize calculation of stale heads (#11200) · cc4b5c48
      Bastian Köcher authored
      
      
      * Finality notification: Optimize calculation of stale heads
      
      While looking into some problem on Versi where a collator seemed to be stuck. I found out that it
      was not stuck but there was a huge gap between last finalized and best block. This lead to a lot
      leaves and it was basically trapped inside some loop of reading block headers from the db to find
      the stale heads. While looking into this I found out that `leaves` already supports the feature to
      give us the stale heads relative easily. However, the semantics change a little bit. Instead of
      returning all stale heads of blocks that are not reachable anymore after finalizing a block, we
      currently only return heads with a number lower than the finalized block. This should be no problem,
      because these other leaves that are stale will be returned later when a block gets finalized which
      number is bigger than the block number of these leaves.
      
      While doing that, I also changed `tree_route` of the `FinalityNotification` to include the
      `old_finalized`. Based on the comment I assumed that this was already part of it. However, if
      wanted, I can revert this change.
      
      * FMT
      
      * Update client/service/src/client/client.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      
      * Do not include the last finalized block
      
      * Rename function
      
      * FMT
      
      * Fix tests
      
      * Update figure
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      cc4b5c48
    • Xiliang Chen's avatar
      add has_identity (#11197) · f84fc598
      Xiliang Chen authored
      
      
      * add has_identity
      
      * Update frame/identity/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * update
      
      * update
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      f84fc598
  5. Apr 11, 2022
    • Koute's avatar
      Add new hardware and software metrics (#11062) · 8351ada6
      Koute authored
      * Add new hardware and software metrics
      
      * Move sysinfo tests into `mod tests`
      
      * Correct a typo in a comment
      
      * Remove unnecessary `nix` dependency
      
      * Fix the version tests
      
      * Add a `--disable-hardware-benchmarks` CLI argument
      
      * Disable hardware benchmarks in the integration tests
      
      * Remove unused import
      
      * Fix benchmarks compilation
      
      * Move code to a new `sc-sysinfo` crate
      
      * Correct `impl_version` comment
      
      * Move `--disable-hardware-benchmarks` to the chain-specific bin crate
      
      * Move printing out of hardware bench results to `sc-sysinfo`
      
      * Move hardware benchmarks to a separate messages; trigger them manually
      
      * Rename some of the fields in the `HwBench` struct
      
      * Revert changes to the telemetry crate; manually send hwbench messages
      
      * Move sysinfo logs into the sysinfo crate
      
      * Move the `TARGET_OS_*` constants into the sysinfo crate
      
      * Minor cleanups
      
      * Move the `HwBench` struct to the sysinfo crate
      
      * Derive `Clone` for `HwBench`
      
      * Fix broken telemetry connection notification stream
      
      * Prevent the telemetry connection notifiers from leaking if they're disconnected
      
      * Turn the telemetry notification failure log into a debug log
      
      * Rename `--disable-hardware-benchmarks` to `--no-hardware-benchmarks`
      8351ada6
    • Bastian Köcher's avatar
      Prepare for rust stable 1.60 (#11138) · f517e57f
      Bastian Köcher authored
      
      
      * Prepare for rust stable 1.59
      
      Besides preparing the UI tests this also adds a new script update-rust-stable.sh script for
      simplifying the update of a rust stable version. This script will run all UI tests for the new
      rust stable version and updating the expected output.
      
      * Ensure we run the UI tests in CI
      
      * use staging ci image
      
      * More test updates
      
      * Unignore test (#11097)
      
      * empty commit for pipeline rerun
      
      * empty commit for pipeline rerun
      
      * Try to make clippy happy
      
      * More clippy fixes
      
      * FMT
      
      * ci image production
      
      Co-authored-by: default avataralvicsam <[email protected]>
      Co-authored-by: default avatarAlexander Samusev <[email protected]>
      f517e57f
    • Dominique's avatar
      Updated docs for method `set_payee` & `set_controller` (#11192) · d20a10de
      Dominique authored
      * Updated docs for method 'set_payee'
      
      * Updated docs for method 'set_controller'
      d20a10de
    • Xiliang Chen's avatar
      03ab76e9
    • Davide Galassi's avatar
      Normalization of CLI options format (CamelCase => kebab-case) (#11194) · 641a43a0
      Davide Galassi authored
      * Convert cli options from 'CamelCase' to 'kebab-case'
      * Remove not required 'as_str' for 'ExecutionStrategy' option
      641a43a0
  6. Apr 09, 2022
  7. Apr 08, 2022
  8. Apr 07, 2022
  9. Apr 06, 2022
  10. Apr 05, 2022
  11. Apr 04, 2022
    • Bastian Köcher's avatar
      transactional: Fix some nitpicks (#11163) · 9090c01e
      Bastian Köcher authored
      * transactional: Fix some nitpicks
      
      This fixes some nitpicks related to the transactional storage stuff from me. As everything was
      merged too fast, here are some nitpicks from me. First, the entire functionality is moved into its
      own file to have a clear separation. Secondly I changed the `set_transactional_level` to not take
      `Layer` by reference. Besides that I have added some docs etc.
      
      * Add some comment
      
      * Move tests
      
      * 🤦
      9090c01e
    • Davide Galassi's avatar
      d3d3df5b