1. Aug 31, 2020
    • Max Inden's avatar
      client/cli/src/config: Warn on low file descriptor limit (#6956) · 377ae10d
      Max Inden authored
      * client/cli/src/config: Warn on low file descriptor limit
      
      Substrate sets the soft file descriptor limit to the hard limit at
      startup. In the case of the latter being low already (< 10_000) a
      Substrate node under high demand might run into issues e.g. when opening
      up new TCP connections or persisting data to the database.
      
      With this commit a warn message is printed to stderr.
      
      * client/cli/Cargo.toml: Update to fdlimit 0.2.0
      377ae10d
  2. Aug 21, 2020
    • Max Inden's avatar
      *: Update to next libp2p version 0.24.0 (#6891) · 3f1341a3
      Max Inden authored
      * *: Update to next libp2p version (likely v0.24.0)
      
      * Revert "*: Update to next libp2p version (likely v0.24.0)"
      
      This reverts commit ffe1545a.
      
      * */Cargo.toml: Update to libp2p v0.24.0
      
      * client/network/src/service: Handle ConnectionClosed returning Option
      
      * Cargo.*: Test kad usize conversion
      
      * Revert "Cargo.*: Test kad usize conversion"
      
      This reverts commit ad317879.
      
      * Cargo.lock: Update to libp2p-kad v0.22.1
      
      * client/cli/Cargo.toml: Update to libp2p 0.24.0
      3f1341a3
  3. Aug 20, 2020
    • Benjamin Kampmann's avatar
      prepping for releasing rc6 (#6922) · be8bb186
      Benjamin Kampmann authored
      * Bump version
      
      * update test-utils crates to be ready for publishing
      
      * adding changelog
      
      * Adding automaticly generated READMEs
      
      * fixing versions
      
      * another version mishap
      2 tags
      be8bb186
    • Web3 Philosopher's avatar
      Merge Subkey into sc-cli (#4954) · 6e098a10
      Web3 Philosopher authored
      * draft
      
      * revert
      
      * WIP
      
      * all that remains is tests
      
      * update Cargo.lock
      
      * tests WIP
      
      * WIP refactor node-template-runtime and node-runtime
      
      * implments sc_cli::RuntimeAdapter for node_template_runtime::Runtime
      
      * final draft
      
      * fix update_config for subcommands
      
      * proper AccountId decoding
      
      * test-runtime tests
      
      * revert
      
      * move RuntimeAdapter to cli-utils
      
      * use &'static str for TryFrom::<&'a str>::Error for Ss58AddressFormat
      
      * tests
      
      * add frame-system to sc-cli dev-dependencies
      
      * add frame-system to sc-cli dev-dependencies
      
      * fix ui test
      
      * wip
      
      * fixed inspect test
      
      * bump impl version
      
      * bump impl version, fixx spaces remove todos
      
      * pallet-balances-cli, rustc for some reason cannot resolve pallet_balances_cli in node-cli 😩
      
      * wip
      
      * Subcommand::run takes &self
      
      * can't believe i missed that 🤦🏾‍♂️
      
      * bump wasm-bindgen for some reason
      
      * adds key subcommand, rename generate-node-key to generate-node-id
      
      * cargo update and crossed fingers 🤞🏽
      
      
      
      * update ui test
      
      * update more ui tests
      
      * should be all good now
      
      * revert subkey change
      
      * revert subkey change
      
      * adds frame-utilities-cli
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      
      * removes frame from sc-cli, fix license
      
      * my editor and ci disagrees on line width
      
      * bump spec version
      
      * turn off default features for parity-scale-codec
      
      * enable full_crypto feature for sp-core in cli-utils
      
      * merge frame-utilities-cli with pallet-balances-cli
      
      * remove full_crypto feature from sp_core in cli-utils
      
      * bump Cargo.lock
      
      * cli-utils -> frame-utils
      
      * rename BlockNumber to GenericNumber, fix spaces
      
      * fix spaces
      
      * construct additional_signed manually
      
      * sign test
      
      * remove unused vars
      
      * implement subkey with frame-utilities-cli and sc_cli
      
      * fix moduleid test
      
      * CI and clion disagree on line widths
      
      * adds associated Params type to SignedExtensionProvider
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      
      * move some code around
      
      * removes unneccesary generic params
      
      * moves module_id back to frame_utilities_cli
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * remove print_ext
      
      * remove MaybeDisplay from pallet_balances::Trait::Balance
      
      * a lot of stuff tbh
      
      * adds ExtrasParamsBuilder
      
      * remove tests for ModuleIdCmd
      
      * address comments from PR
      
      * bump Cargo.lock
      
      * manually insert key into keystore
      
      * remove unnecessary SharedParams
      
      * add validation to vanity pattern, remove unused arg
      
      * remove SharedParams from Sign, Vanity, Verify
      
      * remove SharedParams from ModuleIdCmd, remove expect from Verify, new line to Cargo.toml
      
      * remove SharedParams from InsertCmd
      
      * 🤦🏾
      
      ‍♂️
      
      * deleted prometheus.yml
      
      * move a few things around
      
      * fix vanity test
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      6e098a10
  4. Jul 28, 2020
  5. Jul 22, 2020
    • Cecile Tonglet's avatar
      Graceful shutdown for the task manager (#6654) · 64d4a4da
      Cecile Tonglet authored
      * Initial commit
      
      Forked at: 60e3a693
      Parent branch: origin/master
      
      * Move task_manager.rs to mod.rs
      
      * Graceful shutdown for the task manager
      
      * Await all background task JoinHandle at the same time
      
      * Add tests
      
      * Make future() wait also for exit signal + fix essential task failed
      
      Probably related to https://github.com/paritytech/cumulus/issues/111
      
      
      
      * add comments for non-obvious code
      
      * Use clean_shutdown() in sc-cli
      
      * Adapt code and upgrade tokio in sc-cli
      
      * cleanup spacing in doc
      
      * Add license
      
      * I guess actually running the clean shutdown would be a good idea
      
      * fix tests
      
      * Update client/cli/src/runner.rs
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      
      * Improve error logging
      
      * disable other tests (can't reproduce on my machine)
      
      * Revert "disable other tests (can't reproduce on my machine)"
      
      This reverts commit c133c590.
      
      * It is possible that the tasks are ended first
      
      * Revert "It is possible that the tasks are ended first"
      
      This reverts commit 502aba4a.
      
      * Use single threaded scheduler for more predictability
      
      * enable_time
      
      * Revert "enable_time"
      
      This reverts commit 4e152140.
      
      * Revert "Use single threaded scheduler for more predictability"
      
      This reverts commit ee5e13c5.
      
      * Revert "Revert "It is possible that the tasks are ended first""
      
      This reverts commit 1b91a8ca
      
      .
      
      * This cannot be verified either with a threaded pool
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      64d4a4da
  6. Jul 21, 2020
  7. Jul 10, 2020
  8. Jul 08, 2020
  9. Jul 02, 2020
  10. Jun 25, 2020
  11. Jun 10, 2020
  12. Jun 08, 2020
  13. May 26, 2020
  14. May 25, 2020
  15. May 21, 2020
  16. May 16, 2020
  17. May 15, 2020
  18. May 05, 2020
  19. Apr 16, 2020
  20. Apr 15, 2020
  21. Apr 14, 2020
  22. Apr 13, 2020
  23. Apr 04, 2020
    • Benjamin Kampmann's avatar
      Additional Metrics collected and exposed via prometheus (#5414) · 8991aab9
      Benjamin Kampmann authored
      
      
      This PR refactors the metrics measuring and Prometheus exposing entity in sc-service into its own submodule and extends the parameters it exposes by:
      
      - system load average (over one, five and 15min)
      - the TCP connection state of the process (lsof), refs #5304
      - number of tokio threads
      - number of known forks
      - counter for items in each unbounded queue (with internal unbounded channels)
      - number of file descriptors opened by this process (*nix only at this point)
      - number of system threads (*nix only at this point)
      
      refs #4679
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      Co-authored-by: default avatarAshley <[email protected]>
      8991aab9
  24. Mar 30, 2020
  25. Mar 29, 2020
  26. Mar 27, 2020
  27. Mar 24, 2020
  28. Mar 19, 2020
    • Benjamin Kampmann's avatar
      Update dependencies (#5316) · c50faf23
      Benjamin Kampmann authored
      * switching to released wasmtime
      
      * update depdencies in general
      
      * Update fdlimit
      
      * Update parity common deps
      
      * Also update schnorrkel
      
      * update kvdb-rocksdb
      
      * update further dependents
      
      * also update primitive types
      
      * update cargo.lock
      
      * update merlin
      
      * Bumping evm version
      c50faf23
  29. Mar 18, 2020
  30. Mar 16, 2020
  31. Feb 27, 2020
    • Benjamin Kampmann's avatar
      prepping for Alpha.3 (#5080) · 013c1ee1
      Benjamin Kampmann authored
      * Bump to alpha.3
      
      * update gitlab-ci
      v2.0.0-alpha.3
      013c1ee1
    • Max Inden's avatar
      *: Rename prometheus-exporter crate to substrate-prometheus-end… (#5076) · e769ac4a
      Max Inden authored
      This patch renames the crate for the following two reasons:
      
      1. The prometheus-exporter crate introduces native in-process Prometheus
      style instrumentation to the Substrate project. Within the Prometheus
      ecosystem the term "exporter" is used for external processes exposing
      metrics for e.g. the Linux Kernel. In-process exposition would be
      described via the term "endpoint".
      
      2. "prometheus-exporter" is generic and ignores the fact that it is only
      usable within the context of Substrate. In addition the name
      "prometheus-exporter" is already taken on crates.io.
      e769ac4a
  32. Feb 26, 2020
  33. Feb 25, 2020
  34. Feb 21, 2020
    • Benjamin Kampmann's avatar
      Cargo.toml fixups for the release (#4975) · 2406f796
      Benjamin Kampmann authored
      * setting versions to development pre-release
      
      fixing version in dependencies
      
      * unset already released wasm-builder
      
      * do not publish test crates
      
      * adding licenses
      
      * setting homepage metadata
      
      * set repository url
      2406f796