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

pov-recovery: try connect to validators #1711

Merged
merged 45 commits into from
Oct 19, 2022

Conversation

ordian
Copy link
Member

@ordian ordian commented Sep 30, 2022

A companion to paritytech/polkadot#6081.

  • Make it compile due to unrelated unmerged companions
  • Test it works with the polkadot changes
  • Revert the REVERTME commits
  • Test it doesn't work on master

@ordian ordian added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Sep 30, 2022
@ordian ordian marked this pull request as ready for review October 4, 2022 09:30
@ordian

This comment was marked as resolved.

@ordian ordian marked this pull request as draft October 4, 2022 10:16
* master:
  Update .github/workflows/docs.yml
  Add protoc
  Companion for contracts WeightV2 (#1726)
  [ci] add fmt check (#1733)
  fmt (#1731)
  Fix target of some Matrix notifications
  Bump thiserror from 1.0.35 to 1.0.37 (#1704)
* master:
  Fix protoc install
  Companion for Adapt to new contracts runtime api (#1736)
  [ci] check fmt on master (#1734)
@bkchr
Copy link
Member

bkchr commented Oct 7, 2022

@ordian is there any update? Could you already make it fail without your patch?

@ordian
Copy link
Member Author

ordian commented Oct 7, 2022

@ordian is there any update? Could you already make it fail without your patch?

I'm trying to make it work with my patch first. Investing why it doesn't.

@ordian ordian marked this pull request as ready for review October 16, 2022 21:53
@ordian ordian requested a review from a team as a code owner October 16, 2022 21:53
@paritytech-ci paritytech-ci requested a review from a team October 16, 2022 21:53
@ordian
Copy link
Member Author

ordian commented Oct 16, 2022

I think one more thing that should be looked into is this: https://github.com/paritytech/substrate/blob/0ee03277c33b6334ddba7434e014fa637dcb6107/client/cli/src/params/network_params.rs#L236

Relay part of collators and all validators are using --reserved-only, so it should be disabled.

@skunert
Copy link
Contributor

skunert commented Oct 17, 2022

I think one more thing that should be looked into is this: https://github.com/paritytech/substrate/blob/0ee03277c33b6334ddba7434e014fa637dcb6107/client/cli/src/params/network_params.rs#L236

I suspect that Kademlia is doing the random walks, aka connecting to nodes "on its own". If we disable this, I assume the node should not to any other node, besides the bootnodes/reserved nodes. Maybe @tomaka / @mxinden could shed some light onto this. TLDR is that we don't want that certain nodes connect to other nodes in any "automatic" way and only when some behavior triggers these connection. Currently it looks like as we are always having a connection between all nodes at some point (I get that this is related to the small size of the test network, however it would be nice to not require to run a big network to test the stuff we want to test :P).

I was suspecting this too and had dht random walks already disabled for my tests. I also modified the discovery limit to 0 here.

When disabled, I do not see this message anymore, as expected.

2022-10-17 09:16:54.645 DEBUG tokio-runtime-worker sub-libp2p: [charlie] Libp2p <= Starting random Kademlia request for PeerId("1AbHqR4KoozFoA82wnYtZKyg8rg94EjsT9GSaGKATdSnZy") 

But we still see this message for some validators (not all).

2022-10-17 09:16:54.648 DEBUG tokio-runtime-worker sub-libp2p: [nutritious-drug-9580] Libp2p => Connected(PeerId("12D3KooWPKzmmE2uYgF3z13xjpbFTp63g9dZFag8pG6MgnpSLF4S"))    

@bkchr
Copy link
Member

bkchr commented Oct 17, 2022

But we still see this message for some validators (not all).

2022-10-17 09:16:54.648 DEBUG tokio-runtime-worker sub-libp2p: [nutritious-drug-9580] Libp2p => Connected(PeerId("12D3KooWPKzmmE2uYgF3z13xjpbFTp63g9dZFag8pG6MgnpSLF4S"))    

This is just the normal connect message? Or why is it special?

I briefly scanned the Kademlia code now. I think what happens is that the authority discovery is putting/getting values from the DHT. This is done through Kademlia. When we are not connected to the peers we want to push the value too, we will connect to them: https://docs.rs/libp2p-kad/0.41.0/src/libp2p_kad/behaviour.rs.html#2345 Kademlia learns about all bootnodes and reserved nodes on startup. IDK what bootnodes zombienet is setting, but I assume all validators or something? If yes, then all collators should know these nodes at least and will probably start connections to them to at leat push/get values from the DHT via Kademlia.

@mxinden
Copy link

mxinden commented Oct 17, 2022

Maybe @tomaka / @mxinden could shed some light onto this.

Happy to help. From briefly scanning this issue I don't quite understand what the problem / goal is. Would you mind posting a summary to catch me up?

@ordian
Copy link
Member Author

ordian commented Oct 17, 2022

Maybe @tomaka / @mxinden could shed some light onto this.

Happy to help. From briefly scanning this issue I don't quite understand what the problem / goal is. Would you mind posting a summary to catch me up?

Hey 👋

In this zombienet test we're running a small relay chain with 1 full node (ferdie) and 13 validators. All validators have --reserved-only --reserved-nodes "<ferdie>". There are also 3 cumulus nodes, two of them who do not produce para-blocks have the same flags on the relay-chain side of the collator. Given the flags, collators should not be connecting to any of the validators. But somehow they do at the beginning.

@tomaka
Copy link

tomaka commented Oct 17, 2022

--reserved-only and --reserved-nodes are only relevant when it comes to syncing/transactions/grandpa (more specifically syncing, but transactions and grandpa simply blindly follow the list of peers we use for syncing).
They intentionally don't apply to Kademlia because, as you've realized, authority-discovery can't work otherwise. They also don't apply to anything higher level such as the functions used by the parachains networking.

Copy link
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

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

It would be nice to understand the internals and who requests the connection. However, I get that this isn't really important here as we managed to make it fail. So, let's continue with this pr.

@pepoviola pepoviola self-requested a review October 17, 2022 13:38
@ordian
Copy link
Member Author

ordian commented Oct 17, 2022

--reserved-only and --reserved-nodes are only relevant when it comes to syncing/transactions/grandpa (more specifically syncing, but transactions and grandpa simply blindly follow the list of peers we use for syncing). They intentionally don't apply to Kademlia because, as you've realized, authority-discovery can't work otherwise. They also don't apply to anything higher level such as the functions used by the parachains networking.

Sure, it's fine for authority discovery to work in that case. But I didn't expect for connections to be automatically established. I'm aware of the high-level code that issues connections, e.g. collator-protocol connecting collators to the backing group. In our case, these two collators should not be issuing them because they do not produce any collation, and even if they do connect, backing group size is set to 1 at genesis and they connect to at least 5 validators.

@paritytech-ci paritytech-ci requested a review from a team October 18, 2022 13:10
@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot
Copy link

Merge cancelled due to error. Error: Statuses failed for 1b04f18

@ordian
Copy link
Member Author

ordian commented Oct 18, 2022

jFYI: This PR is not a companion in the traditional sense since it fixes a test that doesn't actually test what it supposed and will pas anyway. So it will not block other unmerged companions.

@bkchr
Copy link
Member

bkchr commented Oct 19, 2022

bot merge

@paritytech-processbot paritytech-processbot bot merged commit 7273afa into master Oct 19, 2022
@paritytech-processbot paritytech-processbot bot deleted the ao-recovery-try-connect branch October 19, 2022 10:02
arturgontijo added a commit that referenced this pull request Nov 3, 2022
* Co #12059: Revert "Auto-incremental CollectionId" (#1557)

* Remove try_increment_id weight info

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

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

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

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

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

* add 4th pr creation to benchmarks-statemint

* rename benchmarks-statemint to benchmarks-assets

* chore: bump zombienet version (#1560)

* pin gha versions (#1566)

* Bump serde from 1.0.143 to 1.0.144 (#1565)

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

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

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

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

* shell and seedling did not build (#1567)

* shell and seedling did not build

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

* let's just fix the build in this PR

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

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

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

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

* [ci] Apply cargo-fmt

* use fmt nightly

* [ci] Apply cargo-fmt

* add comment to cargo-fmt and remove fmt gha

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

* Fixes

* Fixes

* Add CallDispatcher

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

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

* support retirement notice feature

* [ci] Apply cargo-fmt

* use primitive const

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

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

* Bump futures from 0.3.23 to 0.3.24 (#1578)

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

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

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

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

* Bump clap from 3.2.17 to 3.2.18 (#1577)

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

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

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

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

* Bump clap from 3.2.18 to 3.2.19 (#1580)

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

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

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

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

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

* [Feature] Limit collectives teleports to DOT

* Update pallets/xcm/src/lib.rs

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

* fix review comments

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

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

* [ci] Apply cargo-fmt

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

* Companion for Weight v1.5 (#1581)

* cargo test -p cumulus-primitives-utility

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

* cargo test -p cumulus-pallet-xcm

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

* cargo test -p pallet-template

* cargo test -p cumulus-test-runtime

* fix weights

* fix more weights

* cargo test -p parachains-common

* cargo test -p parachain-template-runtime

* fix weights import

* cargo test -p collectives-polkadot-runtime

* cargo test -p contracts-rococo-runtime

* more

* unused

* fixes

* Update benchmarking.rs

* Update lib.rs

* Update lib.rs

* fix

* fix bug in conversion

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

Co-authored-by: parity-processbot <>

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

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

* add xcm-bench-template

* add polkadot xcm bench pallet to statemint

* Sample benchmarking that compiles

* add benches to the module

* Remove batches assertion and whitelist ActiveConfig

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

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

* fix benchmarks

* fix get_multi_asset

* fmt and more bench fixes

* reformat

* move Xcm type definitions

* define types twice

* remove commented out lines

* define Xcm bench types globally

* test use

* fix semi

* make sure the type definittion is properly documented

* tweak TrustedTeleporter/Reserve

* use dots as asset

* copy benchmarks over, fix the ci script

* remove extra asset

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

* benchmarks setup for statemint/e and westmint

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

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

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

* remove a check

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

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

* implement WeightInfoBounds for all the asset runtimes

* update Cargo.lock

* fix Muharem's comments

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

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

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

* fix some review comments

* fix file headers

* more fixes to licenses and such

* fix another inconsistency

* Extend weights template

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

* remove a placeholder

* remove redundant overrides

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

* Update benchmarking.rs

* remove redundant bench

* fix

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

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

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

* remove TODO's

* remove local xcm-benchmark-pallet impl

* disable CheckedAccount in benches

* update template

* fix up imports

* fix xcm

* fix the template

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

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

* proposal provider impl for proposals func

* rustfmt

* impl proposals_count fn

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

* cargo update pallet-alliance

* cargo update deps

* fix for paritytech/substrate@324a18e

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

* fix try runtime feature flags

* update log target

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

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

* fixes

* oopsie

* [ci] Apply cargo-fmt

* fixes

* [ci] Apply cargo-fmt

* fixes

* fix cumulus template

* fix merge

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

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

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

* Align versions for runtimes (#1517)

* update cargo lock

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

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

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

* Companion for paritytech/substrate#12147

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

* Fix tests

Co-authored-by: parity-processbot <>

* Bump thiserror from 1.0.32 to 1.0.33 (#1586)

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

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

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

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

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

* Remove RefTimeWeight

* [ci] Apply cargo-fmt

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

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

* Bump clap from 3.2.19 to 3.2.20 (#1591)

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

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

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

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

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

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

* Companion for substrate#12179 (#1593)

* remove funcs not included in ProposalProvider trait anymore

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

Co-authored-by: parity-processbot <>

* Bump tokio from 1.19.2 to 1.21.0 (#1592)

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

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

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

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

* fix release report generation script (#1597)

* fix release report generation script (#1599)

* Add features (#1602)

* Bump thiserror from 1.0.33 to 1.0.34 (#1596)

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

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

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

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

* Bump url from 2.2.2 to 2.3.0 (#1604)

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

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

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

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

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

* Companion for paritytech/substrate#12183

* Fixes

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

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

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

Co-authored-by: parity-processbot <>

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

* minimal babe randomness in sproof builder

* fix indexing

* fix index and clean comment

* use current para block for epoch and randomness

* epoch is para block randomness is relay block

* fix

* make more configurable but keep defaults

* fix export

* fix

* flatten

* better field names

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

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

* FMT

* FIX

* fmt

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

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

* Common version pattern for Collectives runtime (#1606)

* Bump url from 2.3.0 to 2.3.1 (#1608)

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

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

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

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

* runtimes version to 9290 (#1612)

* runtimes version to 9290

* No need to bump shell

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

* Companion for #11981 (#1563)

* Companion for #11981

* rename

* Event to RuntimeEvent in imports

* missed rename

* undo

* revert

* rename type Call & Event

* commit

* ...

* fix

* fix errors

* fixes

* fmt

* fix imports

* final fix?

* fmt

* fix?

* fixes after merge

* small fix

* cargo update -p polkadot-runtime-common

* cargo +nightly fmt

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

* fix

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

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

* Remove CanAuthorWith trait

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

* Companion for paritytech/substrate#12219

* Fixes

* polkadot-runtime-common updated

cargo update -p polkadot-runtime-common

* warning fixed

* Update cid

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

* Update substrate

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

* Update polkadot

* Fix tests

* 🤦

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

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

* Respect feature gated functions

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

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

* Fix features

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

* Feature gate test

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

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

* Bump tokio from 1.21.0 to 1.21.1 (#1623)

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

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

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

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

* Bump criterion from 0.3.6 to 0.4.0 (#1618)

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

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

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

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

* Bump thiserror from 1.0.34 to 1.0.35 (#1622)

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

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

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

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

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

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

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

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

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

* Don't panic. (#1629)

* Westmint don't panic. (#1631)

* Bump clap from 3.2.20 to 3.2.21 (#1621)

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

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

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

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

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

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

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

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

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

* Bump clap from 3.2.21 to 3.2.22 (#1632)

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

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

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

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

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

* Bump lz4-sys from 1.9.2 to 1.9.4

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

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

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

* bump lz4 to match lz4-sys

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

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

* Remove `RelaxedMaxCodeLen`

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

Co-authored-by: parity-processbot <>

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

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

* debug

* enable valid job

* enable valid job

* enable everything back

* test build-runtime-assets-statemine

* add need

* build nightly

* test build runtime statemint

* cargo check instead build

* rm test file

* restart pipeline

* add paths to build-runtime-template

* add test file to trigger builds

* move test

* remove test file

* trigger pipeline to calculate times

* modify build-runtime jobs

* add echo

* fix semicolon

* debug

* fix variable

* uncomment all

* add DAG for build-runtime jobs

* restart pipeline

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

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

* introduce a separate asset limit for teleports

* fix deposit

* reshuffle abstractions

* fix imports

* little refactoring

* Update parachains/common/src/xcm_config.rs

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

* add comments

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

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

This reverts commit 14115c8.

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

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

* fail test-linux-stable

* fix test-linux-stable

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

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

* fix build

* solve dead code

* fix lint

* more eloquent weights

* quick fix

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

* Bump runtimes transaction version for v9290 (#1647)

* Rename Origin (#1628)

* Rename Origin

* more renaming

* fixes

* fix errors

* last fix?

* rename

* Update mock.rs

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

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

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

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

* lint

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

* Ensure that inherents are first and unsigned

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

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

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

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

* Adapt to new contracts migration API

* Add missing type argument

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

Co-authored-by: parity-processbot <>

* Fixes

* Fixes

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

* anon -> pure

* fn pure -> fn create_pure

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

Co-authored-by: parity-processbot <>

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

Not a good idea as it turns out.

* Fixes

* Bump syn from 1.0.99 to 1.0.100 (#1652)

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

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

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

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

* Small cosmetic nits (#1679)

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

* Companion for Substrate #12224

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

Co-authored-by: parity-processbot <>

* Companion for substrate#11983. (#1613)

* Companion for substrate#11983.

* cargo update -p sp-io

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

* cargo update -p polkadot-runtime-common

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

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

This reverts commit bdadad9.

* Revert "cargo update -p sp-io"

This reverts commit f6b4ecc.

* cargo update -p sp-io

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

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

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

* Companion for paritytech/substrate#12264

* Fix more tests

* disable sc-network-transactions to check companion

* Fix node config in tests

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

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

* Fixes

* Fixes

* Remove unused import

* Remove unused import

* Bump serde from 1.0.144 to 1.0.145 (#1677)

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

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

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

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

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

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

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

* xcm benchmarks use a custom template

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

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

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

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

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

* backport: update integration tests (#1695)

* Update integration test v0.9.29 (#1681)

* update it

* remove comment

* update it (#1689)

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

* Bump crate versions (#1690)

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

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

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

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

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

* Removed unused deps with `cargo machete`

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

* Bump crate versions

* Bump spec_version to 9300

* Polkadot Collectives chain spec (#1603)

* initial chain spec template

* boot nodes, para ids, name

* para id 1001

* update boot nodes

* add collators accounts and session keys

* add p2p into wss boot nodes pathes

* replace aura raw private keys by ss58

* remove collectives spec

* rename collectives genesis spec into collectives

* Revert "rename collectives genesis spec into collectives"

This reverts commit 60df522.

* insert wasm into spec

* Bump syn from 1.0.100 to 1.0.101 (#1696)

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

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

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

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

* Westend Collectives chain spec (#1712)

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

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

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

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

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

* Update README.md (#1683)

* Update README.md

* Update README.md

* Companion: Remove contracts RPC (#1685)

* Remove contracts RPC

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

* Remove unused imports

* Properly set a max proof size for cumulus test runtime

* Properly set a max proof size for common runtimes

* Properly set the max proof size for all runtimes

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

* XCMv3 fixes (#1710)

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

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

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

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

* Fix imports

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

* Bump smallvec from 1.9.0 to 1.10.0 (#1723)

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

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

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

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

* Bump thiserror from 1.0.35 to 1.0.37 (#1704)

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

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

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

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

* Fix target of some Matrix notifications

* fmt (#1731)

* [ci] add fmt check (#1733)

* [ci] add fmt check

* fix name

* remove gha from branches

* Companion for contracts WeightV2 (#1726)

* Remove `ContractAccessWeight`

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

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

Co-authored-by: parity-processbot <>

* Add protoc

* Update .github/workflows/docs.yml

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

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

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

* Adapt to new contracts runtime api

* Compile fix

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

Co-authored-by: parity-processbot <>

* Fix protoc install

* Bump syn from 1.0.101 to 1.0.102 (#1746)

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

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

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

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

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

* Add minimal overseer gen with dummy subsystems

* Fix dependencies

* no-compile: only client transaction pool missing

* Remove unused imports

* Continue to hack towards PoC

* Continue

* Make mini node compile

* Compiling version with blockchainevents trait

* Continue

* Check in lockfile

* Block with tokio

* update patches

* Update polkadot patches

* Use polkadot-primitives v2

* Fix build problems

* First working version

* Adjust cargo.lock

* Add integration test

* Make integration test work

* Allow startinc collator without relay-chain args

* Make OverseerRuntimeClient async

* Create separate integration test

* Remove unused ChainSelection code

* Remove unused parameters on new-mini

* Connect collator node in test to relay chain nodes

* Make BlockChainRPCClient obsolete

* Clean up

* Clean up

* Reimplement blockchain-rpc-events

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

This reverts commit f22c70e.

* Add `strict_record_validation` to AuthorityDiscovery

* Move network to cumulus

* Remove BlockchainRPCEvents

* Remove `BlockIdTo` and `BlockchainEvents`

* Make AuthorityDiscovery async

* Use hash in OverseerRuntime

* Adjust naming of runtime client trait

* Implement more rpc-client methods

* Improve error handling for `ApiError`

* Extract authority-discovery creationand cleanup

* RPC -> Rpc

* Extract bitswap

* Adjust to changes on master

* Implement `hash` method

* Introduce DummyChainSync, remove ProofProvider and BlockBackend

* Remove `HeaderMetadata` from blockchain-rpc-client

* Make ChainSync work

* Implement NetworkHeaderBackend

* Cleanup

* Adjustments after master merge

* Remove ImportQueue from network parameters

* Remove cargo patches

* Eliminate warnings

* Revert to HeaderBackend

* Add zombienet test

* Implement `status()` method

* Add more comments, improve readability

* Remove patches from Cargo.toml

* Remove integration test in favor of zombienet

* Remove unused dependencies, rename minimal node crate

* Adjust to latest master changes

* fmt

* Execute zombienet test on gitlab ci

* Reuse network metrics

* Chainsync metrics

* fmt

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

* fmt

* Add bootnodes to zombienet collators

* Allow specification of relay chain args

* Apply review suggestions

* Remove unnecessary casts

* Enable PoV recovery for rpc full nodes

* Revert unwanted changes

* Make overseerHandle non-optional

* Add availability-store subsystem

* Add AuxStore and ChainApiSubsystem

* Add availability distribution subsystem

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

* fmt

* Make availability config const

* lock

* Enable debug logs for pov-recovery in zombienet

* Add log filters to test binary

* Allow wss

* Address review comments

* Apply reviewer comments

* Adjust to master changes

* Apply reviewer suggestions

* Bump polkadot

* Add builder method for minimal node

* Bump substrate and polkadot

* Clean up overseer building

* Add bootnode to two in pov_recovery test

* Fix missing quote in pov recovery zombienet test

* Improve zombienet pov test

* More debug logs for pov-recovery

* Remove reserved nodes like on original test

* Revert zombienet test to master

* Bump tracing from 0.1.36 to 0.1.37 (#1740)

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

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

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

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

* Bump tokio from 1.21.1 to 1.21.2 (#1698)

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

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

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

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

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

* Companion for paritytech/polkadot#6117

* Fix code

* Fix trait

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

Co-authored-by: parity-processbot <>

* Bump lru from 0.8.0 to 0.8.1 (#1751)

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

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

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

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

* Migrate Weights properly to v2 (#1722)

* Migrate Weights properly to v2

* Add missing on_runtime_upgrade implementation

* Fix benchmarks

* Apply suggestions from code review

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

* cargo fmt

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

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

* Companion for paritytech/substrate#12480

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

Co-authored-by: parity-processbot <>

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

* BlockId removal refactor: Backend::state_at

* corrected

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

Co-authored-by: parity-processbot <>

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

* Companion for paritytech/substrate#12489

* fmt

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

Co-authored-by: parity-processbot <>

* GHA updates and pin (#1768)

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

* Pin GHA ruby/setup-ruby to 1.118.0

* Update and pin GHA deps

* Pin all external GHA deps

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

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

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

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

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

* Runtime release checklist template update (#1762)

* Runtime release checklist template update

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove check

* xcm 50%

* xcm config check update

* post release

* update post release check

* update post release check

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

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

* Reduce session for contracts to 10 minutes

* Build pallet-contracts with unstable interface

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

* Update clap to version 4 (#1745)

* Bump to clap4

* Adjust to clap 4 style

* Remove two more deprecated occurences of clap macro

* Remove "deprecated" feature from clap

* Update cargo lock

* Fix group name

* More skipped group names

* BlockId removal: refactor: StorageProvider (#1770)

* BlockId removal: refactor: StorageProvider

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

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

Co-authored-by: parity-processbot <>

* Reduce parachain template cognitive complexity (#1777)

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

* Bump clap from 4.0.11 to 4.0.17 (#1778)

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

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

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

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

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

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

* connect eve to dave

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

* REVERTME: cargo update -p sp-io

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

* pass reserved flags for eve after --

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

This reverts commit 0d66b70.

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

This reverts commit f8d16c3.

* REVERTME: cargo update -p sp-io

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

This reverts commit d48e1e6.

* REVERTME: cargo update -p sp-io

* REVERTME: cargo update -p sp-io

* try some logs and flags

* apply some suggestions from Sebastian

* let Charlie produce blocks

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

This reverts commit 02838a6.

* git checkout master Cargo.lock

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

This reverts commit 8ae8d53.

* zombienet/pov-recovery: 4 validators

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

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

This reverts commit 3cc9182.

* make sure it is not due to backing group connections

* clean up flags

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

* try no-mdns on validators and bob

* fix bob flag

* try 7 validators (3 chunks needed for recovery)

* reserved-only on validators

* reserved-only on alice and charlie

* explicitly pass log targets

* rm default_args

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

* try another idea

* try 13 validators (4 chunks required)

* bump block height to 20

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

* bump zombienet version

* remove debug

* bump zombienet

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

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

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

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

* comment unused includes

* fix typo

* fix needs

* add all stages

* exclude zombienet from check

* Update dependencies

* Bump crate versions

* Bump spec_version to 9310

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

* Avoid consuming message for NotApplicable scenario

* Avoid consuming message for NotApplicable scenario tests

* [XCMv3] v0.9.31

* [XCMv3] Adding NonFungiblesTransactor for Statemine/Penpal.

* [XCMv3] Using paritytech/polkadot

* [XCMv3] v0.9.31 + NonFungiblesAdapter

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Alexander Samusev <[email protected]>
Co-authored-by: Javier Viola <[email protected]>
Co-authored-by: Sergejs Kostjucenko <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Squirrel <[email protected]>
Co-authored-by: Keith Yeung <[email protected]>
Co-authored-by: paritytech-ci <[email protected]>
Co-authored-by: Muharem Ismailov <[email protected]>
Co-authored-by: Roman Useinov <[email protected]>
Co-authored-by: Chevdor <[email protected]>
Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: Branislav Kontur <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Ignacio Palacios <[email protected]>
Co-authored-by: Frederik Gartenmeister <[email protected]>
Co-authored-by: Amar Singh <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Sergej Sakac <[email protected]>
Co-authored-by: Michal Kucharczyk <[email protected]>
Co-authored-by: Sebastian Kunert <[email protected]>
Co-authored-by: Alexander Theißen <[email protected]>
Co-authored-by: joe petrowski <[email protected]>
Co-authored-by: Sergei Shulepov <[email protected]>
Co-authored-by: Davide Galassi <[email protected]>
Co-authored-by: ZhiYong <[email protected]>
Co-authored-by: Aaro Altonen <[email protected]>
Co-authored-by: alvicsam <[email protected]>
Co-authored-by: Egor_P <[email protected]>
Co-authored-by: Paritytech CI <[email protected]>
Co-authored-by: Wilfried Kopp <[email protected]>
Co-authored-by: Dan Shields <[email protected]>
Co-authored-by: Kai <[email protected]>
Co-authored-by: Andronik <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants