Skip to content
  1. Jan 10, 2022
  2. Jan 07, 2022
  3. Jan 06, 2022
    • Adrian Catangiu's avatar
      Companion for Substrate#10568 - Add new BEEFY RPC (#4638) · 5cc5b674
      Adrian Catangiu authored
      * support best Beefy RPC through arc<mutex>
      
      * beefy RPC through lockless message passing - wip
      
      Not working because channel can't be simply opened and receiver passed
      to `rpc_extensions_builder` because `rpc_extensions_builder` has to be
      `Fn` and not `FnOnce`... and and Receiver side of mpsc can't be cloned
      
      yay!..
      
      * beefy RPC through lockless message passing
      
      * beefy: use specialized type definitions
      
      * bubble up service errors from BEEFY RPC
      
      * update lockfile for substrate
      
      Co-authored-by: parity-processbot <>
      5cc5b674
    • Alexander Samusev's avatar
      [ci] .gitlab-ci.yml chores (#4663) · 04154388
      Alexander Samusev authored
      * rename malus.Dockerfile
      
      * ci chores
      
      * fix pipeline
      04154388
  4. Jan 05, 2022
  5. Jan 04, 2022
  6. Jan 03, 2022
    • Martin Pugh's avatar
      Update RELEASE.md to reflect reality (#4570) · 2f7b042c
      Martin Pugh authored
      There have been some subtle changes to the release process since this document was last updated. This PR updates the RELEASE.md to reflect these changes.
      2f7b042c
    • Keith Yeung's avatar
      Set CurrentCodeHash before running some dispatchable benchmarks (#4645) · 5047ef8e
      Keith Yeung authored
      
      
      * Set CurrentCodeHash before running some dispatchable benchmarks
      
      * Use insert instead of put
      
      * Actually hash the ValidationCode
      
      * 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
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      5047ef8e
    • Sergey Pepyakin's avatar
      paras: split tests (#4636) · 575775a1
      Sergey Pepyakin authored
      This is only a module structure change: the tests module was promoted to
      have its own file.
      575775a1
  7. Jan 02, 2022
  8. Jan 01, 2022
  9. Dec 31, 2021
    • Sergey Pepyakin's avatar
      paras: fix upgrade restriction signal (#4603) · 5f6a0392
      Sergey Pepyakin authored
      Closes #3971
      
      Read the linked issue.
      
      Apart from that, this addresses the concern raised in this [comment] by
      just adding a test. I couldn't find a clean way to reconcile a block
      number delay with a PVF voting TTL, so I just resorted to rely on the
      test. Should be fine for now.
      
      [comment]: https://github.com/paritytech/polkadot/pull/4457#discussion_r770517562
      5f6a0392
  10. Dec 30, 2021
    • Sergey Pepyakin's avatar
      configuration: Rename validation_upgrade_{frequency -> cooldown} (#4635) · 72a92eaf
      Sergey Pepyakin authored
      This just renames a member of `HostConfiguration` from
      validation_upgrade_frequency to -//-_cooldown.
      
      As was already pointed out in #4460 the existing name is a misnomer, the
      member actually represents a minimum time period between upgrades, which
      is neatly expressed by a word cooldown.
      
      I've been planning this rename already for some time and the term is
      already used in paras module:
      
      https://github.com/paritytech/polkadot/blob/1394b70d/runtime/parachains/src/paras.rs#L1568-L1574
      72a92eaf
  11. Dec 29, 2021
    • dependabot[bot]'s avatar
      Bump lru from 0.7.1 to 0.7.2 (#4633) · 86a9658f
      dependabot[bot] authored
      
      
      Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.1 to 0.7.2.
      - [Release notes](https://github.com/jeromefroe/lru-rs/releases)
      - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.1...0.7.2)
      
      ---
      updated-dependencies:
      - dependency-name: lru
        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>
      86a9658f
    • Sergey Pepyakin's avatar
      paras: add governance control dispatchables (#4575) · 4bf62d85
      Sergey Pepyakin authored
      
      
      * paras: add governance control dispatchables
      
      Adds a couple of functions for governance control for the paras module
      in the anticipation of PVF pre-checking enabling.
      
      Specifically, this commit adds a function for pre-registering a PVF that
      governance trusts enough. This function will come in handy in case there
      is a parachain that does not follow the GoAhead signal. That is, does
      not include https://github.com/paritytech/cumulus/pull/517.
      
      This may be not an exhaustive list of the functions that may come in
      handy. Any suggestions to add more are welcome.
      
      * 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
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_paras.rs
      
      * 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=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_paras.rs
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      4bf62d85
    • ordian's avatar
      custom cargo profiles for production (#4627) · a44349f6
      ordian authored
      
      
      * add custom profiles and specify MSVR as 1.57
      
      * fix host-perf-check command
      
      * use testnet profile for CI images
      
      * do not do lto for testnet profile
      
      * fix artifact path
      
      * test with testnet profile to reuse build artifacts
      
      * Revert "fix host-perf-check command"
      
      This reverts commit f1d15492204b8251685a97636cbb5a5f394f21da.
      
      * bump zombienet version
      
      Co-authored-by: default avatarJavier Viola <[email protected]>
      a44349f6
    • Sergey Pepyakin's avatar
      pvf-precheck: update implementers' guide (#4612) · 1394b70d
      Sergey Pepyakin authored
      
      
      This commit incorporates the changes made to the runtime in the
      following PRs:
      
      - https://github.com/paritytech/polkadot/pull/4408
      - https://github.com/paritytech/polkadot/pull/4457
      - https://github.com/paritytech/polkadot/pull/4540
      - https://github.com/paritytech/polkadot/pull/4542
      - https://github.com/paritytech/polkadot/pull/4581
      
      Note that this PR does not include the description of the PVF
      pre-checker subsystem. This should be addressed within
      https://github.com/paritytech/polkadot/issues/4611
      
      Co-authored-by: default avatarsandreim <[email protected]>
      1394b70d
    • Keith Yeung's avatar
      Use derive macro to generate XcmWeightInfo trait (#4618) · cf509bdb
      Keith Yeung authored
      * Use derive macro to generate XcmWeightInfo trait
      
      * Move the Weight type alias out of proc macro
      cf509bdb
    • dependabot[bot]'s avatar
      Bump proc-macro2 from 1.0.34 to 1.0.36 (#4619) · ebfe0b71
      dependabot[bot] authored
      
      
      Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.34 to 1.0.36.
      - [Release notes](https://github.com/dtolnay/proc-macro2/releases)
      - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.34...1.0.36)
      
      ---
      updated-dependencies:
      - dependency-name: proc-macro2
        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>
      ebfe0b71
  12. Dec 28, 2021