-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PVF: Refactor argument passing #1576
Comments
* [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 19ad8c8b38575ba5f08e749c0c2d9f7450c0b3bf. * 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>
* 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> * BlockId removal: refactor: HeaderBackend::status (#2007) * BlockId removal: refactor: HeaderBackend::status It changes the arguments of `HeaderBackend::status` method 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 <> * Companion for Substrate 12307 (#1947) * Companion for pallet-assets callback * Update lock file * Bump serde_json from 1.0.89 to 1.0.91 (#2009) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.89 to 1.0.91. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.89...v1.0.91) --- updated-dependencies: - dependency-name: serde_json 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: Accept Kusama StakingAdmin origin (#1865) * Companion: Accept Kusamsa StakinAdmin origin * Fellows origin for xcmp queue controller * plurality bodies to ensure origin * include root into controller ensure origin * fix * use xcm bodies * rename to more frequent "defense" Co-authored-by: parity-processbot <> * Alliance: remove veto weight func (#2030) * Alliance: remove veto weight func * update lockfile for {"substrate", "polkadot"} Co-authored-by: parity-processbot <> * Bump clap from 4.0.29 to 4.0.32 (#2032) Bumps [clap](https://github.com/clap-rs/clap) from 4.0.29 to 4.0.32. - [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.29...v4.0.32) --- 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.59 to 0.1.60 (#2024) Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.59 to 0.1.60. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.59...0.1.60) --- 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> * Collectives parachain integration tests update (#2036) * Collectives: update integration tests * update title * Bump serde from 1.0.151 to 1.0.152 (#2045) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.151 to 1.0.152. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152) --- 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> * Backport weights from 9360 (#2038) * [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> * Bump secp256k1 from 0.24.0 to 0.24.2 (#1973) Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1) from 0.24.0 to 0.24.2. - [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases) - [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/secp256k1-0.24.2/CHANGELOG.md) - [Commits](https://github.com/rust-bitcoin/rust-secp256k1/compare/secp256k1-0.24.0...secp256k1-0.24.2) --- updated-dependencies: - dependency-name: secp256k1 dependency-type: indirect ... 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> * BlockId removal: refactor: BlockBackend::block|block_status (#2041) * BlockId removal: refactor: BlockBackend::block|block_status It changes the arguments of: - `BlockBackend::block` - `BlockBackend::block_status` method 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 <> * remove 9330 migrations from statemint series (#2031) (#2039) Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Backport version bumps from 9360 (#2037) * Bump crate versions * Bump spec_version to 9360 * bump rococo and penpal spec_version * bump txn versions (#2018) (#2020) * Co #6498: Selectable on-runtime-upgrade checks (#2057) * Use UpgradeCheckSelector Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p polkadot-primitives Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * upgrade libp2p to 0.50.0 (#2056) * update asynchronous-codec * update futures-rustls * update rustls * update ipnet * update once_cell * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <> * NFTs 2.0 on Westmint (#2058) * Add nfts pallet to westmint config * Fmt * Use ConstU32 * Bump assert_cmd from 2.0.5 to 2.0.7 (#2066) Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.5 to 2.0.7. - [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.5...v2.0.7) --- 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> * Remove the `RelaychainClient` trait (#2068) * Remove the `RelaychainClient` trait It was just some historical trait that isn't really required anymore. Besides that this pr re-exports types that are being used by the relay chain interface to make its usage easier. * Fix warning * Bump tokio from 1.23.0 to 1.24.1 (#2065) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.24.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.24.1) --- 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> * Refactor `validate_block` (#2069) * Refactor `validate_block` This pull request changes the `validate_block` implementation. One of the key changes are that we free data structures as early as possible. The memory while validating the block is scarce and we need to give as much as possible to the actual execution of the block. Besides that the pr moves the validation of the `validation_data` into the `validate_block` implementation completely instead of using this machinery with putting the data into some global variable that would then be read while executing the block. There are also some new docs to explain the internals of `validate_block`. * No clone wars!! * Integrate more feedback * FMT * Delay the header encoding * Bump ruby/setup-ruby from 1.127.0 to 1.133.2 (#2075) Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.127.0 to 1.133.2. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/ee2113536afb7f793eed4ce60e8d3b26db912da4...93287a1fa82c6ddbb6d8db978df4b0119cd8879f) --- 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> * Bump JasonEtco/create-an-issue from 2.6.0 to 2.9.1 (#2042) Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.6.0 to 2.9.1. - [Release notes](https://github.com/JasonEtco/create-an-issue/releases) - [Commits](https://github.com/JasonEtco/create-an-issue/compare/9e6213aec58987fa7d2f4deb8b256b99e63107a2...e27dddc79c92bc6e4562f268fffa5ed752639abd) --- updated-dependencies: - dependency-name: JasonEtco/create-an-issue 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> * Use primitives reexported from `polkadot_primitives` crate root (#2067) * Use primitives reexported from `polkadot_primitives` crate root * restart CI * Fixes after merge * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <> * remove update-parachain-template (#2077) will be moved to polkadot's pipeline ref https://github.com/paritytech/release-engineering/issues/142 * Minor update to Readme - Statemint section (#2078) * Minor update to Readme - Statemint section Common good -> System * update parchains readme * Update parachains/README.md Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Bastian Köcher <git@kchr.de> * Remove old migrations (#2040) Co-authored-by: joepetrowski <joe@parity.io> * BHK + BH-Westend release backport (#2083) * Runtime code according to the released runtime bridge-hub-kusama_runtime-v9360.compact.compressed.wasm * Add chains spec for westend with generated by `./scripts/create_bridge_hub_westend_spec.sh ~/Downloads/upload/bridge-hub-kusama_runtime-v9360.compact.compressed.wasm 1002` * fmt * XCM v3 Companion (#697) * Fixes * Undiener * Undiener * Undiener * Lockfile * Changes for send returning hash * Include message ID as params to execute_xcm * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Companion fixes * Formatting * Fixes * Formatting * Bump * Bump * Fixes * Formatting * Make the price of UMP/XCMP message sending configurable * cargo fmt * Remove InvertLocation * Formatting * Use ConstantPrice from polkadot-runtime-common * Fix naming * cargo fmt * Fixes * Fixes * Fixes * Add CallDispatcher * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Remove unused import * Remove unused import * 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 * Avoid consuming XCM message for NotApplicable scenario (#1787) * Avoid consuming message for NotApplicable scenario * Avoid consuming message for NotApplicable scenario tests * Add 10 message processing limit to DMP queue * Add 10 message limit to XCMP queue * Always increment the message_processed count whenever a message is processed * Fix formatting * Set an upper limit to the overweight message DMP queue * Add upper limit to XCMP overweight message queue * Fix for missing weight for `fn unpaid_execution()` * Fix - usage of `messages_processed` * Fixes * Fixes * Fixes * cargo fmt * Fixes * Fixes * Fixes * Fixes * Remove unused import * Fixes for gav-xcm-v3 (#1835) * Fix for FungiblesAdapter - trait changes: Contains -> AssetChecking * Fix for missing weight for `fn unpaid_execution()` * Used NonLocalMint for all NonZeroIssuance * Fix * Fixes * Fixes * Fixes * Fixes * Fixes * Fix tests * Fixes * Add SafeCallFilter * Add missing config items * Add TODO * Use () as the PriceForParentDelivery * Fixes * Fixes * Fixes * Fixes * Update transact_origin to transact_origin_and_runtime_call * Add ReachableDest config item to XCM pallet * Update SafeCallFilter to allow remark_with_event in runtime benchmarks * cargo fmt * Update substrate * Fix worst_case_holding * Fix DMQ queue unit tests * Remove unused label * cargo fmt * Actually process incoming XCMs * Fixes * Fixes * Fixes * Fixes - return back Weightless * Added measured benchmarks for `pallet_xcm` (#1968) * Fix Fix Fix * Fix * Fixes for transact benchmark * Fixes add pallet_xcm to benchmarks * Revert remark_with_event * ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic * Fixes * TMP * Fix for reserve_asset_deposited * ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm * Fix * ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm * Fix * ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm * Fix westmint * ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic * Fix * ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic * ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic * ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm * Fix for collectives * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm * ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm * Fixes for bridge-hubs * Fixes - return back Weightless * Fix - removed MigrateToTrackInactive for contracts-rococo Co-authored-by: command-bot <> * cargo fmt * Fix benchmarks * Bko gav xcm v3 (#1993) * Fix * ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::fungible * ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::fungible * ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::fungible * ".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 * ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm * ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm * ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm * ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm * ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm Co-authored-by: command-bot <> * Change AllowUnpaidExecutionFrom to be explicit * xcm-v3 benchmarks, weights, fixes for bridge-hubs (#2035) * Dumy weights to get compile * Change UniversalLocation according to https://github.com/paritytech/polkadot/pull/4097 (Location Inversion Removed) * Fix bridge-hubs weights * ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm * ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm * ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm * ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm * ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic * ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::fungible * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm * ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm * ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::fungible * ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic * Change NetworkId to Option<NetworkId> Co-authored-by: command-bot <> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Add event for showing the hash of an UMP sent message (#1228) * Add UpwardMessageSent event in parachain-system * additional fixes * Message Id * Fix errors from merge * fmt * more fmt * Remove todo * more formatting * Fixes * Fixes * Fixes * Fixes * Allow explicit unpaid executions from the relay chains for system parachains (#2060) * Allow explicit unpaid executions from the relay chains for system parachains * Put origin-filtering barriers into WithComputedOrigin * Use ConstU32<8> * Small nits * formatting * cargo fmt * Allow receiving XCMs from any relay chain plurality * Fixes * update lockfile for {"polkadot", "substrate"} * Update polkadot * Add runtime-benchmarks feature Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: girazoki <gorka.irazoki@gmail.com> Co-authored-by: parity-processbot <> * Instantiate All Assets Pallets (#1908) * instantiate all assets pallets * assets instance * fmt * fix merge errors * fmt * no default instance * Generic AssetFeeAsExistentialDepositMultiplier Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * remove old import * don't rename pallet in runtime * fix merge Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Bump assert_cmd from 2.0.7 to 2.0.8 (#2074) Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.7 to 2.0.8. - [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.7...v2.0.8) --- 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> * adjust pallet_contracts config (#2108) * Companion for paritytech/polkadot#6578 (#2112) * Add ExpectTransactStatus benchmarking * cargo fmt * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <> * [backport] version bumps from release 9370 (#2095) * Bump crate versions * Bump spec_version to 9370 Co-authored-by: parity-processbot <> * Simplify the template (#2072) * Simplify the template * Fix and use generated whitelisted keys * Fixes * Update Substrate to fix compilation * :facepalm: * Use correct runtime function name (#2116) The runtime function name doesn't change on chain, especially not for old runtimes. * Bump clap from 4.0.32 to 4.1.1 (#2096) Bumps [clap](https://github.com/clap-rs/clap) from 4.0.32 to 4.1.1. - [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.32...v4.1.1) --- updated-dependencies: - dependency-name: clap 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> * Warn validators with slow hardware (#1863) * Warn validators with slow hardware * update * fix * revert * Fix printing logic Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update polkadot-parachain/src/service.rs * import Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * update lockfile for {"substrate", "polkadot"} Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Bump lru from 0.8.1 to 0.9.0 (#2052) * Bump lru from 0.8.1 to 0.9.0 Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.8.1 to 0.9.0. - [Release notes](https://github.com/jeromefroe/lru-rs/releases) - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.8.1...0.9.0) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update substrate and polkadot Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Bump tokio from 1.24.1 to 1.24.2 (#2110) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.1 to 1.24.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/commits) --- updated-dependencies: - dependency-name: tokio 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> * [ci] Update check-labels and fix check (#2128) * Removed forgotten unused `pub Ancestry: MultiLocation` (#2124) * Bump parity-db (#2132) * Bump async-trait from 0.1.60 to 0.1.63 (#2123) Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.60 to 0.1.63. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.60...0.1.63) --- 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 assumption that there is a local bootnode in RPC collator (#2091) * Remove assumption that there is a local bootnode * Bump zombienet to 1.3.29 * Separate "--" * Westend Collectives raw chain spec (#2131) * Bump proc-macro-crate from 1.2.1 to 1.3.0 (#2139) Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) from 1.2.1 to 1.3.0. - [Release notes](https://github.com/bkchr/proc-macro-crate/releases) - [Commits](https://github.com/bkchr/proc-macro-crate/compare/v1.2.1...v1.3.0) --- updated-dependencies: - dependency-name: proc-macro-crate 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> * Do not verify on state import for relay chain verifier (#2140) * Skip verification on state import * Actually use existing variables * Merge checks * nix upgrade to 0.26.1 (#2135) * [ci] Update runners for benchmarks (#2138) * [ci] Update runners for benchmarks * run benchmarks in this pr to get weights * run benches only * comment .post jobs * add docker env to benches * add git diff to artifacts * divide assets * update weights * return ci * fix refs for benchmarks * Bump toml from 0.5.10 to 0.6.0 (#2146) Bumps [toml](https://github.com/toml-rs/toml) from 0.5.10 to 0.6.0. - [Release notes](https://github.com/toml-rs/toml/releases) - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.5.10...toml-v0.6.0) --- updated-dependencies: - dependency-name: toml 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 clap from 4.1.1 to 4.1.4 (#2145) Bumps [clap](https://github.com/clap-rs/clap) from 4.1.1 to 4.1.4. - [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/clap_complete-v4.1.1...v4.1.4) --- 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 proc-macro2 from 1.0.49 to 1.0.50 (#2130) Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.49 to 1.0.50. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.49...1.0.50) --- 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> * 13110 Companion: Add WeightToFee and LengthToFee Runtime API (#2073) * Add…
Just skimming through the pvf codebase. Just some random ideas, not sure if they are applicable. :)) Structural Further flatten the structure. Some should be nested, but nested is rarely better in my experience. For instance,
could this be flattened to
This is actually more revealing to me, esp. when the pool and queue are both used in host on their own. Also, the whole thing feels like it could be
which seems be easier to grok. Dev UX Rather than having inlined test modules, maybe consider moving them out, such that modifying the test code won't cause Cargo to recompile the lib crates. For smaller projects, this probably doesn't matter. But you know how crazy the complation time is. If this makes sense to you, I'm willing to test it out. |
Thanks for the ideas @eagr! Overall I am not sure about them, but maybe I've just grown really accustomed to the way things are right now. I don't think we should change things up without a clear benefit, as it can be quite disruptive, but let me know if I am missing the benefits that you see. After a discussion we can put it to a vote with the other contributors. :)
I'm not sure. I think from an architectural perspective, having the host at the top-level makes more sense, because it's the entrypoint to the whole PVF system. That's why the structure is how it is, buuut I could see it making a lot of sense to rename |
You mentioned that you're not fond of the way the code is organized. So I was thinking to brought the ideas up to see if you like them too :) If we are going to refactor, we might as well just do it good. Structures are always subjective. I have a dislike for (unnecessary) nested structures, so I would try to avoid them when possible. An extra layer should exist for a good reason. Usually we use it to hide or group related modules. // src/execute/mod.rs
mod queue;
mod worker_intf;
pub use queue::{start, PendingExecutionRequest, ToQueue}; But whate are we hiding or grouping here? If it makes sense, we could probably achieve the same thing with just one file in stead of three and one extra layer.
See my point here? 😄 Probably not the best example, the rust-analyzer fellows do something similar. Notice those hir-* and ide-* crates. With a flat structure (when it's reasonable to have), people could see the whole picture at a glance. |
Having a flat, or consistent structure (when appropriate) is not just something that's good to have. Sometimes, if prefix over nesting results in a consistent structure, ti gives us something to leverage. For example, in the Cargo.toml at the workspace root,
This could be turned into just one line
And you don't need to touch the manifest when adding new crates. I could also imagine the CI scripts would benefit from this somehow. If the team had established the convention of preferring flat structure with prefix at the beginning (I know it's not practical given the long history of the project), we would have a more consistent architecture and wouldn't have to maintain this giant member list. My point is, a flat, consistent structure does have its value. If we're going to refactor the code base, those prepare and execute dirs could be easily turned into 3 files. Arguably, it also makes it clear what is involved.
2 is a similar story. Exactly as you said :))
This eliminates the only exception in core/. Changes for 1 is trivial, but this is more significant. Is it doable? I'll test 3 out to see if it makes sense. I'd say both ways of organizing tests are conventional. Inlined test modules make more sense for smaller projects where compilation is instant, so there is no reason to separate them. |
Thanks for explaining @eagr, I get your point now and where you're coming from. But the lack of structure is definitely subjective and not my cup of tea. 😅 And I don't think there is a problem with our nesting that needs to be fixed. For (1), I'd say it's subjective, so not worth changing the existing convention. For (2), I think that where there is a hierarchy of components, like here, it doesn't make sense to obscure the hierarchy/structure by flattening the file layout into one level. But I'll definitely keep your points in mind for the future. One case where we have some pretty deep nesting which we could consider changing is |
To clarify, these are still relevant, not just historical. :P And of course I also forgot to mention paritytech/polkadot#7337. |
Those are mere suggestions. If you don't think they are worth doing, let's just move on. FWIW, when used right, the prefix way is great in that it somehow preserves the hierachy logic, at the same time gives you a more consistent structure, at the small price of duplication in dir names. For clarification, I totally agree that hierachy is necessary. Having over 400 crates lying at the same level is horrifying. 😆 I guess it's a matter of finding the sweet spot. |
Oh cool, thanks for testing it! I guess it's late and my brain isn't working, what am I supposed to be comparing? I don't see a 10s difference between any of the numbers there. If it is 10s, that sounds like a lot. |
Sorry about that. It's 16s to be specific. But I have a crappy machine, so I rounded that down. :)) Here's what I have done.
Basically, with an inlined test module, the lib code is recompiled even if you only change the test code. |
Hrm I didn't know that! How old is your machine? I wouldn't make the effort to optimize for ancient computers, but if we can make a 10+s improvement for most people, that seems worth doing. And thanks for teaching me about the |
If you try to think about it, it's hard for Cargo to detect what exactly is changed coz they're in the same file. I mean for sure they could, just probably not worth doing as text matching and code isolation is equally expensive if not more. And it'd probably complicate compilation a lot. I have a 2017 macbook, definitely not ancient. But compared to M2, it's kinda crappy, which probably takes ~3x as long to compile the project. I actually have to disable cargo check on save for rust-analyzer. The machine couldn't handle it. |
Yeah, cargo only works on the file level, but I thought rustc would be able to detect if test-only code has changed... Anyway, I would say it's worth extracting the tests if you're up for it. I run tests on a VPS (for access to Linux) and it's painfully slow. |
- Shutdown the worker when we can’t enable security features that we were able to enable in the host. - Add `secure_validator_mode` to `SecurityStatus`, pass it to workers this way. - Pass security options to worker over the socket instead of CLI args. (Looks much cleaner.) - Refactor `spawn_with_program_path` to only log once - Refactored worker data (see “Worker data” at #1576). This was driving me crazy. - Cleaned up a couple of old TODOs.
- Shutdown the worker when we can’t enable security features that we were able to enable in the host. - Add `secure_validator_mode` to `SecurityStatus`, pass it to workers this way. - Pass security options to worker over the socket instead of CLI args. (Looks much cleaner.) - Refactor `spawn_with_program_path` to only log once - Refactored worker data (see “Worker data” at #1576). This was driving me crazy. - Cleaned up a couple of old TODOs.
Just LMK if it's ok to separate the tests now? Don't wanna get in the way of your PRs. :)) I was hesitant about this coz I wasn't sure if ~10s is worth the trouble, esp. considering the compile time as a whole. Now that I think of it, it would probably make a difference for people doing |
Thanks for asking. Yes, I don't think it would conflict with open work. :)
Small savings here and there can add up over time. And I just realized that other crates tend to put unit tests in their own |
Host data
Right now if you want to add some data that is passed from the host startup to a worker, there is a long chain of calls it has to go through. It should be refactored somehow. For example, maybe we could pass around some super-objects to make adding new fields a one-line change. It would make such changes much easier in the future.
For an example, in this commit we added just one new parameter,
cache_path
, and look how noisy the commit is.[x] Worker data
Done in #2486.
On the worker-side, we often pass around the worker kind, pid, and dir together. Perhaps there could be one
WorkerInfo
struct.Other?
In general I felt like the PVF code is in dire need of cleaning up. Any other ideas would be highly appreciated.
The text was updated successfully, but these errors were encountered: