Skip to content
Snippets Groups Projects
  1. Dec 04, 2020
  2. Nov 30, 2020
  3. Nov 23, 2020
    • Max Inden's avatar
      client/authority-discovery: Publish and query on exponential interval (#7545) · d692d173
      Max Inden authored
      * client/authority-discovery: Publish and query on exponential interval
      
      When a node starts up publishing and querying might fail due to various
      reasons, for example due to being not yet fully bootstrapped on the DHT.
      Thus one should retry rather sooner than later. On the other hand, a
      long running node is likely well connected and thus timely retries are
      not needed. For this reasoning use an exponentially increasing interval
      for `publish_interval`, `query_interval` and
      `priority_group_set_interval` instead of a constant interval.
      
      * client/authority-discovery/src/interval.rs: Add license header
      
      * .maintain/gitlab: Ensure adder collator tests are run on CI
      d692d173
    • André Silva's avatar
      grandpa: remove light-client specific block import pipeline (#7546) · 1871a950
      André Silva authored
      * grandpa: remove light-client specific block import
      
      * consensus, network: remove finality proofs
      1871a950
  4. Nov 20, 2020
  5. Nov 09, 2020
  6. Nov 05, 2020
  7. Nov 04, 2020
  8. Oct 28, 2020
    • thiolliere's avatar
      Fix benchmarks template whitespaces (#7447) · 16799198
      thiolliere authored
      
      * fix
      
      * actual fix
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Update frame/system/src/weights.rs
      
      Co-authored-by: default avatarParity Benchmarking Bot <admin@parity.io>
      Co-authored-by: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      16799198
  9. Oct 27, 2020
    • Shawn Tabrizi's avatar
      New Weight Template + Organization (#7391) · e4cfb255
      Shawn Tabrizi authored
      
      * add_handlebar_template_to_benchmark
      
      - add benchmark-cli arg to take in a handlebar-template file
      
      * update to always use template
      
      * rewrite writer for handlebars
      
      * polish
      
      * pass cmd data
      
      * update docs
      
      * new weight layout
      
      * separate templates
      
      * support custom filename output
      
      * Update command.rs
      
      * Create frame-weight-template.hbs
      
      * use a vector to maintain benchmark order
      
      * bring back ()
      
      * fix tests
      
      * fix build
      
      * Custom string serializer, remove feature flag
      
      * temp
      
      * rename
      
      * nit
      
      * update docs
      
      * docs on public objects
      
      * small fix
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * remove long line
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for system
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for staking
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/identity/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for identity and staking
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_collective --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/collective/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for collective
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for democracy
      
      * clean up zeros
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_elections_phragmen --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/elections-phragmen/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for elections phragmen
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_im_online --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/im-online/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for im online
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_indices --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/indices/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for indices
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_multisig --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/multisig/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for multisig
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_proxy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/proxy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for proxy
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_scheduler --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/scheduler/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for scheduler
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_session --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/session/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for session
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_timestamp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/timestamp/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for timestamp
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/treasury/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for treasury
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for utility
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_vesting --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/vesting/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for vesting
      
      * temp update
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      Co-authored-by: default avatarEzadkiel Marbella <zadkiel.m@gmail.com>
      Co-authored-by: default avatarParity Benchmarking Bot <admin@parity.io>
      e4cfb255
    • Shawn Tabrizi's avatar
      Use Handlebars Template for Benchmark CLI Output (#7390) · 3ac070b6
      Shawn Tabrizi authored
      
      * add_handlebar_template_to_benchmark
      
      - add benchmark-cli arg to take in a handlebar-template file
      
      * update to always use template
      
      * rewrite writer for handlebars
      
      * polish
      
      * pass cmd data
      
      * update docs
      
      * support custom filename output
      
      * Update command.rs
      
      * Create frame-weight-template.hbs
      
      * use a vector to maintain benchmark order
      
      * fix tests
      
      * Custom string serializer, remove feature flag
      
      * update docs
      
      * docs on public objects
      
      * small fix
      
      Co-authored-by: default avatarEzadkiel Marbella <zadkiel.m@gmail.com>
      3ac070b6
  10. Oct 16, 2020
  11. Oct 05, 2020
    • Max Inden's avatar
      .maintain/monitoring: Add alert when continuous task ends (#7250) · 0ff724c9
      Max Inden authored
      * .maintain/monitoring: Add alert when continuous task ends
      
      Through the `polkadot_tasks_ended_total` Prometheus metric one can tell
      when a task ended. Use this metric to alert when specific
      known-to-be-continuous tasks end on a node.
      
      * .maintain/monitoring: Don't hard-code task names
      0ff724c9
  12. Sep 30, 2020
    • Max Inden's avatar
      .maintain/monitoring: Normalize alerting rules (#7232) · 51c0d27a
      Max Inden authored
      * .maintain/monitoring: Normalize alerting rules
      
      - Start alert names with their component and end with the describing
      adjective.
      
      - Describe alert duration in `message` with `for more than` across all
      alerts.
      
      * .maintain/monitoring: Fix alert tests
      51c0d27a
  13. Sep 24, 2020
  14. Sep 17, 2020
  15. Sep 15, 2020
  16. Sep 14, 2020
  17. Sep 08, 2020
  18. Aug 24, 2020
  19. Aug 13, 2020
  20. Aug 03, 2020
  21. Jul 27, 2020
  22. Jul 23, 2020
    • HarryHong's avatar
      [CI]Chaostest suite initiation (#5793) · 36e31208
      HarryHong authored
      
      * Initiate chaostest cli test suite: singlenodeheight on one dev node
          Added chaostest stages in CI
          Added new docker/k8s resources and environments to CI
          Added new chaos-only tag to gitlab-ci.yml
      
      * Update .maintain/chaostest/src/commands/singlenodeheight/index.js
      
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
      
      * change nameSpace to namespace(one word)
      
      * update chaos ci job to match template
      
      * rename build-pr ci stage to docker [chaos:basic]
      
      * test gitlab-ci [chaos:basic]
      
      * Update .gitlab-ci.yml
      
      * add new build-chaos-only condition
      
      * add *default-vars to singlenodeheight [chaos:basic]
      
      * change build-only to build-rules on substrate jobs [chaos:basic]
      
      * test and change when:on_success to when:always [chaos:basic]
      
      * resolve conflicts and test [chaos:basic]
      
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
      Co-authored-by: default avatarDenis Pisarev <denis.pisarev@parity.io>
      36e31208
  23. Jul 20, 2020
  24. Jul 17, 2020
    • Max Inden's avatar
      .maintain/monitoring/alerting-rules: Remove HighCPUUsage alert (#6648) · fe9c01fc
      Max Inden authored
      The `HighCPUUsage` alert is based on the `cpu_usage_percentage` metric.
      Instead of exposing the overall CPU usage in percent, the metric exposes
      the per core usage summed over all cores.
      
      This commit removes the alert for two reasons:
      
      1. Substrate itself does not expose the core count and thus one can not
      alert based on the `cpu_usage_percentage` metric.
      
      2. Alerting based on CPU usage is generic and not specific to Substrate
      or Blockchains. Thus any CPU usage alert suffice.
      fe9c01fc
  25. Jul 16, 2020
  26. Jul 15, 2020
  27. Jul 03, 2020
  28. Jul 02, 2020
    • pscott's avatar
      Update SubstrateCli to return String (#6550) · 540ae1c1
      pscott authored
      
      * Update SubstrateCli to return String
      
      * Add default implementation for executable_name()
      
      * Use display instead of PathBuf
      
      * Get file_name in default impl of executable_name
      
      * Remove String::from and use .into()
      
      * Use default impl for executable_name()
      
      * Use .as_str() and remove useless .to_string()
      
      * Update only sp-io when running companion build
      
      * Remove unneeded update of sp-io in CI
      
      Co-authored-by: default avatarCecile Tonglet <cecile@parity.io>
      540ae1c1
  29. Jul 01, 2020
    • Max Inden's avatar
      .maintain/monitoring/alerting-rules: Adjust transaction queue size alert (#6426) · 585ea531
      Max Inden authored
      The transaction queue size alert has been firing with a constant 10
      transactions in the queue. While maybe problematic those 10 transactions
      don't need to be the same across scrape intervals.
      
      Instead of alerting with a size above 10, alert based on two things:
      
      1. Monotonically increasing queue size
      
      2. Upper limit queue size reached
      585ea531
  30. Jun 25, 2020
  31. Jun 19, 2020
  32. Jun 18, 2020
  33. Jun 17, 2020
  34. Jun 16, 2020