Skip to content
  1. Sep 27, 2021
    • Bernhard Schuster's avatar
      minor chore changes (#3944) · d64394ef
      Bernhard Schuster authored
      * chore: mild refactor, avoid the channel in handle_import_statements
      
      * chore/md: lint
      d64394ef
    • asynchronous rob's avatar
      disputes: reject single-sided disputes (#3903) · 94986bec
      asynchronous rob authored
      * disputes: reject single-sided disputes
      
      * fmt
      94986bec
    • Robert Klotzner's avatar
      Log info about low connectivity and unreachable validators (#3916) · 7c3b3c4a
      Robert Klotzner authored
      * Attempt to add log stats to gossip-support.
      
      * WIP: Keep track of connected validators.
      
      * Clarify metric.
      
      * WIP: Make gossip support report connectivity.
      
      * WIP: Fixing tests.
      
      * Fix network bridge + integrate in overseer.
      
      * Consistent naming.
      
      * Fix logic error
      
      * cargo fmt
      
      * Pretty logs.
      
      * cargo fmt
      
      * Use `Delay` to trigger periodic checks.
      
      * fmt
      
      * Fix warning for authority set size of 1.
      
      * More correct ratio report if there are no resolved validators.
      
      * Prettier rendering of empty set.
      
      * Fix typo.
      
      * Another typo.
      
      * Don't check on every leaf update.
      
      * Make compatible with older rustc.
      
      * Fix tests.
      
      * Demote warning.
      7c3b3c4a
    • Ayush Mishra's avatar
      Added multisig in Rococo (#3873) · fdebbbf4
      Ayush Mishra authored
      * Added multisig in Rococo
      
      * removed formatting error
      
      Co-authored-by: Ayush <>
      fdebbbf4
    • Liu-Cheng Xu's avatar
      Fix bin-substrate toml (#3939) · 7f2fab26
      Liu-Cheng Xu authored
      7f2fab26
    • dependabot[bot]'s avatar
      Bump tracing from 0.1.27 to 0.1.28 (#3937) · 724a1b48
      dependabot[bot] authored
      
      
      Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.27 to 0.1.28.
      - [Release notes](https://github.com/tokio-rs/tracing/releases)
      - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28)
      
      ---
      updated-dependencies:
      - dependency-name: tracing
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      724a1b48
    • Shawn Tabrizi's avatar
      XCM Benchmarks for Asset Transactor w/ Fungible Asset (#3818) · 7c8804c0
      Shawn Tabrizi authored
      
      
      * benchmarks for fungibles
      
      * add benchmark to westend
      
      * fix hex
      
      * clean up a bit
      
      * update code doc
      
      * fix warnings
      
      * cargo run --quiet --release --features runtime-benchmarks -- benchmark --chain=westend-dev --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --steps=10 --repeat=10 --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./ --execution=wasm --wasm-execution=compiled
      
      * use skip
      
      * fix spelling
      
      * Update Cargo.lock
      
      * add scale-info
      
      * Update Cargo.lock
      
      * update bench
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
      
      * weights compile
      
      * update westend to use weights
      
      * fmt
      
      * spelling fixes
      
      * Delete pallet_xcm_benchmarks::fungible.rs
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * fix code review
      
      * update weight
      
      * fix report_error
      
      * fix spell check
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      7c8804c0
  2. Sep 26, 2021
  3. Sep 25, 2021
  4. Sep 24, 2021
  5. Sep 23, 2021
    • asynchronous rob's avatar
      add parachains pallets to Polkadot runtime (#3815) · ccb7bc5c
      asynchronous rob authored
      
      
      * add parachains pallets to Polkadot runtime
      
      * some updates
      
      * temp update deposits, fix compile
      
      * lower para byte deposit
      
      * fix genesis
      
      * fmt
      
      * fix spell
      
      * updates to consts
      
      * update benchmark list
      
      * fix merge master
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_crowdloan.rs
      
      * skip large meta
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_crowdloan.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_paras_registrar.rs
      
      * fmt
      
      * add and update proxies
      
      * add weight info
      
      * weights
      
      * lower minimum contribution to 5 DOT
      
      * only overwrite when default
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarParity Bot <[email protected]>
      ccb7bc5c
    • asynchronous rob's avatar
      Add a `force_unfreeze` extrinsic to the disputes module (#3906) · 03934d2a
      asynchronous rob authored
      
      
      * add a 'force_unfreeze' to the Disputes module
      
      * fmt
      
      * Benchmark Disputes `force_unfreeze` extrinsic (#3908)
      
      * Companion for Generate storage info for pallet babe #9760 (#3831)
      
      * Adding MaxSegmentLength and MaxAuthorities
      to pallet babe
      
      * Missed a few to_vec
      
      * Removing `MaxSegmentLength` as not needed anymore
      
      * Adding `MaxAuthorities` to couple of missing place
      
      * Adding missing definition of `MaxAuthorities`
      
      * Adding a missing to_vec
      
      * update Substrate
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: parity-processbot <>
      
      * Benchmark Disputes `force_unfreeze` extrinsic
      
      target pr: #3906
      target branch: rh-unfreeze
      
      * Add benchmark to rococo runtime; run benchmark locally
      
      * Revert unintentionally added diff
      
      * Some spacing and comments
      
      * Bump proc-macro-crate from 1.0.0 to 1.1.0 (#3863)
      
      Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) from 1.0.0 to 1.1.0.
      - [Release notes](https://github.com/bkchr/proc-macro-crate/releases)
      - [Commits](https://github.com/bkchr/proc-macro-crate/commits)
      
      ---
      updated-dependencies:
      - dependency-name: proc-macro-crate
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      
      * Bump parity-scale-codec from 2.2.0 to 2.3.0 (#3833)
      
      Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec) from 2.2.0 to 2.3.0.
      - [Release notes](https://github.com/paritytech/parity-scale-codec/releases)
      - [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/paritytech/parity-scale-codec/compare/v2.2...parity-scale-codec-v2.3.0)
      
      ---
      updated-dependencies:
      - dependency-name: parity-scale-codec
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      
      * Use super::WeightInfo to try and get CI to compile
      
      * cargo run --quiet --release --features runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::disputes --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtime/parachains/src/disputes/weights.rs --header=./file_header.txt
      
      * impl TestWeightInfo; remove weights from runtime_parachains dir
      
      * fmt
      
      * Update test-runtime
      
      Co-authored-by: default avatarGeorges <[email protected]>
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarParity Bot <[email protected]>
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      Co-authored-by: default avatarGeorges <[email protected]>
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarParity Bot <[email protected]>
      03934d2a
    • Pierre Besson's avatar
      Add new rococo chainspec (#3905) · b60d2eee
      Pierre Besson authored
      b60d2eee
    • Keith Yeung's avatar
    • dependabot[bot]'s avatar
      Bump parity-scale-codec from 2.2.0 to 2.3.0 (#3833) · 4f70899f
      dependabot[bot] authored
      
      
      Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec) from 2.2.0 to 2.3.0.
      - [Release notes](https://github.com/paritytech/parity-scale-codec/releases)
      - [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/paritytech/parity-scale-codec/compare/v2.2...parity-scale-codec-v2.3.0)
      
      ---
      updated-dependencies:
      - dependency-name: parity-scale-codec
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      4f70899f
    • dependabot[bot]'s avatar
      Bump proc-macro-crate from 1.0.0 to 1.1.0 (#3863) · 8e078d31
      dependabot[bot] authored
      
      
      Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) from 1.0.0 to 1.1.0.
      - [Release notes](https://github.com/bkchr/proc-macro-crate/releases)
      - [Commits](https://github.com/bkchr/proc-macro-crate/commits)
      
      ---
      updated-dependencies:
      - dependency-name: proc-macro-crate
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      8e078d31
  6. Sep 22, 2021
    • Georges's avatar
      Companion for Generate storage info for pallet babe #9760 (#3831) · 24a141b5
      Georges authored
      
      
      * Adding MaxSegmentLength and MaxAuthorities
      to pallet babe
      
      * Missed a few to_vec
      
      * Removing `MaxSegmentLength` as not needed anymore
      
      * Adding `MaxAuthorities` to couple of missing place
      
      * Adding missing definition of `MaxAuthorities`
      
      * Adding a missing to_vec
      
      * update Substrate
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: parity-processbot <>
      24a141b5
    • Kian Paimani's avatar
      Companion for substrate PR#9766 (#3900) · 8c684129
      Kian Paimani authored
      * fix weights
      
      * reduce time
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      8c684129
    • Georges's avatar
      Companion for Generate storage info for pallet grandpa #9817 (#3892) · 9d7972ab
      Georges authored
      * Adding `MaxAuthorities` to pallet grandpa
      This is neede after changes to substrate
      
      * Adding `MaxAuthorities` to granda in test-runtime
      
      * Missed one `MaxAuthorities`
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      9d7972ab
    • asynchronous rob's avatar
      add tracing to assignment criteria (#3886) · fd150db8
      asynchronous rob authored
      * add tracing to assignment criteria
      
      * fmt
      fd150db8
    • Keith Yeung's avatar
      Add benchmarking for parachain runtime paras pallet (#3888) · db0b7e00
      Keith Yeung authored
      
      
      * Crate basic barebones benchmarking infrastructure for paras
      
      * Fill in benchmarking contents
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_paras.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_paras.rs
      
      * Use autogenerated WeightInfos for kusama and westend
      
      * cargo fmt
      
      * Use saturating_sub
      
      * Add missing import
      
      * Try and hit the worst possible time complexity as much as possible
      
      * cargo fmt
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_paras.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_paras.rs
      
      * Add a MAX_HEAD_DATA_SIZE constant
      
      * Prefill vectors with sample data for worst case complexity
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_paras.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_paras.rs
      
      * Improve comment on SAMPLE_SIZE constant
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      db0b7e00
  7. Sep 21, 2021
  8. Sep 20, 2021
    • Zeke Mostov's avatar
      weights: pallet-staking & pallet-bags-list (#3872) · 80edb1b3
      Zeke Mostov authored
      
      
      * Get ready to weight staking & bags-list
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_bags_list --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_bags_list --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * fmt
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      80edb1b3
    • Jaco Greeff's avatar
      Re-enable metadata compare CI check (#3895) · 6f002ac7
      Jaco Greeff authored
      6f002ac7
    • Koute's avatar
      Bump `parity-util-mem` to 0.10.2 (#3897) · f7ccb687
      Koute authored
      f7ccb687
    • Bernhard Schuster's avatar
      d711673e
    • Georges's avatar
      Companion for Generate storage info for pallet im_online #9654 (#3744) · d13d0d4f
      Georges authored
      * Adding `MaxKeys` `MaxPeerInHeartbeats` and
      `MaxPeerDataEncodingSize` to paller `im_online` after substrate changes
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      d13d0d4f
    • Koute's avatar
      Gather memory usage statistics through `parity-util-mem` (#3893) · 7b39f096
      Koute authored
      * Gather memory usage statistics through `parity-util-mem`
      
      * Update `Cargo.lock`
      7b39f096
  9. Sep 18, 2021
    • ordian's avatar
      ci: cache seed in fuzzer job (#3885) · fa4e5131
      ordian authored
      * ci: cache seed in fuzzer job
      
      * change id based on binary
      fa4e5131
    • Keith Yeung's avatar
      Add benchmarking for parachain runtime configuration pallet (#3862) · 706f1425
      Keith Yeung authored
      
      
      * Add benchmarking for parachain runtime configuration pallet
      
      * cargo fmt
      
      * Add WeightInfo trait
      
      * Specify missing WeightInfo associated type in mocks
      
      * Fix typo
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs
      
      * Fix compilation errors
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs
      
      * Condense the number of WeightInfo methods
      
      * Fixes
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_configuration.rs
      
      * Make use of weights generated from kusama benchmarking
      
      * Use a better dispatch function for weighing set_config_with_block_number
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_configuration.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      706f1425