Skip to content

Commit 3bdb665

Browse files
devdancoalvicsamggwpezpepoviolamichalkucharczyk
authored
Mangata dev v0.9.36 (#17)
* [ci] Fix broken ci, move zombienet job (#1785) * Co #12341: Use `try-runtime` feature (#1759) * Add try-runtime feature Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * More feature gates Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add dummy command Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * update lockfile for {"polkadot", "substrate"} * Fix code * Remove unused import Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Imports... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <> * bump zombienet version (#1786) * BlockId removal: refactor: Finalizer (#1779) * BlockId removal: refactor: Finalizer It changes the arguments of methods of `Finalizer` trait from: block: `BlockId<Block>` to: hash: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"polkadot", "substrate"} * update Cargo.lock * Cargo.lock update again Co-authored-by: parity-processbot <> * Bump async-trait from 0.1.57 to 0.1.58 (#1783) Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.57 to 0.1.58. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.57...0.1.58) --- updated-dependencies: - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: parity-processbot <> * Bump assert_cmd from 2.0.4 to 2.0.5 (#1792) Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.4 to 2.0.5. - [Release notes](https://github.com/assert-rs/assert_cmd/releases) - [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md) - [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.4...v2.0.5) --- updated-dependencies: - dependency-name: assert_cmd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add link to the weight comparison tool for weights PRs (#1788) * add link to the weight comparison tool for weights PRs * Update scripts/create-benchmark-pr.sh Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * add backport checklist item * move to scripts/ci Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * Single ParachainBlockImport instance (#1782) * Fix a few migration issues with 2D weights (#1755) * Give a max proof size to DMP individual weight processing during migration * Fix a few migration issues with 2D weights * Update substrate * Fixes * cargo fmt * Re-add v1 migration * Set DEFAULT_POV_SIZE to 64 KB * Use Weight::from_parts * Update Polkadot * Fixes * contracts: Companion for offchain indeterminism (#1794) * Adapt to new pallet contracts API * Fix * Fix runtime APIs * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <> * Bump assert_cmd from 2.0.4 to 2.0.5 (#1800) Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.4 to 2.0.5. - [Release notes](https://github.com/assert-rs/assert_cmd/releases) - [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md) - [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.4...v2.0.5) --- updated-dependencies: - dependency-name: assert_cmd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Companion for #12457 (Bounded Multisig) (#1793) * u16 -> u32 * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <> * Co #12558: Update `pallet-multisig` benches (#1805) * Typo Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add multisig weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p polkadot-runtime-common Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Companion for aura CompatibilityMode (#1803) * Companion for aura CompatibilityMode As no parachain was launched with the broken authority set change handling we don't need to expose the compatibility mode. * FMT * update lockfile for {"substrate", "polkadot"} Co-authored-by: parity-processbot <> * Companion for update `wasm-opt` (#1806) * Update cc * Update regex * Add RPC nodes to pov-recovery test (#1807) * Bump scale-info from 2.2.0 to 2.3.0 (#1809) Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.2.0 to 2.3.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/v2.3.0) --- updated-dependencies: - dependency-name: scale-info dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump syn from 1.0.102 to 1.0.103 (#1796) Bumps [syn](https://github.com/dtolnay/syn) from 1.0.102 to 1.0.103. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.102...1.0.103) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 (#1801) * Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.8.0 to 3.9.0. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/068dc23d9710f1ba62e86896f84735d869951305...de7ea6f8efb354206b205ef54722213d99067935) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * match hash with version Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> * Bump ruby/setup-ruby from 1.118.0 to 1.120.0 (#1804) * Bump ruby/setup-ruby from 1.118.0 to 1.120.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.118.0 to 1.120.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/eae47962baca661befdfd24e4d6c34ade04858f7...ece82769428359c077b5a5eaff268902a303c101) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update .github/workflows/release-30_create-draft.yml Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * Update .github/workflows/release-30_create-draft.yml Co-authored-by: Chevdor <chevdor@users.noreply.github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * Bump Swatinem/rust-cache from 2.0.0 to 2.0.1 (#1767) * Bump Swatinem/rust-cache from 2.0.0 to 2.0.1 Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.0.0 to 2.0.1. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/6720f05bc48b77f96918929a9019fb2203ff71f8...22c9328bcba27aa81a32b1bef27c7e3c78052531) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * match hash with version Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sergejs Kostjucenko <sergejs@parity.io> * Add trie migration rpc to polkadot-parachain (#1424) * add trie migration rpc to polkadot-parachain * pass backend * fix * Statemine state migration runtime changes. (#1743) * init, using polkadot master * version update * weights copy pasted from substrate * feature gate migration * changes from reviews * Change controller addresses. * fix * rename feature to state-trie-version-1 * rename package to avoid name clash (#1716) Co-authored-by: Bastian Köcher <info@kchr.de> * Cargo.lock updated (#1824) * Use resolver 2 in the workspace. (#1817) * BlockId removal: &Hash to Hash (#1818) * BlockId removal: &Hash to Hash It changes &Block::Hash argument to Block::Hash. This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <> * Bump clap from 4.0.18 to 4.0.22 (#1830) Bumps [clap](https://github.com/clap-rs/clap) from 4.0.18 to 4.0.22. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.0.18...v4.0.22) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Collectives: alliance and collective pallets weights (#1813) * Collectives: alliance and collective pallets weights * ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_collective * ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_alliance Co-authored-by: command-bot <> * Add example zombienet network file and instructions (#1839) * Add simple example on how to spin up network. * Update readme * Remove unnecessary prefix * Improve folder structure * Add link to file * Fix paths in readme * Update README.md Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Bastian Köcher <git@kchr.de> * Bump Swatinem/rust-cache from 2.0.1 to 2.1.0 (#1816) Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.0.1 to 2.1.0. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/22c9328bcba27aa81a32b1bef27c7e3c78052531...b894d59a8d236e2979b247b80dac8d053ab340dd) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [ci] Fix publish benchmark results (#1840) * [ci] Fix publish benchmark results * Update scripts/ci/gitlab/pipeline/benchmarks.yml Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> * Update scripts/ci/gitlab/pipeline/benchmarks.yml Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> * Backports from release 0.9.32 * Bump spec_version to 9320 * Companion for Substrate 12586 (#1808) * companion for assets CreateOrigin * more runtimes * fix imports * update lockfile for {"substrate", "polkadot"} Co-authored-by: parity-processbot <> * Bump Swatinem/rust-cache from 2.1.0 to 2.2.0 Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.1.0 to 2.2.0. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/b894d59a8d236e2979b247b80dac8d053ab340dd...359a70e43a0bb8a13953b04a90f76428b4959bb6) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump ruby/setup-ruby from 1.120.0 to 1.120.1 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.120.0 to 1.120.1. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/ece82769428359c077b5a5eaff268902a303c101...f2c070bbf74632495b403899c87610cd4cb99dbe) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * add offchain worker to parachain config (#1860) * Enable Docker section in the release notes * [ci] fix buildah (#1870) * Set `OnTimestampSet = Aura` in all runtimes (#1876) * Add migrations from pallet_asset to statemine, statemint and westmint (#1742) * statemine: migrate pallet assets to v1 * statemint and westmint: migrate pallet assets to v1 * remove items limit * update dependencies and crate imports * change substrate version to dependent PR * revert to master * revert changes to cargo toml * fix weights to test compilation with companion substrate branch * change destroy etrinsic in westmint to new extrinsics * update lockfile for {"polkadot", "substrate"} * rebase Co-authored-by: parity-processbot <> * [ci] Improve pipeline stopper (#1873) * [ci] Improve pipeline stopper * fail pipeline * fix pipeline * Fix for xcm weight benchmarks generation (#1872) * companion for #12599 (#1881) * companion for #12599 * update substrate & polkadot * Bump clap from 4.0.22 to 4.0.25 (#1882) Bumps [clap](https://github.com/clap-rs/clap) from 4.0.22 to 4.0.25. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.0.22...v4.0.25) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Backport] bump spec and txn versions from v9320 (#1889) * bump rococo and penpal spec_version (#1885) * bump txn versions (#1851) * bump txn version * Remove the `wasmtime` feature flag (companion for substrate#12684) (#1861) * Remove the `wasmtime` feature flag * Update `substrate` and `polkadot` to the newest `master` * Update `substrate` and `polkadot` to the newest `master` * Bump array-bytes from 4.1.0 to 4.2.0 (#1883) Bumps [array-bytes](https://github.com/hack-ink/array-bytes) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/hack-ink/array-bytes/releases) - [Changelog](https://github.com/hack-ink/array-bytes/blob/main/CHANGELOG) - [Commits](https://github.com/hack-ink/array-bytes/compare/v4.1.0...v4.2.0) --- updated-dependencies: - dependency-name: array-bytes dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump futures from 0.3.24 to 0.3.25 (#1791) Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.24 to 0.3.25. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.24...0.3.25) --- updated-dependencies: - dependency-name: futures dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Use pallet-sudo extension `CheckOnylSudoAccount` (#1850) * [Backport] weights from v9320 release branch (#1890) * [benchmarks] pr with weights (#1857) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] Update weights for statemine/t (#1859) * [benchmarks] pr with weights * Update parachains/runtimes/assets/westmint/src/weights/pallet_uniques.rs * Update parachains/runtimes/assets/westmint/src/weights/pallet_assets.rs * Update parachains/runtimes/assets/statemine/src/weights/pallet_assets.rs Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Squirrel <gilescope@gmail.com> * fix weights for destroy Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Squirrel <gilescope@gmail.com> Co-authored-by: parity-processbot <> Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com> * remove 1 Parity Statemine bootnode that will be decommisioned (#1892) * Companion for paritytech/substrate#12739 (#1899) * Companion for paritytech/substrate#12739 * update lockfile for {"substrate", "polkadot"} Co-authored-by: parity-processbot <> * Bump clap from 4.0.25 to 4.0.26 (#1897) Bumps [clap](https://github.com/clap-rs/clap) from 4.0.25 to 4.0.26. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.0.25...v4.0.26) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * remove 2 Parity statemint bootnodes that will be decommissioned (#1887) Co-authored-by: parity-processbot <> * rename package to avoid name clash (#1716) * Bump tokio from 1.21.2 to 1.22.0 (#1896) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.22.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Correct issue link (#1904) * Bump bytes from 1.2.1 to 1.3.0 (#1907) Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.2.1 to 1.3.0. - [Release notes](https://github.com/tokio-rs/bytes/releases) - [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/bytes/commits) --- updated-dependencies: - dependency-name: bytes dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Collectives Alliance: Remove Founder role and veto call (#1902) * Companion: Remove Founder role and veto call * wieghts * update lockfile for {"polkadot", "substrate"} Co-authored-by: joepetrowski <joe@parity.io> Co-authored-by: parity-processbot <> * Allow try-runtime for contracts-rococo (#1906) * Enable try-runtime for contracts-rococo * Fix typo from merge * Remove av-store, av-distribution, chain-api subsystems from minimal node (#1903) * Remove unused subsystems * Consume requests we are not going to answer * Respond to incoming chunk and pov requests. * fmt * Improve comment and logging * Add reputation changes * Do not register pov-chunk-request protocol * Remove inbound chunk request channel * Bump Polkadot * Bump clap from 4.0.26 to 4.0.27 (#1911) Bumps [clap](https://github.com/clap-rs/clap) from 4.0.26 to 4.0.27. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.0.26...v4.0.27) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Allow Sufficient Assets for XCM Fee Payment on Statemint #1884 (#1910) * Allow Sufficient Assets for XCM Fee Payment on Statemint #1884 * Revert of removed payment.clone().into() * Fixes * Bring AssetFeeAsExistentialDepositMultiplier to test_asset_xcm_trader * Fixes * Companion for Substrate 12740 (#1898) * add helper config trait * benchmarkhelper * update config * update tests * into * update lockfile for {"substrate", "polkadot"} * include benchmarks in tomls Co-authored-by: parity-processbot <> * Bump serde from 1.0.145 to 1.0.147 (#1797) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.145 to 1.0.147. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.147) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update lockfile (#1923) * Bump syn from 1.0.103 to 1.0.104 (#1918) Bumps [syn](https://github.com/dtolnay/syn) from 1.0.103 to 1.0.104. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.103...1.0.104) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Companion for contracts: Replace cargo feature `unstable-interface` with config (#1916) * contracts: Add `UnsafeUnstableInterface` * update lockfile for {"substrate", "polkadot"} Co-authored-by: parity-processbot <> * Bump clap from 4.0.27 to 4.0.29 (#1928) Bumps [clap](https://github.com/clap-rs/clap) from 4.0.27 to 4.0.29. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.0.27...v4.0.29) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async-trait from 0.1.58 to 0.1.59 (#1921) Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.58 to 0.1.59. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.58...0.1.59) --- updated-dependencies: - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove more protocols from minimal collator (#1927) * Bump serde from 1.0.147 to 1.0.148 (#1929) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.147 to 1.0.148. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.148) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump array-bytes from 4.2.0 to 6.0.0 (#1919) Bumps [array-bytes](https://github.com/hack-ink/array-bytes) from 4.2.0 to 6.0.0. - [Release notes](https://github.com/hack-ink/array-bytes/releases) - [Changelog](https://github.com/hack-ink/array-bytes/blob/main/CHANGELOG) - [Commits](https://github.com/hack-ink/array-bytes/compare/v4.2.0...v6.0.0) --- updated-dependencies: - dependency-name: array-bytes dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * BridgeHubKusama - initial setup - (chain_spec + basic runtime without any bridging pallets) (#1764) * [BridgeHub] Setup Rococo backbone parachain * [BridgeHub] Setup Wococo parachain backbone (reused from Rococo) [Bridge-Backport] Rebase-fix BridgeHub] Added zombienet startup tomls for Rococo/Wococo Fix typo * [BridgeHub] Added chain_spec for live Rococo/Wococo * [BridgeHub] Clean bridge-hub-rococo runtime * [BridgeHub] Add bridge-hub-rococo to CI pipelines * [BridgeHub] Added bridge-hub-kusama - empty runtime/chain_spec setup * Fixes * Fixes for BH * Fixes for other runtimes - align all * Fixes - const * Fixes const * Fixes * Fix kusama-local * Sample zombienet runs * Fixes * Fixes for benchmarking * Fixes CI * Fixes * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs frame_system * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_balances * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_session * Fixes name * Fixes readme * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_timestamp * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs cumulus_pallet_xcmp_queue * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection * Fixes * Fixes * rustfmt * Fixes * Added pallet_utility/pallet_multisig * Blind try for regex pr-custom-review.yml (added bridge-hub-kusama + collectives-polkadot) * Fixes * Fixes * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_utility * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_multisig * Trying to fix sed expression? * Added license headers + correct "DAG:" desc Co-authored-by: command-bot <> * Provisioner polkadot companion (#1940) * Provisioner companion changes * update substrate commit hash * Update Substrate & Polkadot Co-authored-by: Bastian Köcher <info@kchr.de> * Bump environmental from 1.1.3 to 1.1.4 (#1933) Bumps environmental from 1.1.3 to 1.1.4. --- updated-dependencies: - dependency-name: environmental dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump syn from 1.0.104 to 1.0.105 (#1936) Bumps [syn](https://github.com/dtolnay/syn) from 1.0.104 to 1.0.105. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.104...1.0.105) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Upgrade tokio to 1.22.0 and replace async-std with tokio (#1917) * Make tokio executor mandatory * kick CI * Update Cargo.lock * add collectives-polkadot final raw chainspec (#1914) * Companion of Substrate PR 12837 (#1944) * remove reference to remote-externalities * update reference to remote-externalities * s/remote-ext/frame-remote-externalities * copy the fix from https://github.com/paritytech/cumulus/pull/1917/commits/747400a0d7876a605290103b5d4341072b4e0868 * update cargo.lock * Bump serde from 1.0.148 to 1.0.149 (#1948) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.148 to 1.0.149. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.148...v1.0.149) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove `parity-util-mem` (#1958) Fully removes the `parity-util-mem` dependency. This just required upgrading to the latest versions of the polkadot crates. * dependabot: Ignore rococo deps (#1963) * Bump ruby/setup-ruby from 1.120.1 to 1.127.0 (#1951) Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.120.1 to 1.127.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/f2c070bbf74632495b403899c87610cd4cb99dbe...ee2113536afb7f793eed4ce60e8d3b26db912da4) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add collective runtime upgrade to the checklist (#1966) * zombienet, store node's logs as artifacts (#1969) * Backport collective weights from v9330 to master (#1959) * [benchmarks] pr with weights (#1945) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * Use master for some methods Co-authored-by: Egor_P <egor@parity.io> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [Backport] version bumps from 9330 (#1956) * Bump crate versions * Bump spec_version to 9330 * bump rococo and penpal spec_version (#1926) * bump txn versions (#1941) * bump txn versions * bump rococo txn version * bump bridge-hub-kusama spec_version * [ci] new ci runners (#1967) * [DNM] test ci runners * restart pipeline * switch to c2 runners * restart pipeline * change runner tag * [benchmarks] pr with weights (#1946) (#1971) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Egor_P <egor@parity.io> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * Companion for paritytech/substrate#12868 (#1970) * Replace WEIGHT_PER_* with WEIGHT_REF_TIME_PER_* * Fixes * Fixes * update lockfile for {"substrate", "polkadot"} Co-authored-by: parity-processbot <> * Collectives runtime: add query call info api (#1976) * Companion for paritytech/substrate#12764 (#1930) * Companion for paritytech/substrate#12764 * Remove `async-trait` * Fix trait * update lockfile for {"substrate", "polkadot"} Co-authored-by: parity-processbot <> * Replace the label checks using bash script by `ruled-labels` (#1576) * Add rules and specs * add labels * Add new checks * Fix criticality check * Use the new rule filter introduced in ruled-labels v0.3.0 to better target tests * Add workflow to tests label rules * Fix trigger * Add new GH Workflow * Don't swallow failures but allow them * Fix new script * Simplify check * Fix Workflow * Remove dup var * Fix vars * Move pull image to separate step * Remove continue on error * Show input list of labels * Fix check-labels workflow * Remove Docker -it flags * Prevent shell from splitting on spaces * Fix rules path * Comment out rules related to labels not present in the repo * Fix tests * Fix labels specs and tests * fix test * new label description and rules * fix tests * use ruled_labels as crate * fix toolchain * fix component * move from docker to crate * fix test * fail without labels * add cache * fix check no labels * add D-labels check * fix emtpy label check * try docker * fix specs * test D label * revert Cargo.toml * use tags for ruled_labels * fix rules * test D label * fix tags * remove changes * add PR tag to single criticality rule * remove old line * test ruled_labels test * disable Check label Rules * fix GHA name * fix tests * rename files, upd ruled_labels 0.3.2 Co-authored-by: alvicsam <alvicsam@gmail.com> Co-authored-by: parity-processbot <> Co-authored-by: Joyce Siqueira <joycesiqueira@Joyces-MacBook-Pro.local> Co-authored-by: joyce <joyce@parity.io> Co-authored-by: Joyce Siqueira <98593770+the-right-joyce@users.noreply.github.com> Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> * Description for new cumulus labels (#1879) * Add files via upload Documentation for new labels * Update documentation.md * companion for #12663 jsonrpsee v0.16 (#1905) * companion for #12663 jsonrpsee v0.16.1 * update deps * update rpc client params * update substrate and polkadot * Bump tokio from 1.22.0 to 1.23.0 (#1952) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.22.0 to 1.23.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add test onto statemint as well as statemine now (#1954) (#1955) (as functionallity is rolled out) * [ci] use external repo for check-labels (#1985) * [ci] use external repo for check-labels * remove ruled_labels specs, docs * remove repo checkout * remove checkout action * remove old gha * Introduce migrations for inactive balances (#1943) * Introduce migrations * Introduce migrations * Bump Co-authored-by: joepetrowski <joe@parity.io> * Collectives integration tests (#1979) Co-authored-by: parity-processbot <> * [ci] Add variable to disable selected jobs (#1986) * [ci] Add variable to disable selected jobs * apply suggestion Co-authored-by: parity-processbot <> * Companion for substrate#12845 (#1960) * Companion for substrate#12845 * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <> * [ci] small fix for job switcher (#1990) * Allow to specify multiple relay chain RPC urls for collator node (#1880) * Allow specification of multiple urls for relay chain rpc nodes * Add pooled RPC client basics * Add list of clients to pooled client * Improve * Forward requests to dispatcher * Switch clients on error * Implement rotation logic * Improve subscription handling * Error handling cleanup * Remove retry from rpc-client * Improve naming * Improve documentation * Improve `ClientManager` abstraction * Adjust zombienet test * Add more comments * fmt * Apply reviewers comments * Extract reconnection to extra method * Add comment to reconnection method * Clean up some dependencies * Fix build * fmt * Provide alias for cli argument * Apply review comments * Rename P* to Relay* * Improve zombienet test * fmt * Fix zombienet sleep * Simplify zombienet test * Reduce log clutter and fix starting position * Do not distribute duplicated imported and finalized blocks * fmt * Apply code review suggestions * Move building of relay chain interface to `cumulus-client-service` * Refactoring to not push back into channel * FMT * companion for try-runtime revamp (#1997) * companion for try-rutnime revamp * Fixes Co-authored-by: Bastian Köcher <info@kchr.de> * Bump serde from 1.0.149 to 1.0.150 (#1987) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.149 to 1.0.150. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.149...v1.0.150) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove integration tests that are covered by zombienet (#1998) * Bump scale-info from 2.3.0 to 2.3.1 (#1978) Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.3.0 to 2.3.1. - [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/compare/v2.3.0...v2.3.1) --- updated-dependencies: - dependency-name: scale-info dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump toml from 0.5.9 to 0.5.10 (#1995) Bumps [toml](https://github.com/toml-rs/toml) from 0.5.9 to 0.5.10. - [Release notes](https://github.com/toml-rs/toml/releases) - [Commits](https://github.com/toml-rs/toml/commits/toml-v0.5.10) --- updated-dependencies: - dependency-name: toml dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump serde from 1.0.150 to 1.0.151 (#2001) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.150 to 1.0.151. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.150...v1.0.151) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump quote from 1.0.21 to 1.0.23 (#2003) Bumps [quote](https://github.com/dtolnay/quote) from 1.0.21 to 1.0.23. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.21...1.0.23) --- updated-dependencies: - dependency-name: quote dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump dyn-clone from 1.0.9 to 1.0.10 (#2005) Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone) from 1.0.9 to 1.0.10. - [Release notes](https://github.com/dtolnay/dyn-clone/releases) - [Commits](https://github.com/dtolnay/dyn-clone/compare/1.0.9...1.0.10) --- updated-dependencies: - dependency-name: dyn-clone dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump thiserror from 1.0.37 to 1.0.38 (#2004) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.37 to 1.0.38. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.37...1.0.38) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Limit number of blocks per level (2nd attempt) (#1559) Prevents the StateDbError::TooManySiblingBlocks error from being triggered by eagerly removing stale blocks from the backend on block import and before the error condition is met. Introduces a just in time block recovery mechanism for blocks that were wrongly removed via an explicit pov-recovery method Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Expect less chaos: use explicit call indices (#1984) * Expect less chaos: set call index explicitly. * mark test pallet as dev mode so explicit call indicies are not required. * Fix 'dev_mode' syntax Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * BlockId removal: refactor: HeaderBackend::header (#1977) * BlockId removal: refactor: HeaderBackend::header It changes the arguments of: - `HeaderBackend::header`, - `Client::header` methods from: `BlockId<Block>` to: `Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <> * Bridge hub kusama fine-tuning before release (#1999) * Fix benchmarks-ci.sh - missing pallet_utility/pallet_multisig * Missing ParentAsSuperuser for bridge-hubs * Fixed missing stuff in benchmarks.yml * Added MigrateToTrackInactive + CheckingAccount (for completness as other runtimes) * Measured xcm weights for bridge-hubs * Fix for fungible benchmarks * ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::fungible * ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic * ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::fungible * ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic * Reverting migrations - no need for them * script for generate genesis spec/head/wasm * Adding invulnerables and session.keys to the script (https://github.com/paritytech/devops/issues/2196) * update chainspec with cmd: ./scripts/create_bridge_hub_kusama_spec.sh ./target/release/wbuild/bridge-hub-kusama-runtime/bridge_hub_kusama_runtime.compact.compressed.wasm 1003 * para_id 1003 -> 1002, cmd: ./scripts/create_bridge_hub_kusama_spec.sh ./target/release/wbuild/bridge-hub-kusama-runtime/bridge_hub_kusama_runtime.compact.compressed.wasm 1002 Co-authored-by: command-bot <> * Bump syn from 1.0.105 to 1.0.107 (#2008) Bumps [syn](https://github.com/dtolnay/syn) from 1.0.105 to 1.0.107. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.105...1.0.107) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump proc-macro2 from 1.0.47 to 1.0.49 (#2010) Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.47 to 1.0.49. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.47...1.0.49) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update poilkadot dependencies * Bump crate versions * Bump spec_version to 9360 * bump rococo and penpal spec_version * Revert "BlockId removal: refactor: HeaderBackend::header (#1977)" This reverts commit b7dff85939ee4bc56f97757424f34b692ab141c6. * fix deps duplication in Cargo.lock (#2014) * bump txn versions (#2018) * Backport weights to source release branch (#2029) * [benchmarks] pr with weights (#2026) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights Collectives (#2025) * [benchmarks] pr with weights * provide veto method for trait Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com> * [benchmarks] pr with weights (#2027) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com> * remove 9330 migrations from statemint series (#2031) (#2034) Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * update toolchain * add protoc run to ci * ci: test updated GitHub Actions workers * ci: update checkout action version * ci: try workers on Ubuntu 20.04 * update CI for test job * update test command * fix args for test job * ci: try `-j1` option for test job * ci: test 8vcpu-32gbRAM worker for test job * update reference --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Javier Viola <javier@parity.io> Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com> Co-authored-by: Chevdor <chevdor@users.noreply.github.com> Co-authored-by: Davide Galassi <davxy@datawok.net> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Bastian Köcher <info@kchr.de> Co-authored-by: Sebastian Kunert <skunert49@gmail.com> Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Co-authored-by: Sergejs Kostjucenko <sergejs@parity.io> Co-authored-by: cheme <emericchevalier.pro@gmail.com> Co-authored-by: Squirrel <gilescope@gmail.com> Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com> Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Wilfried Kopp <wilfried@parity.io> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: brendanedelson <brendanedelson@gmail.com> Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> Co-authored-by: Egor_P <egor@parity.io> Co-authored-by: Koute <koute@users.noreply.github.com> Co-authored-by: Qinxuan Chen <koushiro.cqx@gmail.com> Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Pierre Besson <pierre.besson@parity.io> Co-authored-by: Aaro Altonen <48052676+altonen@users.noreply.github.com> Co-authored-by: Xavier Lau <xavier@inv.cafe> Co-authored-by: joepetrowski <joe@parity.io> Co-authored-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: alexgparity <115470171+alexgparity@users.noreply.github.com> Co-authored-by: Dmitry Markin <dmitry@markin.tech> Co-authored-by: Marcin S <marcin@bytedude.com> Co-authored-by: alvicsam <alvicsam@gmail.com> Co-authored-by: Joyce Siqueira <joycesiqueira@Joyces-MacBook-Pro.local> Co-authored-by: joyce <joyce@parity.io> Co-authored-by: Joyce Siqueira <98593770+the-right-joyce@users.noreply.github.com> Co-authored-by: Gavin Wood <gavin@parity.io> Co-authored-by: Sasha Gryaznov <hi@agryaznov.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Misha Kolesnik <tenequm@gmail.com>
1 parent 6ab2e3a commit 3bdb665

File tree

303 files changed

+15734
-6356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

303 files changed

+15734
-6356
lines changed

.github/ISSUE_TEMPLATE/release-runtime.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ The following checks can be performed after we have forked off to the release-ca
3434
networks
3535
- [ ] Run [integration tests](https://github.com/paritytech/cumulus/blob/master/docs/release.md#integration-tests), and make sure they pass.
3636
- [ ] Push runtime upgrade to Westmint and verify network stability
37+
- [ ] Push runtime upgrade to Collectives and verify network stability
3738

3839

3940
### Github

.github/dependabot.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ updates:
1010
- dependency-name: "sp-*"
1111
- dependency-name: "frame-*"
1212
- dependency-name: "fork-tree"
13-
- dependency-name: "remote-externalities"
13+
- dependency-name: "frame-remote-externalities"
1414
- dependency-name: "pallet-*"
1515
- dependency-name: "beefy-*"
1616
- dependency-name: "try-runtime-*"
@@ -21,6 +21,7 @@ updates:
2121
- dependency-name: "xcm*"
2222
- dependency-name: "kusama-*"
2323
- dependency-name: "westend-*"
24+
- dependency-name: "rococo-*"
2425
schedule:
2526
interval: "daily"
2627
- package-ecosystem: github-actions

.github/pr-custom-review.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ action-review-team: ci
66
rules:
77
- name: Runtime files
88
check_type: changed_files
9-
condition: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$
9+
condition: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$|^parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^parachains/common/src/[^/]+\.rs$
1010
all_distinct:
1111
- min_approvals: 1
1212
teams:
@@ -20,7 +20,7 @@ rules:
2020
condition:
2121
include: .*
2222
# excluding files from 'Runtime files' and 'CI files' rules
23-
exclude: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
23+
exclude: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$|^parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^parachains/common/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
2424
min_approvals: 2
2525
teams:
2626
- core-devs

.github/workflows/check-D-labels.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Check D labels
2+
3+
on:
4+
pull_request:
5+
types: [labeled, opened, synchronize, unlabeled]
6+
paths:
7+
- primitives/**
8+
9+
jobs:
10+
check-labels:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Pull image
14+
env:
15+
IMAGE: paritytech/ruled_labels:0.3.2
16+
run: docker pull $IMAGE
17+
18+
- name: Check labels
19+
env:
20+
IMAGE: paritytech/ruled_labels:0.3.2
21+
MOUNT: /work
22+
GITHUB_PR: ${{ github.event.pull_request.number }}
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
API_BASE: https://api.github.com/repos
25+
REPO: ${{ github.repository }}
26+
RULES_PATH: labels/ruled_labels
27+
CHECK_SPECS: specs_cumulus.yaml
28+
run: |
29+
echo "REPO: ${REPO}"
30+
echo "GITHUB_PR: ${GITHUB_PR}"
31+
# Clone repo with labels specs
32+
git clone https://github.com/paritytech/labels
33+
# Fetch the labels for the PR under test
34+
labels=$( curl -H "Authorization: token ${GITHUB_TOKEN}" -s "$API_BASE/${REPO}/pulls/${GITHUB_PR}" | jq '.labels | .[] | .name' | tr "\n" ",")
35+
36+
if [ -z "${labels}" ]; then
37+
echo "No labels found. Please add labels D labels"
38+
exit 1
39+
fi
40+
41+
labels_args=${labels: :-1}
42+
printf "Checking labels: %s\n" "${labels_args}"
43+
44+
# Prevent the shell from splitting labels with spaces
45+
IFS=","
46+
47+
# --dev is more useful to debug mode to debug
48+
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --labels ${labels_args} --dev --tags audit

.github/workflows/check-labels.yml

+32-9
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,39 @@ jobs:
88
check-labels:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Checkout sources
12-
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
13-
with:
14-
fetch-depth: 0
15-
ref: ${{ github.event.pull_request.head.ref }}
16-
repository: ${{ github.event.pull_request.head.repo.full_name }}
11+
- name: Pull image
12+
env:
13+
IMAGE: paritytech/ruled_labels:0.3.2
14+
run: docker pull $IMAGE
15+
1716
- name: Check labels
18-
run: bash ${{ github.workspace }}/scripts/ci/github/check_labels.sh
1917
env:
18+
IMAGE: paritytech/ruled_labels:0.3.2
19+
MOUNT: /work
2020
GITHUB_PR: ${{ github.event.pull_request.number }}
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22-
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
23-
BASE_SHA: ${{ github.event.pull_request.base.sha }}
22+
API_BASE: https://api.github.com/repos
23+
REPO: ${{ github.repository }}
24+
RULES_PATH: labels/ruled_labels
25+
CHECK_SPECS: specs_cumulus.yaml
26+
run: |
27+
echo "REPO: ${REPO}"
28+
echo "GITHUB_PR: ${GITHUB_PR}"
29+
# Clone repo with labels specs
30+
git clone https://github.com/paritytech/labels
31+
# Fetch the labels for the PR under test
32+
labels=$( curl -H "Authorization: token ${GITHUB_TOKEN}" -s "$API_BASE/${REPO}/pulls/${GITHUB_PR}" | jq '.labels | .[] | .name' | tr "\n" ",")
33+
34+
if [ -z "${labels}" ]; then
35+
echo "No labels found. Please add labels A, B and C labels"
36+
exit 1
37+
fi
38+
39+
labels_args=${labels: :-1}
40+
printf "Checking labels: %s\n" "${labels_args}"
41+
42+
# Prevent the shell from splitting labels with spaces
43+
IFS=","
44+
45+
# --dev is more useful to debug mode to debug
46+
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --labels ${labels_args} --dev --tags PR

.github/workflows/docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: rustup show
2424

2525
- name: Rust cache
26-
uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 # v2.0.0
26+
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
2727

2828
- name: Build rustdocs
2929
run: SKIP_WASM_BUILD=1 cargo doc --all --no-deps
@@ -32,7 +32,7 @@ jobs:
3232
run: echo "<meta http-equiv=refresh content=0;url=cumulus_client_collator/index.html>" > ./target/doc/index.html
3333

3434
- name: Deploy documentation
35-
uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0
35+
uses: peaceiris/actions-gh-pages@de7ea6f8efb354206b205ef54722213d99067935 # v3.9.0
3636
with:
3737
github_token: ${{ secrets.GITHUB_TOKEN }}
3838
publish_branch: gh-pages

.github/workflows/mangata-dev.yml

+16-9
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,18 @@ on:
33
branches:
44
- mangata-dev
55
push:
6-
branches: [ mangata-dev ]
6+
branches: [mangata-dev]
77

88
name: CI
99

1010
env:
11-
TOOLCHAIN: nightly-2022-05-11
12-
11+
TOOLCHAIN: nightly-2022-11-15
1312

1413
jobs:
1514
fmt:
1615
runs-on: ubuntu-latest
1716
steps:
18-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1918
- name: Install ${{ env.TOOLCHAIN }}
2019
uses: actions-rs/toolchain@v1
2120
with:
@@ -30,9 +29,13 @@ jobs:
3029
args: --all -- --check
3130

3231
build:
33-
runs-on: ubuntu-latest
32+
runs-on: cumulus-repo-worker-2004
3433
steps:
35-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v3
35+
- name: Install Protoc
36+
uses: arduino/setup-protoc@v1
37+
with:
38+
repo-token: ${{ secrets.GITHUB_TOKEN }}
3639
- name: Install ${{ env.TOOLCHAIN }}
3740
uses: actions-rs/toolchain@v1
3841
with:
@@ -47,9 +50,13 @@ jobs:
4750
args: --release
4851

4952
test:
50-
runs-on: ubuntu-latest
53+
runs-on: cumulus-repo-test-job-workers
5154
steps:
52-
- uses: actions/checkout@v2
55+
- uses: actions/checkout@v3
56+
- name: Install Protoc
57+
uses: arduino/setup-protoc@v1
58+
with:
59+
repo-token: ${{ secrets.GITHUB_TOKEN }}
5360
- name: Install ${{ env.TOOLCHAIN }}
5461
uses: actions-rs/toolchain@v1
5562
with:
@@ -61,4 +68,4 @@ jobs:
6168
with:
6269
toolchain: ${{ env.TOOLCHAIN }}
6370
command: test
64-
71+
args: -j1

.github/workflows/release-30_create-draft.yml

+15-3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
runtime: statemint
5151
- category: assets
5252
runtime: westmint
53+
- category: bridge-hubs
54+
runtime: bridge-hub-kusama
55+
- category: bridge-hubs
56+
runtime: bridge-hub-rococo
5357
- category: collectives
5458
runtime: collectives-polkadot
5559
- category: contracts
@@ -120,7 +124,7 @@ jobs:
120124
path: cumulus
121125
ref: ${{ github.event.inputs.ref2 }}
122126

123-
- uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7 # v1.118.0
127+
- uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
124128
with:
125129
ruby-version: 3.0.0
126130

@@ -150,6 +154,8 @@ jobs:
150154
WESTMINT_DIGEST: ${{ github.workspace}}/westmint-srtool-json/westmint-srtool-digest.json
151155
STATEMINE_DIGEST: ${{ github.workspace}}/statemine-srtool-json/statemine-srtool-digest.json
152156
STATEMINT_DIGEST: ${{ github.workspace}}/statemint-srtool-json/statemint-srtool-digest.json
157+
BRIDGE_HUB_ROCOCO_DIGEST: ${{ github.workspace}}/bridge-hub-rococo-srtool-json/bridge-hub-rococo-srtool-digest.json
158+
BRIDGE_HUB_KUSAMA_DIGEST: ${{ github.workspace}}/bridge-hub-kusama-srtool-json/bridge-hub-kusama-srtool-digest.json
153159
COLLECTIVES_POLKADOT_DIGEST: ${{ github.workspace}}/collectives-polkadot-srtool-json/collectives-polkadot-srtool-digest.json
154160
ROCOCO_PARA_DIGEST: ${{ github.workspace}}/rococo-parachain-srtool-json/rococo-parachain-srtool-digest.json
155161
CANVAS_KUSAMA_DIGEST: ${{ github.workspace}}/contracts-rococo-srtool-json/contracts-rococo-srtool-digest.json
@@ -165,6 +171,8 @@ jobs:
165171
ls -al $WESTMINT_DIGEST || true
166172
ls -al $STATEMINE_DIGEST || true
167173
ls -al $STATEMINT_DIGEST || true
174+
ls -al $BRIDGE_HUB_ROCOCO_DIGEST || true
175+
ls -al $BRIDGE_HUB_KUSAMA_DIGEST || true
168176
ls -al $COLLECTIVES_POLKADOT_DIGEST || true
169177
ls -al $ROCOCO_PARA_DIGEST || true
170178
ls -al $CANVAS_KUSAMA_DIGEST || true
@@ -216,6 +224,10 @@ jobs:
216224
runtime: statemint
217225
- category: assets
218226
runtime: westmint
227+
- category: bridge-hubs
228+
runtime: bridge-hub-kusama
229+
- category: bridge-hubs
230+
runtime: bridge-hub-rococo
219231
- category: collectives
220232
runtime: collectives-polkadot
221233
- category: contracts
@@ -235,7 +247,7 @@ jobs:
235247
- name: Download artifacts
236248
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
237249

238-
- uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7 # v1.118.0
250+
- uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
239251
with:
240252
ruby-version: 3.0.0
241253

@@ -255,7 +267,7 @@ jobs:
255267
id: fix-runtime-path
256268
run: |
257269
cd "${{ matrix.runtime }}-runtime/"
258-
mv "$(sed -E 's/-(.*)/_\1/' <<< ${{ matrix.runtime }})_runtime.compact.compressed.wasm" "${{ matrix.runtime }}_runtime.compact.compressed.wasm" || true
270+
mv "$(sed -E 's/- */_/g' <<< ${{ matrix.runtime }})_runtime.compact.compressed.wasm" "${{ matrix.runtime }}_runtime.compact.compressed.wasm" || true
259271
260272
- name: Upload compressed ${{ matrix.runtime }} wasm
261273
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2

.github/workflows/srtool.yml

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
runtime: statemint
3838
- category: assets
3939
runtime: westmint
40+
- category: bridge-hubs
41+
runtime: bridge-hub-kusama
42+
- category: bridge-hubs
43+
runtime: bridge-hub-rococo
4044
- category: collectives
4145
runtime: collectives-polkadot
4246
- category: contracts

.gitlab-ci.yml

+24-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ variables:
4444
# they will be used if the job fails
4545
.pipeline-stopper-vars:
4646
before_script:
47+
- !reference [.job-switcher, before_script]
4748
- echo "FAILED_JOB_URL=${CI_JOB_URL}" > pipeline-stopper.env
4849
- echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env
4950
- echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env
@@ -95,19 +96,26 @@ variables:
9596
- if: $CI_COMMIT_REF_NAME == "master"
9697
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
9798

99+
.job-switcher:
100+
before_script:
101+
- if echo "$CI_DISABLED_JOBS" | grep -xF "$CI_JOB_NAME"; then echo "The job has been cancelled in CI settings"; exit 0; fi
102+
98103
.docker-env:
99104
image: "${CI_IMAGE}"
100105
before_script:
106+
- !reference [.job-switcher, before_script]
101107
- rustup show
102108
- cargo --version
103109
- rustup +nightly show
104110
- cargo +nightly --version
105111
- bash --version
106112
tags:
107-
- linux-docker
113+
- linux-docker-vm-c2
108114

109115
.kubernetes-env:
110116
image: "${CI_IMAGE}"
117+
before_script:
118+
- !reference [.job-switcher, before_script]
111119
tags:
112120
- kubernetes-parity-build
113121

@@ -159,3 +167,18 @@ cancel-pipeline:
159167
PR_NUM: "${PR_NUM}"
160168
trigger:
161169
project: "parity/infrastructure/ci_cd/pipeline-stopper"
170+
branch: "as-improve"
171+
172+
remove-cancel-pipeline-message:
173+
stage: .post
174+
rules:
175+
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
176+
variables:
177+
PROJECT_ID: "${CI_PROJECT_ID}"
178+
PROJECT_NAME: "${CI_PROJECT_NAME}"
179+
PIPELINE_ID: "${CI_PIPELINE_ID}"
180+
FAILED_JOB_URL: "https://gitlab.com"
181+
FAILED_JOB_NAME: "nope"
182+
PR_NUM: "${CI_COMMIT_REF_NAME}"
183+
trigger:
184+
project: "parity/infrastructure/ci_cd/pipeline-stopper"

CODEOWNERS

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# - The latest matching rule, if multiple, takes precedence.
1818

1919
# CI
20-
/.github/ @paritytech/ci @chevdor
20+
/.github/ @paritytech/ci @paritytech/release-engineering
2121
/.gitlab-ci.yml @paritytech/ci
22-
/scripts/ci/ @paritytech/ci @chevdor
22+
/scripts/ci/ @paritytech/ci @paritytech/release-engineering
2323

0 commit comments

Comments
 (0)