Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[Feature] Add XCM benchmark weights to Statemint and Statemine #1454

Merged
merged 66 commits into from
Sep 1, 2022

Conversation

ruseinov
Copy link
Contributor

@ruseinov ruseinov commented Jul 19, 2022

Resolves #1056

@ruseinov
Copy link
Contributor Author

/benchmark xcm statemint pallet_xcm_benchmarks::generic

@ggwpez
Copy link
Member

ggwpez commented Jul 19, 2022

/cmd queue -c bench-bot $ xcm statemint pallet_xcm_benchmarks::generic

@command-bot

This comment was marked as outdated.

@command-bot
Copy link

command-bot bot commented Jul 19, 2022

@ggwpez Command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint pallet_xcm_benchmarks::generic has finished. Result: https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1686089 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1686089/artifacts/download.

@ggwpez
Copy link
Member

ggwpez commented Jul 19, 2022

/cmd queue -c bench-bot $ pallet statemint pallet_xcm_benchmarks::generic

@command-bot
Copy link

command-bot bot commented Jul 19, 2022

@ggwpez https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1686112 was started for your command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" pallet statemint pallet_xcm_benchmarks::generic. Check out https://gitlab.parity.io/parity/mirrors/cumulus/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment /cmd cancel 2-49acac6d-6be6-4c6f-b9af-e2935160e60a to cancel this command or /cmd cancel to cancel all commands in this pull request.

@command-bot
Copy link

command-bot bot commented Jul 19, 2022

@ggwpez Command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" pallet statemint pallet_xcm_benchmarks::generic has finished. Result: https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1686112 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1686112/artifacts/download.

@joao-paulo-parity
Copy link
Contributor

FYI XCM configuration isn't set up for Cumulus yet, we're still figuring out what to do about it

paritytech/pipeline-scripts#66

@paritytech paritytech deleted a comment from command-bot bot Jul 19, 2022
@paritytech paritytech deleted a comment from command-bot bot Jul 19, 2022
@joao-paulo-parity
Copy link
Contributor

/cmd queue -c bench-bot $ xcm statemint assets pallet_xcm_benchmarks::generic

@command-bot
Copy link

command-bot bot commented Jul 19, 2022

@joao-paulo-parity https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1686457 was started for your command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic. Check out https://gitlab.parity.io/parity/mirrors/cumulus/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment /cmd cancel 5-d53afa3d-6742-4d75-9a36-e47d4bdad4b0 to cancel this command or /cmd cancel to cancel all commands in this pull request.

@paritytech paritytech deleted a comment from command-bot bot Jul 19, 2022
@paritytech paritytech deleted a comment from command-bot bot Jul 19, 2022
@command-bot
Copy link

command-bot bot commented Jul 19, 2022

@joao-paulo-parity Command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic has finished. Result: https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1686457 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1686457/artifacts/download.

@ruseinov
Copy link
Contributor Author

/cmd queue -c bench-bot $ xcm statemint assets pallet_xcm_benchmarks::generic

@command-bot
Copy link

command-bot bot commented Jul 20, 2022

@ruseinov https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1688276 was started for your command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic. Check out https://gitlab.parity.io/parity/mirrors/cumulus/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment /cmd cancel 6-80fa38eb-c39b-47f3-8368-0c000ae6b469 to cancel this command or /cmd cancel to cancel all commands in this pull request.

@command-bot
Copy link

command-bot bot commented Jul 20, 2022

@ruseinov Command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic has finished. Result: https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1688276 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1688276/artifacts/download.

@paritytech-ci paritytech-ci requested review from a team July 22, 2022 09:41
@ruseinov
Copy link
Contributor Author

@gilescope please take a look at 9a179aa
I'd like to understand origins/locations a bit better and see if I'm going the right direction. I've committed that basically to get some async feedback.

@ruseinov
Copy link
Contributor Author

/cmd queue -c bench-bot $ xcm statemint assets pallet_xcm_benchmarks::generic

@command-bot
Copy link

command-bot bot commented Jul 22, 2022

@ruseinov https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1691788 was started for your command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic. Check out https://gitlab.parity.io/parity/mirrors/cumulus/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment /cmd cancel 10-fea77bc3-62cb-4931-aa40-52077f593854 to cancel this command or /cmd cancel to cancel all commands in this pull request.

@command-bot
Copy link

command-bot bot commented Jul 22, 2022

@ruseinov Command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic has finished. Result: https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1691788 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1691788/artifacts/download.

@ruseinov
Copy link
Contributor Author

@kianenigma cc @shawntabrizi @muharem turns out we can just pass CheckedAccount as None, because we don't care about the trusted teleporter benchmark for cumulus atm.

assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::deposit_reserve_asset())
}
fn exchange_asset(_give: &MultiAssetFilter, _receive: &MultiAssets) -> Weight {
Weight::MAX // todo fix
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ruseinov
Copy link
Contributor Author

This is basically done, just gotta regenerate some weights due to the latest changes in master.

@ruseinov
Copy link
Contributor Author

/cmd queue -c bench-bot $ xcm statemint assets pallet_xcm_benchmarks::generic

@command-bot
Copy link

command-bot bot commented Aug 31, 2022

@ruseinov "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic (https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1794889) was cancelled in #1454 (comment)

@ruseinov

This comment was marked as outdated.

@command-bot

This comment was marked as duplicate.

@ruseinov
Copy link
Contributor Author

/cmd queue -c bench-bot $ xcm statemint assets pallet_xcm_benchmarks::generic

@command-bot
Copy link

command-bot bot commented Aug 31, 2022

@ruseinov https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1794983 was started for your command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic. Check out https://gitlab.parity.io/parity/mirrors/cumulus/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment /cmd cancel 41-ec135e7a-b673-4429-acf2-c9e26cb7b701 to cancel this command or /cmd cancel to cancel all commands in this pull request.

@command-bot
Copy link

command-bot bot commented Aug 31, 2022

@ruseinov Command "$PIPELINE_SCRIPTS_DIR/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic has finished. Result: https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1794983 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/1794983/artifacts/download.

KsmLocation::get(),
MultiAsset { fun: Fungible(1 * UNITS), id: Concrete(KsmLocation::get()) },
));
pub const TrustedReserve: Option<(MultiLocation, MultiAsset)> = None;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI you can not define these and do type TrustedReserve = () etc.

@paritytech-ci paritytech-ci requested a review from a team September 1, 2022 09:11
Copy link
Contributor

@kianenigma kianenigma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks broadly good, but not the best expert here.

@ruseinov ruseinov merged commit 99430a5 into master Sep 1, 2022
@ruseinov ruseinov deleted the ruseinov/feature/statemint-xcm-benchmarks branch September 1, 2022 09:39
@gilescope gilescope mentioned this pull request Sep 16, 2022
arturgontijo added a commit that referenced this pull request Nov 3, 2022
* Co #12059: Revert "Auto-incremental CollectionId" (#1557)

* Remove try_increment_id weight info

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* update lockfile for {"polkadot", "substrate"}

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: parity-processbot <>

* [ci] Weights PR for master and client on cumulus (#1553)

* [ci] Weights PR for master and client on cumulus

* add 4th pr creation to benchmarks-statemint

* rename benchmarks-statemint to benchmarks-assets

* chore: bump zombienet version (#1560)

* pin gha versions (#1566)

* Bump serde from 1.0.143 to 1.0.144 (#1565)

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.143...v1.0.144)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* shell and seedling did not build (#1567)

* shell and seedling did not build

(even though CI was green). Time for more CI.

* let's just fix the build in this PR

* Update parachains/runtimes/starters/shell/Cargo.toml

No need to rem this out as we're not testing the new CI changes in this PR.

* [ci] add auto cargo-fmt (#1562)

* [WIP][ci] add auto cargo-fmt

* [ci] Apply cargo-fmt

* use fmt nightly

* [ci] Apply cargo-fmt

* add comment to cargo-fmt and remove fmt gha

Co-authored-by: paritytech-ci <[email protected]>

* Fixes

* Fixes

* Add CallDispatcher

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Collectives runtime: alliance pallet upgrade introducing new retirement notice feature (#1573)

* support retirement notice feature

* [ci] Apply cargo-fmt

* use primitive const

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: paritytech-ci <[email protected]>
Co-authored-by: parity-processbot <>

* Bump futures from 0.3.23 to 0.3.24 (#1578)

Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.23 to 0.3.24.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@0.3.23...0.3.24)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump clap from 3.2.17 to 3.2.18 (#1577)

Bumps [clap](https://github.com/clap-rs/clap) from 3.2.17 to 3.2.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.18/CHANGELOG.md)
- [Commits](clap-rs/clap@v3.2.17...v3.2.18)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump clap from 3.2.18 to 3.2.19 (#1580)

Bumps [clap](https://github.com/clap-rs/clap) from 3.2.18 to 3.2.19.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.19/CHANGELOG.md)
- [Commits](clap-rs/clap@v3.2.18...v3.2.19)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [Feature] Limit collectives teleports to DOT (#1579)

* [Feature] Limit collectives teleports to DOT

* Update pallets/xcm/src/lib.rs

Co-authored-by: Keith Yeung <[email protected]>

* fix review comments

* Update parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs

Co-authored-by: Chevdor <[email protected]>

* [ci] Apply cargo-fmt

Co-authored-by: Keith Yeung <[email protected]>
Co-authored-by: Chevdor <[email protected]>
Co-authored-by: paritytech-ci <[email protected]>

* Companion for Weight v1.5 (#1581)

* cargo test -p cumulus-primitives-utility

* cargo test -p cumulus-pallet-xcmp-queue

* cargo test -p cumulus-pallet-xcm

* cargo test -p cumulus-pallet-dmp-queue

* cargo test -p pallet-template

* cargo test -p cumulus-test-runtime

* fix weights

* fix more weights

* cargo test -p parachains-common

* cargo test -p parachain-template-runtime

* fix weights import

* cargo test -p collectives-polkadot-runtime

* cargo test -p contracts-rococo-runtime

* more

* unused

* fixes

* Update benchmarking.rs

* Update lib.rs

* Update lib.rs

* fix

* fix bug in conversion

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>

* [Feature] Add XCM benchmark weights to Statemint and Statemine (#1454)

* [Feature] Add XCM benchmarark weights to Statemint and Statemine

* add xcm-bench-template

* add polkadot xcm bench pallet to statemint

* Sample benchmarking that compiles

* add benches to the module

* Remove batches assertion and whitelist ActiveConfig

* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* fix benchmarks

* fix get_multi_asset

* fmt and more bench fixes

* reformat

* move Xcm type definitions

* define types twice

* remove commented out lines

* define Xcm bench types globally

* test use

* fix semi

* make sure the type definittion is properly documented

* tweak TrustedTeleporter/Reserve

* use dots as asset

* copy benchmarks over, fix the ci script

* remove extra asset

* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* benchmarks setup for statemint/e and westmint

* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic

* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::fungible

* remove a check

* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic

* implement WeightInfoBounds for all the asset runtimes

* update Cargo.lock

* fix Muharem's comments

* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* Update parachains/runtimes/assets/statemint/src/lib.rs

Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* fix some review comments

* fix file headers

* more fixes to licenses and such

* fix another inconsistency

* Extend weights template

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* remove a placeholder

* remove redundant overrides

* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::fungible

* Update benchmarking.rs

* remove redundant bench

* fix

* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* Update pallets/xcm-benchmarks/src/fungible/mock.rs

Co-authored-by: Kian Paimani <[email protected]>

* remove TODO's

* remove local xcm-benchmark-pallet impl

* disable CheckedAccount in benches

* update template

* fix up imports

* fix xcm

* fix the template

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>

* Update Cumulus to Latest Substrate and Polkadot Master (#1551)

* proposal provider impl for proposals func

* rustfmt

* impl proposals_count fn

* update lockfile for {"substrate", "polkadot"}

* cargo update pallet-alliance

* cargo update deps

* fix for paritytech/substrate@324a18e

* update lockfile for {"substrate", "polkadot"}

* fix try runtime feature flags

* update log target

Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <[email protected]>

* Companion for Weight v1.5 Follow Up (#1584)

* fixes

* oopsie

* [ci] Apply cargo-fmt

* fixes

* [ci] Apply cargo-fmt

* fixes

* fix cumulus template

* fix merge

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: paritytech-ci <[email protected]>
Co-authored-by: parity-processbot <>

* 9270 Backport of Align versions for runtimes (#1517) (#1574)

* Align versions for runtimes (#1517)

* update cargo lock

Co-authored-by: Branislav Kontur <[email protected]>

* bump zombienet version, support new weights (#1589)

* Companion for paritytech/substrate#12147 (#1587)

* Companion for paritytech/substrate#12147

* update lockfile for {"substrate", "polkadot"}

* Fix tests

Co-authored-by: parity-processbot <>

* Bump thiserror from 1.0.32 to 1.0.33 (#1586)

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.32...1.0.33)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Companion for paritytech/substrate#12157 (#1590)

* Remove RefTimeWeight

* [ci] Apply cargo-fmt

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: paritytech-ci <[email protected]>
Co-authored-by: parity-processbot <>

* Bump clap from 3.2.19 to 3.2.20 (#1591)

Bumps [clap](https://github.com/clap-rs/clap) from 3.2.19 to 3.2.20.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.20/CHANGELOG.md)
- [Commits](clap-rs/clap@v3.2.19...v3.2.20)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Integration tests Statemine & Statemint (#1526) (#1575)

Co-authored-by: Ignacio Palacios <[email protected]>

* Companion for substrate#12179 (#1593)

* remove funcs not included in ProposalProvider trait anymore

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>

* Bump tokio from 1.19.2 to 1.21.0 (#1592)

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.19.2 to 1.21.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.19.2...tokio-1.21.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix release report generation script (#1597)

* fix release report generation script (#1599)

* Add features (#1602)

* Bump thiserror from 1.0.33 to 1.0.34 (#1596)

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.33 to 1.0.34.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.33...1.0.34)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump url from 2.2.2 to 2.3.0 (#1604)

Bumps [url](https://github.com/servo/rust-url) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](servo/rust-url@v2.2.2...v2.3.0)

---
updated-dependencies:
- dependency-name: url
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Companion for paritytech/substrate#12183 (#1601)

* Companion for paritytech/substrate#12183

* Fixes

* Update pallets/xcmp-queue/src/lib.rs

* Update pallets/xcmp-queue/src/lib.rs

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>

* Mock epoch index and randomness in SproofBuilder (for testing) (#1594)

* minimal babe randomness in sproof builder

* fix indexing

* fix index and clean comment

* use current para block for epoch and randomness

* epoch is para block randomness is relay block

* fix

* make more configurable but keep defaults

* fix export

* fix

* flatten

* better field names

* Update primitives/parachain-inherent/src/mock.rs

* Update primitives/parachain-inherent/src/mock.rs

* FMT

* FIX

* fmt

* Update primitives/parachain-inherent/src/mock.rs

Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>

* Common version pattern for Collectives runtime (#1606)

* Bump url from 2.3.0 to 2.3.1 (#1608)

Bumps [url](https://github.com/servo/rust-url) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](servo/rust-url@v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: url
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* runtimes version to 9290 (#1612)

* runtimes version to 9290

* No need to bump shell

Co-authored-by: Giles Cope <[email protected]>

* Companion for #11981 (#1563)

* Companion for #11981

* rename

* Event to RuntimeEvent in imports

* missed rename

* undo

* revert

* rename type Call & Event

* commit

* ...

* fix

* fix errors

* fixes

* fmt

* fix imports

* final fix?

* fmt

* fix?

* fixes after merge

* small fix

* cargo update -p polkadot-runtime-common

* cargo +nightly fmt

* update lockfile for {"polkadot", "substrate"}

* fix

Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: parity-processbot <>

* Companion for paritytech/substrate#12219 (#1610)

* Remove CanAuthorWith trait

CanAuthotWith trait removed. Also all dependencies, parameters, type
paramers were removed. This is related to removal of native runtime.

* Companion for paritytech/substrate#12219

* Fixes

* polkadot-runtime-common updated

cargo update -p polkadot-runtime-common

* warning fixed

* Update cid

* update lockfile for {"polkadot", "substrate"}

* Update substrate

* update lockfile for {"polkadot", "substrate"}

* Update polkadot

* Fix tests

* 🤦

Co-authored-by: Michal Kucharczyk <[email protected]>
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <[email protected]>

* Co #11976: Enable rust features (#1607)

* Respect feature gated functions

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* update lockfile for {"polkadot", "substrate"}

* Fix features

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Feature gate test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: parity-processbot <>

* Bump tokio from 1.21.0 to 1.21.1 (#1623)

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.0 to 1.21.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.21.0...tokio-1.21.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump criterion from 0.3.6 to 0.4.0 (#1618)

Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.6 to 0.4.0.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](bheisler/criterion.rs@0.3.6...0.4.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump thiserror from 1.0.34 to 1.0.35 (#1622)

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.34...1.0.35)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump parity-scale-codec from 3.1.5 to 3.2.1 (#1626)

Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec) from 3.1.5 to 3.2.1.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases)
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md)
- [Commits](paritytech/parity-scale-codec@parity-scale-codec-3.1.5...parity-scale-codec-3.2.1)

---
updated-dependencies:
- dependency-name: parity-scale-codec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Don't panic. (#1629)

* Westmint don't panic. (#1631)

* Bump clap from 3.2.20 to 3.2.21 (#1621)

Bumps [clap](https://github.com/clap-rs/clap) from 3.2.20 to 3.2.21.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.21/CHANGELOG.md)
- [Commits](clap-rs/clap@v3.2.20...v3.2.21)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump scale-info from 2.1.2 to 2.2.0 (#1627)

Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/paritytech/scale-info/releases)
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/scale-info/commits)

---
updated-dependencies:
- dependency-name: scale-info
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump clap from 3.2.21 to 3.2.22 (#1632)

Bumps [clap](https://github.com/clap-rs/clap) from 3.2.21 to 3.2.22.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.22/CHANGELOG.md)
- [Commits](clap-rs/clap@v3.2.21...v3.2.22)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump lz4-sys from 1.9.2 to 1.9.4 (#1588)

* Bump lz4-sys from 1.9.2 to 1.9.4

Bumps [lz4-sys](https://github.com/10xGenomics/lz4-rs) from 1.9.2 to 1.9.4.
- [Release notes](https://github.com/10xGenomics/lz4-rs/releases)
- [Changelog](https://github.com/10XGenomics/lz4-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/10xGenomics/lz4-rs/commits)

---
updated-dependencies:
- dependency-name: lz4-sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* bump lz4 to match lz4-sys

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <[email protected]>

* Companion: contracts: Use `WeakBoundedVec` for instrumented code (#1595)

* Remove `RelaxedMaxCodeLen`

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>

* [ci] build runtime only if runtime files were changed (#1582)

* [WIP][ci] build runtime only if runtime files were changed

* debug

* enable valid job

* enable valid job

* enable everything back

* test build-runtime-assets-statemine

* add need

* build nightly

* test build runtime statemint

* cargo check instead build

* rm test file

* restart pipeline

* add paths to build-runtime-template

* add test file to trigger builds

* move test

* remove test file

* trigger pipeline to calculate times

* modify build-runtime jobs

* add echo

* fix semicolon

* debug

* fix variable

* uncomment all

* add DAG for build-runtime jobs

* restart pipeline

* [Fix] Weight calculations for Wild -> affects teleports (#1639)

* [Fix] Weight calculations for Wild -> affects teleports

* introduce a separate asset limit for teleports

* fix deposit

* reshuffle abstractions

* fix imports

* little refactoring

* Update parachains/common/src/xcm_config.rs

Co-authored-by: Squirrel <[email protected]>

* add comments

Co-authored-by: Squirrel <[email protected]>

* Revert "[Fix] Weight calculations for Wild -> affects teleports (#1639)" (#1640)

This reverts commit 14115c8.

* [ci] Disable auto-fmt and revert cancel-pipeline (#1642)

* [WIP][ci] Disable auto-fmt and revert cancel-pipeline

* fail test-linux-stable

* fix test-linux-stable

* [Fix] Hardcode teleport weight until XCM pallet is fixed (#1641)

* [Fix] Hardcode teleport weight until XCM pallet is fixed

* fix build

* solve dead code

* fix lint

* more eloquent weights

* quick fix

* fix a wrong path to ci script (#1646)

* Bump runtimes transaction version for v9290 (#1647)

* Rename Origin (#1628)

* Rename Origin

* more renaming

* fixes

* fix errors

* last fix?

* rename

* Update mock.rs

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: parity-processbot <>

* [Fix] Deposit weight hardcoded to pre-bench value (#1651)

* [Fix] Deposit weight hardcoded to pre-bench value

* lint

* Ensure that inherents are first and unsigned (#1654)

* Ensure that inherents are first and unsigned

* Update pallets/parachain-system/src/validate_block/tests.rs

Co-authored-by: Sergei Shulepov <[email protected]>

Co-authored-by: Sergei Shulepov <[email protected]>

* Companion for: Make automatic storage deposits resistant against changing deposit prices (#1561)

* Adapt to new contracts migration API

* Add missing type argument

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>

* Fixes

* Fixes

* Companion for #12283 (Anon -> Pure Proxy) (#1667)

* anon -> pure

* fn pure -> fn create_pure

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>

* Other PRs have wrong base and drag additional commits into the genegated PR. (#1672)

Not a good idea as it turns out.

* Fixes

* Bump syn from 1.0.99 to 1.0.100 (#1652)

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.99...1.0.100)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Small cosmetic nits (#1679)

* Companion - Independence for Slot-based algorithms from timestamp (#1617)

* Companion for Substrate #12224

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>

* Companion for substrate#11983. (#1613)

* Companion for substrate#11983.

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* cargo update -p polkadot-runtime-common

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert "cargo update -p polkadot-runtime-common"

This reverts commit bdadad9.

* Revert "cargo update -p sp-io"

This reverts commit f6b4ecc.

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* Companion for paritytech/substrate#12264 (#1661)

* Companion for paritytech/substrate#12264

* Fix more tests

* disable sc-network-transactions to check companion

* Fix node config in tests

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
Co-authored-by: alvicsam <[email protected]>

* Fixes

* Fixes

* Remove unused import

* Remove unused import

* Bump serde from 1.0.144 to 1.0.145 (#1677)

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.144...v1.0.145)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add current time in milis to the branch name (#1658) (#1693)

Co-authored-by: Egor_P <[email protected]>

* set xcm weights template (#1643) (#1691)

* xcm benchmarks use a custom template

* Bump proc-macro2 from 1.0.43 to 1.0.44 (#1697)

Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](dtolnay/proc-macro2@1.0.43...1.0.44)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* backport: update integration tests (#1695)

* Update integration test v0.9.29 (#1681)

* update it

* remove comment

* update it (#1689)

Co-authored-by: Ignacio Palacios <[email protected]>

* Bump crate versions (#1690)

Co-authored-by: EgorPopelyaev <[email protected]>

* [benchmarks] pr with weights (#1664) (#1694)

Co-authored-by: paritytech-ci <[email protected]>

Co-authored-by: Paritytech CI <[email protected]>
Co-authored-by: paritytech-ci <[email protected]>

* Removed unused deps with `cargo machete` (#1680)

* Removed unused deps with `cargo machete`

* Removed unused deps with `cargo machete` for parachain-template

* Bump crate versions

* Bump spec_version to 9300

* Polkadot Collectives chain spec (#1603)

* initial chain spec template

* boot nodes, para ids, name

* para id 1001

* update boot nodes

* add collators accounts and session keys

* add p2p into wss boot nodes pathes

* replace aura raw private keys by ss58

* remove collectives spec

* rename collectives genesis spec into collectives

* Revert "rename collectives genesis spec into collectives"

This reverts commit 60df522.

* insert wasm into spec

* Bump syn from 1.0.100 to 1.0.101 (#1696)

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.100...1.0.101)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Westend Collectives chain spec (#1712)

* Bump proc-macro2 from 1.0.44 to 1.0.46 (#1708)

Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](dtolnay/proc-macro2@1.0.44...1.0.46)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update README.md (#1683)

* Update README.md

* Update README.md

* Companion: Remove contracts RPC (#1685)

* Remove contracts RPC

* update lockfile for {"polkadot", "substrate"}

* Remove unused imports

* Properly set a max proof size for cumulus test runtime

* Properly set a max proof size for common runtimes

* Properly set the max proof size for all runtimes

Co-authored-by: parity-processbot <>
Co-authored-by: Keith Yeung <[email protected]>

* XCMv3 fixes (#1710)

* Fixes XCMv3 related
Fixes XCMv3 (removed query_holding)
Fixes XCMv3 - should use _depositable_count?
Fixes XCMv3 - removed TrustedReserve
Fixes - missing weights for statemine/statemint/westmint
[DO-NOT-CHERRY-PICK] tmp return query_holding to aviod conficts to master
Fixes - missing functions for pallet_xcm_benchmarks::generic::Config
Fixes for XCMv3 benchmarking
Fix xcm - removed query_holding

* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic

* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic

* Fix imports

* only register MaxCandidates-1 candidates initially (#1714)

* Bump smallvec from 1.9.0 to 1.10.0 (#1723)

Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](servo/rust-smallvec@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: smallvec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump thiserror from 1.0.35 to 1.0.37 (#1704)

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.35 to 1.0.37.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.35...1.0.37)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix target of some Matrix notifications

* fmt (#1731)

* [ci] add fmt check (#1733)

* [ci] add fmt check

* fix name

* remove gha from branches

* Companion for contracts WeightV2 (#1726)

* Remove `ContractAccessWeight`

* update lockfile for {"polkadot", "substrate"}

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>

* Add protoc

* Update .github/workflows/docs.yml

Co-authored-by: Alexander Samusev <[email protected]>

* [ci] check fmt on master (#1734)

* Companion for Adapt to new contracts runtime api (#1736)

* Adapt to new contracts runtime api

* Compile fix

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>

* Fix protoc install

* Bump syn from 1.0.101 to 1.0.102 (#1746)

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.101 to 1.0.102.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.101...1.0.102)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Enable collation via RPC relay chain node (#1585)

* Add minimal overseer gen with dummy subsystems

* Fix dependencies

* no-compile: only client transaction pool missing

* Remove unused imports

* Continue to hack towards PoC

* Continue

* Make mini node compile

* Compiling version with blockchainevents trait

* Continue

* Check in lockfile

* Block with tokio

* update patches

* Update polkadot patches

* Use polkadot-primitives v2

* Fix build problems

* First working version

* Adjust cargo.lock

* Add integration test

* Make integration test work

* Allow startinc collator without relay-chain args

* Make OverseerRuntimeClient async

* Create separate integration test

* Remove unused ChainSelection code

* Remove unused parameters on new-mini

* Connect collator node in test to relay chain nodes

* Make BlockChainRPCClient obsolete

* Clean up

* Clean up

* Reimplement blockchain-rpc-events

* Revert "Allow startinc collator without relay-chain args"

This reverts commit f22c70e.

* Add `strict_record_validation` to AuthorityDiscovery

* Move network to cumulus

* Remove BlockchainRPCEvents

* Remove `BlockIdTo` and `BlockchainEvents`

* Make AuthorityDiscovery async

* Use hash in OverseerRuntime

* Adjust naming of runtime client trait

* Implement more rpc-client methods

* Improve error handling for `ApiError`

* Extract authority-discovery creationand cleanup

* RPC -> Rpc

* Extract bitswap

* Adjust to changes on master

* Implement `hash` method

* Introduce DummyChainSync, remove ProofProvider and BlockBackend

* Remove `HeaderMetadata` from blockchain-rpc-client

* Make ChainSync work

* Implement NetworkHeaderBackend

* Cleanup

* Adjustments after master merge

* Remove ImportQueue from network parameters

* Remove cargo patches

* Eliminate warnings

* Revert to HeaderBackend

* Add zombienet test

* Implement `status()` method

* Add more comments, improve readability

* Remove patches from Cargo.toml

* Remove integration test in favor of zombienet

* Remove unused dependencies, rename minimal node crate

* Adjust to latest master changes

* fmt

* Execute zombienet test on gitlab ci

* Reuse network metrics

* Chainsync metrics

* fmt

* Feed RPC node as boot node to the relay chain minimal node

* fmt

* Add bootnodes to zombienet collators

* Allow specification of relay chain args

* Apply review suggestions

* Remove unnecessary casts

* Enable PoV recovery for rpc full nodes

* Revert unwanted changes

* Make overseerHandle non-optional

* Add availability-store subsystem

* Add AuxStore and ChainApiSubsystem

* Add availability distribution subsystem

* Improve pov-recovery logging and add RPC nodes to tests

* fmt

* Make availability config const

* lock

* Enable debug logs for pov-recovery in zombienet

* Add log filters to test binary

* Allow wss

* Address review comments

* Apply reviewer comments

* Adjust to master changes

* Apply reviewer suggestions

* Bump polkadot

* Add builder method for minimal node

* Bump substrate and polkadot

* Clean up overseer building

* Add bootnode to two in pov_recovery test

* Fix missing quote in pov recovery zombienet test

* Improve zombienet pov test

* More debug logs for pov-recovery

* Remove reserved nodes like on original test

* Revert zombienet test to master

* Bump tracing from 0.1.36 to 0.1.37 (#1740)

Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.36 to 0.1.37.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](tokio-rs/tracing@tracing-0.1.36...tracing-0.1.37)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump tokio from 1.21.1 to 1.21.2 (#1698)

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.1 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.21.1...tokio-1.21.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Companion for paritytech/polkadot#6117 (#1749)

* Companion for paritytech/polkadot#6117

* Fix code

* Fix trait

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>

* Bump lru from 0.8.0 to 0.8.1 (#1751)

Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases)
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
- [Commits](jeromefroe/lru-rs@0.8.0...0.8.1)

---
updated-dependencies:
- dependency-name: lru
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Migrate Weights properly to v2 (#1722)

* Migrate Weights properly to v2

* Add missing on_runtime_upgrade implementation

* Fix benchmarks

* Apply suggestions from code review

Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* cargo fmt

Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* Companion for paritytech/substrate#12480 (#1758)

* Companion for paritytech/substrate#12480

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>

* BlockId removal refactor: Backend::state_at (#1760)

* BlockId removal refactor: Backend::state_at

* corrected

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>

* Companion for paritytech/substrate#12489 (#1766)

* Companion for paritytech/substrate#12489

* fmt

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>

* GHA updates and pin (#1768)

* Pin checkout to v3.1.0 and update srtool-actions to v0.6.0

* Pin GHA ruby/setup-ruby to 1.118.0

* Update and pin GHA deps

* Pin all external GHA deps

* Bump proc-macro2 from 1.0.46 to 1.0.47 (#1774)

Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](dtolnay/proc-macro2@1.0.46...1.0.47)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Runtime release checklist template update (#1762)

* Runtime release checklist template update

* Apply suggestions from code review

Co-authored-by: joe petrowski <[email protected]>

* Apply suggestions from code review

Co-authored-by: Squirrel <[email protected]>

* remove check

* xcm 50%

* xcm config check update

* post release

* update post release check

* update post release check

Co-authored-by: joe petrowski <[email protected]>
Co-authored-by: Squirrel <[email protected]>

* contracts: Reduce session length and enable unstable interfaces (#1748)

* Reduce session for contracts to 10 minutes

* Build pallet-contracts with unstable interface

* Set `MinCandidates` to 0 to allow only invulnerables as collators

* Update clap to version 4 (#1745)

* Bump to clap4

* Adjust to clap 4 style

* Remove two more deprecated occurences of clap macro

* Remove "deprecated" feature from clap

* Update cargo lock

* Fix group name

* More skipped group names

* BlockId removal: refactor: StorageProvider (#1770)

* BlockId removal: refactor: StorageProvider

It changes the arguments of `Backend::StorageProvider` trait from:
block: `BlockId<Block>` to: hash: `&Block::Hash`

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>

* Reduce parachain template cognitive complexity (#1777)

* Removed some not required generics
* Type aliases for some verbose types

* Bump clap from 4.0.11 to 4.0.17 (#1778)

Bumps [clap](https://github.com/clap-rs/clap) from 4.0.11 to 4.0.17.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.0.11...v4.0.17)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* pov-recovery: try connect to validators (#1711)

* zombienet/pov-recovery: do not setup reserved connection for collators

* connect eve to dave

* REVERTME: diener update --polkadot --branch ao-recovery-try-connect

* REVERTME: cargo update -p sp-io

* REVERTME: cargo update -p sp-io and hope for the best

* pass reserved flags for eve after --

* Revert "REVERTME: cargo update -p sp-io and hope for the best"

This reverts commit 0d66b70.

* Revert "REVERTME: cargo update -p sp-io"

This reverts commit f8d16c3.

* REVERTME: cargo update -p sp-io

* Revert "REVERTME: cargo update -p sp-io"

This reverts commit d48e1e6.

* REVERTME: cargo update -p sp-io

* REVERTME: cargo update -p sp-io

* try some logs and flags

* apply some suggestions from Sebastian

* let Charlie produce blocks

* Revert "REVERTME: cargo update -p sp-io"

This reverts commit 02838a6.

* git checkout master Cargo.lock

* Revert "REVERTME: diener update --polkadot --branch ao-recovery-try-connect"

This reverts commit 8ae8d53.

* zombienet/pov-recovery: 4 validators

* REVERTME: diener update --polkadot --branch ao-recovery-try-connect && cargo update -p polkadot-primitives

* Revert "REVERTME: diener update --polkadot --branch ao-recovery-try-connect && cargo update -p polkadot-primitives"

This reverts commit 3cc9182.

* make sure it is not due to backing group connections

* clean up flags

* try no-mdns on collators, limit out-peers on validators

* try no-mdns on validators and bob

* fix bob flag

* try 7 validators (3 chunks needed for recovery)

* reserved-only on validators

* reserved-only on alice and charlie

* explicitly pass log targets

* rm default_args

* parachain=debug and cumulus-pov-recovery=debug

* try another idea

* try 13 validators (4 chunks required)

* bump block height to 20

* Register parachain after 20sec, increase block target to 20

* bump zombienet version

* remove debug

* bump zombienet

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: Sebastian Kunert <[email protected]>
Co-authored-by: Javier Viola <[email protected]>
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <[email protected]>

* [ci] Split .gitlab-ci.yml (#1701)

* [WIP][ci] Split .gitlab-ci.yml

* comment unused includes

* fix typo

* fix needs

* add all stages

* exclude zombienet from check

* Update dependencies

* Bump crate versions

* Bump spec_version to 9310

* Avoid consuming XCM message for NotApplicable scenario (#1787)

* Avoid consuming message for NotApplicable scenario

* Avoid consuming message for NotApplicable scenario tests

* [XCMv3] v0.9.31

* [XCMv3] Adding NonFungiblesTransactor for Statemine/Penpal.

* [XCMv3] Using paritytech/polkadot

* [XCMv3] v0.9.31 + NonFungiblesAdapter

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Alexander Samusev <[email protected]>
Co-authored-by: Javier Viola <[email protected]>
Co-authored-by: Sergejs Kostjucenko <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Squirrel <[email protected]>
Co-authored-by: Keith Yeung <[email protected]>
Co-authored-by: paritytech-ci <[email protected]>
Co-authored-by: Muharem Ismailov <[email protected]>
Co-authored-by: Roman Useinov <[email protected]>
Co-authored-by: Chevdor <[email protected]>
Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: Branislav Kontur <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Ignacio Palacios <[email protected]>
Co-authored-by: Frederik Gartenmeister <[email protected]>
Co-authored-by: Amar Singh <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Sergej Sakac <[email protected]>
Co-authored-by: Michal Kucharczyk <[email protected]>
Co-authored-by: Sebastian Kunert <[email protected]>
Co-authored-by: Alexander Theißen <[email protected]>
Co-authored-by: joe petrowski <[email protected]>
Co-authored-by: Sergei Shulepov <[email protected]>
Co-authored-by: Davide Galassi <[email protected]>
Co-authored-by: ZhiYong <[email protected]>
Co-authored-by: Aaro Altonen <[email protected]>
Co-authored-by: alvicsam <[email protected]>
Co-authored-by: Egor_P <[email protected]>
Co-authored-by: Paritytech CI <[email protected]>
Co-authored-by: Wilfried Kopp <[email protected]>
Co-authored-by: Dan Shields <[email protected]>
Co-authored-by: Kai <[email protected]>
Co-authored-by: Andronik <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B1-note_worthy Changes should be noted in the release notes C1-low PR touches the given topic and has a low impact on builders. T1-runtime This PR/Issue is related to the topic “runtime”.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use XCM benchmarks weights results instead of fixed estimations
10 participants