prospective-parachains rework: take II#4937
Conversation
…e-parachains-allow-forks
|
This is ready for an initial review. CI zombienet tests pass and all of my local zombienet tests work well. In the meantime, it would be good to get some in-depth reviews. I'd appreciate very much reviews that focus on the protocol changes and the design rather than nitpicks about function names and structure (these can come at a later stage). |
|
Great work, Alin! I did one pass focusing mainly on the logic and the PR looks good. I'll do another full pass when you are ready. |
sandreim
left a comment
There was a problem hiding this comment.
Took a first pass on the changes. Looks good in general, I could not find any logic errors wrt the introduced changes in behaviour. However I do appreciate the changes that go deeper into the original prospective parachain subsystem architecture. Now things are much better to understand.
I
| pred(&elem.candidate_hash) | ||
| { | ||
| res.push(elem.candidate_hash); | ||
| for elem in &self.best_chain.chain[base_pos..actual_end_index] { |
There was a problem hiding this comment.
I would move this logic into find_acestor_paths and just return the remaining chain from there.
| candidate_hash: CandidateHash, | ||
| candidate: CommittedCandidateReceipt, | ||
| persisted_validation_data: PersistedValidationData, | ||
| ) -> Result<Self, CandidateEntryError> { |
There was a problem hiding this comment.
Doc comment should mention that if fails if 0 lenght cycle (ZeroLengthCycle)
There was a problem hiding this comment.
There are multiple cases where this function could fail. I think it's a good practice to just have the user just look at the possible Error variants, rather than mentioning them in doc comments (which can easily become outdated)
| self.unconnected.add_candidate_entry(candidate.clone())?; | ||
| } | ||
|
|
||
| res |
There was a problem hiding this comment.
Doesn't seem true, it will be dropped in handle_introduce_seconded_candidate.
There was a problem hiding this comment.
what are you referring to?
…e-parachains-allow-forks
Backport paritytech#4937 on the stable release
Backport paritytech#4937 on the stable release
Backport paritytech#4937 on the stable release
* [stable2503] Backport paritytech#6827 (paritytech#8770) Backport paritytech#6827 into `stable2503` from Overkillus. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Maciej <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Stephane Gurgenidze <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8861 (paritytech#8867) Backport paritytech#8861 into `stable2503` from ordian. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: ordian <[email protected]> * [stable2503] Backport paritytech#8755 (paritytech#8814) Backport paritytech#8755 into `stable2503` from iulianbarbu. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Iulian Barbu <[email protected]> Co-authored-by: Iulian Barbu <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8832 (paritytech#8846) Backport paritytech#8832 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Andrei Sandu <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8837 (paritytech#8884) Backport paritytech#8837 into `stable2503` from tdimitrov. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Tsvetomir Dimitrov <[email protected]> Co-authored-by: Javier Viola <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8345: tx/metrics: Add metrics for the RPC v2 transactionWatch_v1_submitAndWatch (paritytech#8759) Backport paritytech#8345 into `stable2503` from lexnv. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8834 (paritytech#8889) Backport paritytech#8834 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Javier Viola <[email protected]> Co-authored-by: Javier Viola <[email protected]> * [stable2503] Backport paritytech#8948 (paritytech#8959) Backport paritytech#8948 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#8787 (paritytech#8913) Backport paritytech#8787 into `stable2503` from karolk91. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: Egor_P <[email protected]> Co-authored-by: Karol Kokoszka <[email protected]> * [stable2503] Post crates release adjustments (paritytech#8967) Reordering of the prdocs and clean up after crates release to meet the pipeline requirements * [stable2503] Backport paritytech#8973 (paritytech#8978) Backport paritytech#8973 into `stable2503` from AndreiEres. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Andrei Eres <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#8980 (paritytech#8995) Backport paritytech#8980 into `stable2503` from ggwpez. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Alexander Theißen <[email protected]> * [stable2503] Post crates release adjustments (paritytech#9009) Reordering of the prdocs and clean up after crates release to meet the pipeline requirements --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: paritytech-release-backport-bot[bot] <191369287+paritytech-release-backport-bot[bot]@users.noreply.github.com> Co-authored-by: Alexander Theißen <[email protected]> * [stable2503] Backport paritytech#8932 (paritytech#9010) Backport paritytech#8932 into `stable2503` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8694 (paritytech#9030) Backport paritytech#8694 into `stable2503` from tmpolaczyk. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: tmpolaczyk <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9050 (paritytech#9068) Backport paritytech#9050 into `stable2503` from ordian. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: ordian <[email protected]> * [stable2503] Backport paritytech#9092 (paritytech#9096) Backport paritytech#9092 into `stable2503` from EgorPopelyaev. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9102 (paritytech#9109) Backport paritytech#9102 into `stable2503` from iulianbarbu. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Iulian Barbu <[email protected]> Co-authored-by: Iulian Barbu <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#9130 (paritytech#9130) Partial manual backport of [https://github.com/paritytech/polkadot-sdk/pull/8369](https://github.com/paritytech/polkadot-sdk/pull/8369) - includes only the patched file with `ToParachainDeliveryHelper`, which helps finalize [https://github.com/polkadot-fellows/runtimes/pull/709](https://github.com/polkadot-fellows/runtimes/pull/709) for AHM. _(it is just benchmarking change, nothing else)_ * [stable2503] Post crates.io release updates (paritytech#9138) This PR merges back to the stable2503 crates version bumps, node version bumps and prdocs reordering * [stable2503] Backport paritytech#9139 (paritytech#9144) Backport paritytech#9139 into `stable2503` from bkontur. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#8193 (paritytech#9377) Backport paritytech#8193 into `stable2503` from alvicsam. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexander Samusev <[email protected]> * [stable2503] Backport paritytech#9094 (paritytech#9155) Backport paritytech#9094 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#9137 (paritytech#9199) Backport paritytech#9137 into `stable2503` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: EgorPopelyaev <[email protected]> * [stable2503] Backport paritytech#9179 (paritytech#9303) Backport paritytech#9179 into `stable2503` from karolk91. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Branislav Kontur <[email protected]> * [stable2503] Backport paritytech#9264 (paritytech#9275) Backport paritytech#9264 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#9281 (paritytech#9328) Backport paritytech#9281 into `stable2503` from lexnv. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9325 (paritytech#9334) Backport paritytech#9325 into `stable2503` from TDemeco. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Tobi Demeco <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9354 (paritytech#9374) Backport paritytech#9354 into `stable2503` from karolk91. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9355 (paritytech#9369) Backport paritytech#9355 into `stable2503` from gui1117. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9195 (paritytech#9404) Backport paritytech#9195 into `stable2503` from karolk91. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Adrian Catangiu <[email protected]> * [stable2503] Post crates release updates (paritytech#9408) This PR includes: - crates version bumps - node version bump - prdocs reorderings - and formatting for the pipeline * Bump crate versions in: cumulus/polkadot-parachain/Cargo.toml * Bump spec_version to 1_015_000 * Apply plan * Edit plan * Adjust and apply plan * Edit and apply plan * [stable2407 backport] runtime: make the candidate relay parent progression check more stric… (paritytech#5157) Backports paritytech#5113 on top of stable2407 * Backport paritytech#4791 (paritytech#5247) Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Jun Jiang <[email protected]> * [stable2407] Backport paritytech#5321 (paritytech#5332) Backports paritytech#5321 on the stable release * [stable2407] backport paritytech#4937 (paritytech#5337) Backport paritytech#4937 on the stable release * [stable2407] Backport PoV-reclaim fixes (paritytech#5273, paritytech#5281) (paritytech#5351) Backports paritytech#5273 & paritytech#5281 --------- Co-authored-by: Guillaume Thiolliere <[email protected]> * Move prdocs * [Backport] Bump serde_json from 1.0.120 to 1.0.121 in the known_good_semver group (paritytech#5169) (paritytech#5367) Bumps the known_good_semver group with 1 update: [serde_json](https://github.com/serde-rs/json). Updates `serde_json` from 1.0.120 to 1.0.121 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.121</h2> <ul> <li>Optimize position search in error path (<a href="https://redirect.github.com/serde-rs/json/issues/1160">#1160</a>, thanks <a href="https://github.com/purplesyringa"><code>@purplesyringa</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/json/commit/eca2658a22cb39952783cb6914eb18242659f66a"><code>eca2658</code></a> Release 1.0.121</li> <li><a href="https://github.com/serde-rs/json/commit/b0d678cfb473386830d559b6ab255d9e21ba39c5"><code>b0d678c</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1160">#1160</a> from iex-rs/efficient-position</li> <li><a href="https://github.com/serde-rs/json/commit/b1edc7d13f72880fd0ac569403a409e5f7961d5f"><code>b1edc7d</code></a> Optimize position search in error path</li> <li><a href="https://github.com/serde-rs/json/commit/40dd7f5e862436f02471fe076f3486c55e472bc2"><code>40dd7f5</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1159">#1159</a> from iex-rs/fix-recursion</li> <li><a href="https://github.com/serde-rs/json/commit/6a306e6ee9f47f3b37088217ffe3ebe9bbb54e5a"><code>6a306e6</code></a> Move call to tri! out of check_recursion!</li> <li><a href="https://github.com/serde-rs/json/commit/3f1c6de4af28b1f6c5100da323f2bffaf7c2083f"><code>3f1c6de</code></a> Ignore byte_char_slices clippy lint in test</li> <li><a href="https://github.com/serde-rs/json/commit/3fd6f5f49dc1c732d9b1d7dfece4f02c0d440d39"><code>3fd6f5f</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1153">#1153</a> from dpathakj/master</li> <li><a href="https://github.com/serde-rs/json/commit/fcb5e83e44abe0f9c27c755a240a6ad56312c090"><code>fcb5e83</code></a> Correct documentation URL for Value's Index impl.</li> <li>See full diff in <a href="https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> * Move prdoc to release folder * Backport timestamp logging fix (paritytech#5459) paritytech@03c45b9 --------- Co-authored-by: Gonçalo Pestana <[email protected]> * [Backport] Add feature to allow Aura collator to use full PoV size (paritytech#5393) (paritytech#5507) This PR introduces a feature that allows to optionally enable using the full PoV size. Technically, we're ready to enable it by default, but as corresponding runtime changes have not been propagated to the system parachain runtimes yet, doing so could put them at risk. On the other hand, there are teams that could benefit from it right now, and it makes no sense for them to wait for the fellowship release and everything. --------- Co-authored-by: Andrei Sandu <[email protected]> * [Backport] Always include UnpaidExecution, not just when revenue is nonzero (paritytech#5510) Backport paritytech#5369 to stable2407, which was already backported to v1.14 in paritytech#5370 * Update plan * [stable2407] Backport paritytech#5581 (paritytech#5603) Backport paritytech#5581 into `stable2407` (cc @franciscoaguirre). The dry-run shows in `forwarded_xcms` all the messages in the queues at the time of calling the API. Each time the API is called, the result could be different. You could get messages even if you dry-run something that doesn't send a message, like a `System::remark`. This commit fixes this by clearing the message queues before doing the dry-run, so the only messages left are the ones the users of the API actually care about. Co-authored-by: Francisco Aguirre <[email protected]> * [stable2407] Backport paritytech#5466 (paritytech#5524) Backport paritytech#5466 into `stable2407` (cc @ggwpez). <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * Backport 1.12.0: check-weight: Disable total pov size check for mandatory extrinsics (paritytech#4592) Backport of paritytech#4571 --------- Co-authored-by: command-bot <> * Implement `CheckMetadataHash` extension (paritytech#4274) (paritytech#4619) This implements the `CheckMetadataHash` extension as described in [RFC78](https://polkadot-fellows.github.io/RFCs/approved/0078-merkleized-metadata.html). Besides the signed extension, the `substrate-wasm-builder` is extended to support generating the metadata-hash. Closes: paritytech#291 --------- Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Liam Aharon <[email protected]> Co-authored-by: Kian Paimani <[email protected]> * init bifrost-polkadot-base * fix: add legacy transferrable balance to currency trait (#1) * feat: add a getter function to retrieve raw keystore value (#2) * [stable2407] Backport paritytech#5713 (paritytech#5739) Backport paritytech#5713 into `stable2407` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * [stable2407] Backport paritytech#3049 (paritytech#5734) Backport paritytech#3049 into `stable2407` from bgallois. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Benjamin Gallois <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * Move prdocs to release folder * Bump polkadot node version * Update plan * [stable2407] Backport Fix parity-publish (paritytech#5670) (paritytech#6019) Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * [stable2407] Backport docker fix to 2407 (paritytech#6017) This PR backports fixes for the docker publishing flow from master: - paritytech#5896 - paritytech#5387 * [stable2407] Backport paritytech#5913 (paritytech#6004) Backport paritytech#5913 into `stable2407` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#4803 (paritytech#6097) Backport paritytech#4803 into `stable2407` from gotnoshoeson. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Miles Patterson <[email protected]> * [stable2407] Backport paritytech#5599 (paritytech#6068) Backport paritytech#5599 into `stable2407` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Shawn Tabrizi <[email protected]> * [stable2407] Backport paritytech#6205 (paritytech#6238) Backport paritytech#6205 into `stable2407` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: command-bot <> * [stable2407] Backport paritytech#6148 (paritytech#6232) Backport paritytech#6148 into `stable2407` from bkontur. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Branislav Kontur <[email protected]> * Bump node version * Move prdocs * Update plan * Apply plan * [stable2407] Backport paritytech#6417 (paritytech#6437) Backport paritytech#6417 into `stable2407` from alindima. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alin Dima <[email protected]> * [Release|CI/CD] Fix audiences changelog template (paritytech#6444) This PR addresses an issue mentioned [here](paritytech#6424 (comment)). The problem was that when the prdoc file has two audiences, but only one description like in [prdoc_5660](https://github.com/paritytech/polkadot-sdk/blob/master/prdoc/1.16.0/pr_5660.prdoc) it was ignored by the template. * [stable2407] Backport paritytech#6526 (paritytech#6530) Backport paritytech#6526 into `stable2407` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <[email protected]> * [stable2407] Backport paritytech#6645 (paritytech#6655) Backport paritytech#6645 into `stable2407` from bkontur. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Branislav Kontur <[email protected]> * [stable2407] Backport paritytech#6579 (paritytech#6634) Backport paritytech#6579 into `stable2407` from bkontur. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6603 (paritytech#6668) Backport paritytech#6603 into `stable2407` from lexnv. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexandru Vasile <[email protected]> * Backport paritytech#5887 to `stable2407` (paritytech#6674) This PR accompanies paritytech#6672 to make backported changes consistent across releases. --------- Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6031 (paritytech#6106) Backport paritytech#6031 into `stable2407` from drewstone. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: drewstone <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6080 (paritytech#6180) Backport paritytech#6080 into `stable2407` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6540 (paritytech#6591) Backport paritytech#6540 into `stable2407` from Ank4n. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Ankan <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6506 (paritytech#6657) Backport paritytech#6506 into `stable2407` from Dinonard. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Dino Pačandi <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6459 (paritytech#6663) Backport paritytech#6459 into `stable2407` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Egor_P <[email protected]> * Bump polkadot node version * Move prdoxs to release folder * Apply plan * Update Cargo.lock * [stable2407] Backport paritytech#6690 (paritytech#6798) Backport paritytech#6690 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6729 (paritytech#6828) Backport paritytech#6729 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6662 (paritytech#6801) Backport paritytech#6662 into `stable2407` from eskimor. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: eskimor <[email protected]> Co-authored-by: Andrei Sandu <[email protected]> * [stable2407] Backport paritytech#5311 (paritytech#6804) Backport paritytech#5311 into `stable2407` from Doordashcon. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Doordashcon <[email protected]> * [stable2407] Backport paritytech#6696 (paritytech#6839) Backport paritytech#6696 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6864 (paritytech#6877) Backport paritytech#6864 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#7050 (paritytech#7058) Backport paritytech#7050 into `stable2407` from skunert. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Sebastian Kunert <[email protected]> * [stable2407] Backport paritytech#7013 (paritytech#7015) Backport paritytech#7013 into `stable2407` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: EgorPopelyaev <[email protected]> * Switch to parity-large runners to be able to run on the github (paritytech#7113) * Move prdocs to release folder * Bump node_version * [stable2407] Backport paritytech#7116 (paritytech#7135) Backport paritytech#7116 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexandru Gheorghe <[email protected]> * Move prdoc to release folder * [stable2407] Backport paritytech#6807 (paritytech#7155) Backport paritytech#6807 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6973 (paritytech#7159) Backport paritytech#6973 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6971 (paritytech#7172) Backport paritytech#6971 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * Move prdocs to release folder * Apply plan * [stable2407] Backport paritytech#7365 (paritytech#7380) Backport paritytech#7365 into `stable2407` from vgantchev. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Valery Gantchev <[email protected]> * [stable2407] Backport paritytech#7437 (paritytech#7465) Backport paritytech#7437 into `stable2407` from serban300. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Serban Iorga <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * [stable2407] Backport paritytech#7446 (paritytech#7460) Backport paritytech#7446 into `stable2407` from serban300. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Serban Iorga <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * Update plan * Apply changes * Move prdocs to release folder * Bump node version * Backport 1.12.0: check-weight: Disable total pov size check for mandatory extrinsics (paritytech#4592) Backport of paritytech#4571 --------- Co-authored-by: command-bot <> * Implement `CheckMetadataHash` extension (paritytech#4274) (paritytech#4619) This implements the `CheckMetadataHash` extension as described in [RFC78](https://polkadot-fellows.github.io/RFCs/approved/0078-merkleized-metadata.html). Besides the signed extension, the `substrate-wasm-builder` is extended to support generating the metadata-hash. Closes: paritytech#291 --------- Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Liam Aharon <[email protected]> Co-authored-by: Kian Paimani <[email protected]> * init bifrost-polkadot-base * fix: add legacy transferrable balance to currency trait (#1) * wasm-builder(cherry-pick): Also set mcpu for c deps (paritytech#3777) * update Cargo.lock * feat: add a getter function to retrieve keystore raw value --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: paritytech-cmd-bot-polkadot-sdk[bot] <179002856+paritytech-cmd-bot-polkadot-sdk[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Benjamin Gallois <[email protected]> Co-authored-by: EgorPopelyaev <[email protected]> Co-authored-by: Morgan Adamiec <[email protected]> Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Miles Patterson <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Alin Dima <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: s0me0ne-unkn0wn <[email protected]> Co-authored-by: drewstone <[email protected]> Co-authored-by: Ankan <[email protected]> Co-authored-by: Dino Pačandi <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: eskimor <[email protected]> Co-authored-by: Andrei Sandu <[email protected]> Co-authored-by: Doordashcon <[email protected]> Co-authored-by: Sebastian Kunert <[email protected]> Co-authored-by: Valery Gantchev <[email protected]> Co-authored-by: Serban Iorga <[email protected]> Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Liam Aharon <[email protected]> Co-authored-by: Kian Paimani <[email protected]> * resolve conflicts * chore: pull stable2503 * chore: remove deprecated getter --------- Signed-off-by: Iulian Barbu <[email protected]> Signed-off-by: Alexandru Gheorghe <[email protected]> Signed-off-by: Alexandru Vasile <[email protected]> Signed-off-by: Oliver Tale-Yazdi <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: paritytech-release-backport-bot[bot] <191369287+paritytech-release-backport-bot[bot]@users.noreply.github.com> Co-authored-by: Maciej <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Stephane Gurgenidze <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Egor_P <[email protected]> Co-authored-by: Iulian Barbu <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Andrei Sandu <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Tsvetomir Dimitrov <[email protected]> Co-authored-by: Javier Viola <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: Javier Viola <[email protected]> Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: Andrei Eres <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Alexander Theißen <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: tmpolaczyk <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Alexander Samusev <[email protected]> Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Tobi Demeco <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Adrian Catangiu <[email protected]> Co-authored-by: Morgan Adamiec <[email protected]> Co-authored-by: Alin Dima <[email protected]> Co-authored-by: Jun Jiang <[email protected]> Co-authored-by: Sebastian Kunert <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Gonçalo Pestana <[email protected]> Co-authored-by: s0me0ne-unkn0wn <[email protected]> Co-authored-by: Dónal Murray <[email protected]> Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Liam Aharon <[email protected]> Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: dnjscksdn98 <[email protected]> Co-authored-by: paritytech-cmd-bot-polkadot-sdk[bot] <179002856+paritytech-cmd-bot-polkadot-sdk[bot]@users.noreply.github.com> Co-authored-by: Benjamin Gallois <[email protected]> Co-authored-by: Miles Patterson <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: drewstone <[email protected]> Co-authored-by: Ankan <[email protected]> Co-authored-by: Dino Pačandi <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: eskimor <[email protected]> Co-authored-by: Doordashcon <[email protected]> Co-authored-by: Valery Gantchev <[email protected]> Co-authored-by: Serban Iorga <[email protected]>
Backport paritytech#4937 on the stable release
* [stable2503] Backport paritytech#6827 (paritytech#8770) Backport paritytech#6827 into `stable2503` from Overkillus. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Maciej <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Stephane Gurgenidze <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8861 (paritytech#8867) Backport paritytech#8861 into `stable2503` from ordian. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: ordian <[email protected]> * [stable2503] Backport paritytech#8755 (paritytech#8814) Backport paritytech#8755 into `stable2503` from iulianbarbu. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Iulian Barbu <[email protected]> Co-authored-by: Iulian Barbu <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8832 (paritytech#8846) Backport paritytech#8832 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Andrei Sandu <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8837 (paritytech#8884) Backport paritytech#8837 into `stable2503` from tdimitrov. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Tsvetomir Dimitrov <[email protected]> Co-authored-by: Javier Viola <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8345: tx/metrics: Add metrics for the RPC v2 transactionWatch_v1_submitAndWatch (paritytech#8759) Backport paritytech#8345 into `stable2503` from lexnv. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8834 (paritytech#8889) Backport paritytech#8834 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Javier Viola <[email protected]> Co-authored-by: Javier Viola <[email protected]> * [stable2503] Backport paritytech#8948 (paritytech#8959) Backport paritytech#8948 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#8787 (paritytech#8913) Backport paritytech#8787 into `stable2503` from karolk91. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: Egor_P <[email protected]> Co-authored-by: Karol Kokoszka <[email protected]> * [stable2503] Post crates release adjustments (paritytech#8967) Reordering of the prdocs and clean up after crates release to meet the pipeline requirements * [stable2503] Backport paritytech#8973 (paritytech#8978) Backport paritytech#8973 into `stable2503` from AndreiEres. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Andrei Eres <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#8980 (paritytech#8995) Backport paritytech#8980 into `stable2503` from ggwpez. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Alexander Theißen <[email protected]> * [stable2503] Post crates release adjustments (paritytech#9009) Reordering of the prdocs and clean up after crates release to meet the pipeline requirements --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: paritytech-release-backport-bot[bot] <191369287+paritytech-release-backport-bot[bot]@users.noreply.github.com> Co-authored-by: Alexander Theißen <[email protected]> * [stable2503] Backport paritytech#8932 (paritytech#9010) Backport paritytech#8932 into `stable2503` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#8694 (paritytech#9030) Backport paritytech#8694 into `stable2503` from tmpolaczyk. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: tmpolaczyk <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9050 (paritytech#9068) Backport paritytech#9050 into `stable2503` from ordian. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: ordian <[email protected]> * [stable2503] Backport paritytech#9092 (paritytech#9096) Backport paritytech#9092 into `stable2503` from EgorPopelyaev. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9102 (paritytech#9109) Backport paritytech#9102 into `stable2503` from iulianbarbu. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Iulian Barbu <[email protected]> Co-authored-by: Iulian Barbu <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#9130 (paritytech#9130) Partial manual backport of [https://github.com/paritytech/polkadot-sdk/pull/8369](https://github.com/paritytech/polkadot-sdk/pull/8369) - includes only the patched file with `ToParachainDeliveryHelper`, which helps finalize [https://github.com/polkadot-fellows/runtimes/pull/709](https://github.com/polkadot-fellows/runtimes/pull/709) for AHM. _(it is just benchmarking change, nothing else)_ * [stable2503] Post crates.io release updates (paritytech#9138) This PR merges back to the stable2503 crates version bumps, node version bumps and prdocs reordering * [stable2503] Backport paritytech#9139 (paritytech#9144) Backport paritytech#9139 into `stable2503` from bkontur. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#8193 (paritytech#9377) Backport paritytech#8193 into `stable2503` from alvicsam. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexander Samusev <[email protected]> * [stable2503] Backport paritytech#9094 (paritytech#9155) Backport paritytech#9094 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#9137 (paritytech#9199) Backport paritytech#9137 into `stable2503` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: EgorPopelyaev <[email protected]> * [stable2503] Backport paritytech#9179 (paritytech#9303) Backport paritytech#9179 into `stable2503` from karolk91. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Branislav Kontur <[email protected]> * [stable2503] Backport paritytech#9264 (paritytech#9275) Backport paritytech#9264 into `stable2503` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [stable2503] Backport paritytech#9281 (paritytech#9328) Backport paritytech#9281 into `stable2503` from lexnv. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9325 (paritytech#9334) Backport paritytech#9325 into `stable2503` from TDemeco. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Tobi Demeco <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9354 (paritytech#9374) Backport paritytech#9354 into `stable2503` from karolk91. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9355 (paritytech#9369) Backport paritytech#9355 into `stable2503` from gui1117. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2503] Backport paritytech#9195 (paritytech#9404) Backport paritytech#9195 into `stable2503` from karolk91. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Adrian Catangiu <[email protected]> * [stable2503] Post crates release updates (paritytech#9408) This PR includes: - crates version bumps - node version bump - prdocs reorderings - and formatting for the pipeline * Bump crate versions in: cumulus/polkadot-parachain/Cargo.toml * Bump spec_version to 1_015_000 * Apply plan * Edit plan * Adjust and apply plan * Edit and apply plan * [stable2407 backport] runtime: make the candidate relay parent progression check more stric… (paritytech#5157) Backports paritytech#5113 on top of stable2407 * Backport paritytech#4791 (paritytech#5247) Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Jun Jiang <[email protected]> * [stable2407] Backport paritytech#5321 (paritytech#5332) Backports paritytech#5321 on the stable release * [stable2407] backport paritytech#4937 (paritytech#5337) Backport paritytech#4937 on the stable release * [stable2407] Backport PoV-reclaim fixes (paritytech#5273, paritytech#5281) (paritytech#5351) Backports paritytech#5273 & paritytech#5281 --------- Co-authored-by: Guillaume Thiolliere <[email protected]> * Move prdocs * [Backport] Bump serde_json from 1.0.120 to 1.0.121 in the known_good_semver group (paritytech#5169) (paritytech#5367) Bumps the known_good_semver group with 1 update: [serde_json](https://github.com/serde-rs/json). Updates `serde_json` from 1.0.120 to 1.0.121 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.121</h2> <ul> <li>Optimize position search in error path (<a href="https://redirect.github.com/serde-rs/json/issues/1160">#1160</a>, thanks <a href="https://github.com/purplesyringa"><code>@purplesyringa</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/json/commit/eca2658a22cb39952783cb6914eb18242659f66a"><code>eca2658</code></a> Release 1.0.121</li> <li><a href="https://github.com/serde-rs/json/commit/b0d678cfb473386830d559b6ab255d9e21ba39c5"><code>b0d678c</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1160">#1160</a> from iex-rs/efficient-position</li> <li><a href="https://github.com/serde-rs/json/commit/b1edc7d13f72880fd0ac569403a409e5f7961d5f"><code>b1edc7d</code></a> Optimize position search in error path</li> <li><a href="https://github.com/serde-rs/json/commit/40dd7f5e862436f02471fe076f3486c55e472bc2"><code>40dd7f5</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1159">#1159</a> from iex-rs/fix-recursion</li> <li><a href="https://github.com/serde-rs/json/commit/6a306e6ee9f47f3b37088217ffe3ebe9bbb54e5a"><code>6a306e6</code></a> Move call to tri! out of check_recursion!</li> <li><a href="https://github.com/serde-rs/json/commit/3f1c6de4af28b1f6c5100da323f2bffaf7c2083f"><code>3f1c6de</code></a> Ignore byte_char_slices clippy lint in test</li> <li><a href="https://github.com/serde-rs/json/commit/3fd6f5f49dc1c732d9b1d7dfece4f02c0d440d39"><code>3fd6f5f</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1153">#1153</a> from dpathakj/master</li> <li><a href="https://github.com/serde-rs/json/commit/fcb5e83e44abe0f9c27c755a240a6ad56312c090"><code>fcb5e83</code></a> Correct documentation URL for Value's Index impl.</li> <li>See full diff in <a href="https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> * Move prdoc to release folder * Backport timestamp logging fix (paritytech#5459) paritytech@03c45b9 --------- Co-authored-by: Gonçalo Pestana <[email protected]> * [Backport] Add feature to allow Aura collator to use full PoV size (paritytech#5393) (paritytech#5507) This PR introduces a feature that allows to optionally enable using the full PoV size. Technically, we're ready to enable it by default, but as corresponding runtime changes have not been propagated to the system parachain runtimes yet, doing so could put them at risk. On the other hand, there are teams that could benefit from it right now, and it makes no sense for them to wait for the fellowship release and everything. --------- Co-authored-by: Andrei Sandu <[email protected]> * [Backport] Always include UnpaidExecution, not just when revenue is nonzero (paritytech#5510) Backport paritytech#5369 to stable2407, which was already backported to v1.14 in paritytech#5370 * Update plan * [stable2407] Backport paritytech#5581 (paritytech#5603) Backport paritytech#5581 into `stable2407` (cc @franciscoaguirre). The dry-run shows in `forwarded_xcms` all the messages in the queues at the time of calling the API. Each time the API is called, the result could be different. You could get messages even if you dry-run something that doesn't send a message, like a `System::remark`. This commit fixes this by clearing the message queues before doing the dry-run, so the only messages left are the ones the users of the API actually care about. Co-authored-by: Francisco Aguirre <[email protected]> * [stable2407] Backport paritytech#5466 (paritytech#5524) Backport paritytech#5466 into `stable2407` (cc @ggwpez). <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * Backport 1.12.0: check-weight: Disable total pov size check for mandatory extrinsics (paritytech#4592) Backport of paritytech#4571 --------- Co-authored-by: command-bot <> * Implement `CheckMetadataHash` extension (paritytech#4274) (paritytech#4619) This implements the `CheckMetadataHash` extension as described in [RFC78](https://polkadot-fellows.github.io/RFCs/approved/0078-merkleized-metadata.html). Besides the signed extension, the `substrate-wasm-builder` is extended to support generating the metadata-hash. Closes: paritytech#291 --------- Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Liam Aharon <[email protected]> Co-authored-by: Kian Paimani <[email protected]> * init bifrost-polkadot-base * fix: add legacy transferrable balance to currency trait (#1) * feat: add a getter function to retrieve raw keystore value (#2) * [stable2407] Backport paritytech#5713 (paritytech#5739) Backport paritytech#5713 into `stable2407` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * [stable2407] Backport paritytech#3049 (paritytech#5734) Backport paritytech#3049 into `stable2407` from bgallois. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Benjamin Gallois <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * Move prdocs to release folder * Bump polkadot node version * Update plan * [stable2407] Backport Fix parity-publish (paritytech#5670) (paritytech#6019) Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * [stable2407] Backport docker fix to 2407 (paritytech#6017) This PR backports fixes for the docker publishing flow from master: - paritytech#5896 - paritytech#5387 * [stable2407] Backport paritytech#5913 (paritytech#6004) Backport paritytech#5913 into `stable2407` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#4803 (paritytech#6097) Backport paritytech#4803 into `stable2407` from gotnoshoeson. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Miles Patterson <[email protected]> * [stable2407] Backport paritytech#5599 (paritytech#6068) Backport paritytech#5599 into `stable2407` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Shawn Tabrizi <[email protected]> * [stable2407] Backport paritytech#6205 (paritytech#6238) Backport paritytech#6205 into `stable2407` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: command-bot <> * [stable2407] Backport paritytech#6148 (paritytech#6232) Backport paritytech#6148 into `stable2407` from bkontur. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Branislav Kontur <[email protected]> * Bump node version * Move prdocs * Update plan * Apply plan * [stable2407] Backport paritytech#6417 (paritytech#6437) Backport paritytech#6417 into `stable2407` from alindima. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alin Dima <[email protected]> * [Release|CI/CD] Fix audiences changelog template (paritytech#6444) This PR addresses an issue mentioned [here](paritytech#6424 (comment)). The problem was that when the prdoc file has two audiences, but only one description like in [prdoc_5660](https://github.com/paritytech/polkadot-sdk/blob/master/prdoc/1.16.0/pr_5660.prdoc) it was ignored by the template. * [stable2407] Backport paritytech#6526 (paritytech#6530) Backport paritytech#6526 into `stable2407` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <[email protected]> * [stable2407] Backport paritytech#6645 (paritytech#6655) Backport paritytech#6645 into `stable2407` from bkontur. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Branislav Kontur <[email protected]> * [stable2407] Backport paritytech#6579 (paritytech#6634) Backport paritytech#6579 into `stable2407` from bkontur. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6603 (paritytech#6668) Backport paritytech#6603 into `stable2407` from lexnv. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexandru Vasile <[email protected]> * Backport paritytech#5887 to `stable2407` (paritytech#6674) This PR accompanies paritytech#6672 to make backported changes consistent across releases. --------- Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6031 (paritytech#6106) Backport paritytech#6031 into `stable2407` from drewstone. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: drewstone <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6080 (paritytech#6180) Backport paritytech#6080 into `stable2407` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6540 (paritytech#6591) Backport paritytech#6540 into `stable2407` from Ank4n. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Ankan <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6506 (paritytech#6657) Backport paritytech#6506 into `stable2407` from Dinonard. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Dino Pačandi <[email protected]> Co-authored-by: Egor_P <[email protected]> * [stable2407] Backport paritytech#6459 (paritytech#6663) Backport paritytech#6459 into `stable2407` from franciscoaguirre. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Egor_P <[email protected]> * Bump polkadot node version * Move prdoxs to release folder * Apply plan * Update Cargo.lock * [stable2407] Backport paritytech#6690 (paritytech#6798) Backport paritytech#6690 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6729 (paritytech#6828) Backport paritytech#6729 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6662 (paritytech#6801) Backport paritytech#6662 into `stable2407` from eskimor. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: eskimor <[email protected]> Co-authored-by: Andrei Sandu <[email protected]> * [stable2407] Backport paritytech#5311 (paritytech#6804) Backport paritytech#5311 into `stable2407` from Doordashcon. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Doordashcon <[email protected]> * [stable2407] Backport paritytech#6696 (paritytech#6839) Backport paritytech#6696 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6864 (paritytech#6877) Backport paritytech#6864 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#7050 (paritytech#7058) Backport paritytech#7050 into `stable2407` from skunert. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Sebastian Kunert <[email protected]> * [stable2407] Backport paritytech#7013 (paritytech#7015) Backport paritytech#7013 into `stable2407` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: EgorPopelyaev <[email protected]> * Switch to parity-large runners to be able to run on the github (paritytech#7113) * Move prdocs to release folder * Bump node_version * [stable2407] Backport paritytech#7116 (paritytech#7135) Backport paritytech#7116 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Alexandru Gheorghe <[email protected]> * Move prdoc to release folder * [stable2407] Backport paritytech#6807 (paritytech#7155) Backport paritytech#6807 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6973 (paritytech#7159) Backport paritytech#6973 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * [stable2407] Backport paritytech#6971 (paritytech#7172) Backport paritytech#6971 into `stable2407` from alexggh. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> * Move prdocs to release folder * Apply plan * [stable2407] Backport paritytech#7365 (paritytech#7380) Backport paritytech#7365 into `stable2407` from vgantchev. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Valery Gantchev <[email protected]> * [stable2407] Backport paritytech#7437 (paritytech#7465) Backport paritytech#7437 into `stable2407` from serban300. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Serban Iorga <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * [stable2407] Backport paritytech#7446 (paritytech#7460) Backport paritytech#7446 into `stable2407` from serban300. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Serban Iorga <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> * Update plan * Apply changes * Move prdocs to release folder * Bump node version * Backport 1.12.0: check-weight: Disable total pov size check for mandatory extrinsics (paritytech#4592) Backport of paritytech#4571 --------- Co-authored-by: command-bot <> * Implement `CheckMetadataHash` extension (paritytech#4274) (paritytech#4619) This implements the `CheckMetadataHash` extension as described in [RFC78](https://polkadot-fellows.github.io/RFCs/approved/0078-merkleized-metadata.html). Besides the signed extension, the `substrate-wasm-builder` is extended to support generating the metadata-hash. Closes: paritytech#291 --------- Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Liam Aharon <[email protected]> Co-authored-by: Kian Paimani <[email protected]> * init bifrost-polkadot-base * fix: add legacy transferrable balance to currency trait (#1) * wasm-builder(cherry-pick): Also set mcpu for c deps (paritytech#3777) * update Cargo.lock * feat: add a getter function to retrieve keystore raw value --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: paritytech-cmd-bot-polkadot-sdk[bot] <179002856+paritytech-cmd-bot-polkadot-sdk[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Benjamin Gallois <[email protected]> Co-authored-by: EgorPopelyaev <[email protected]> Co-authored-by: Morgan Adamiec <[email protected]> Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Miles Patterson <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Alin Dima <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: s0me0ne-unkn0wn <[email protected]> Co-authored-by: drewstone <[email protected]> Co-authored-by: Ankan <[email protected]> Co-authored-by: Dino Pačandi <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: eskimor <[email protected]> Co-authored-by: Andrei Sandu <[email protected]> Co-authored-by: Doordashcon <[email protected]> Co-authored-by: Sebastian Kunert <[email protected]> Co-authored-by: Valery Gantchev <[email protected]> Co-authored-by: Serban Iorga <[email protected]> Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Liam Aharon <[email protected]> Co-authored-by: Kian Paimani <[email protected]> * resolve conflicts * chore: pull stable2503 * chore: remove deprecated getter --------- Signed-off-by: Iulian Barbu <[email protected]> Signed-off-by: Alexandru Gheorghe <[email protected]> Signed-off-by: Alexandru Vasile <[email protected]> Signed-off-by: Oliver Tale-Yazdi <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: paritytech-release-backport-bot[bot] <191369287+paritytech-release-backport-bot[bot]@users.noreply.github.com> Co-authored-by: Maciej <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Stephane Gurgenidze <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Egor_P <[email protected]> Co-authored-by: Iulian Barbu <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Andrei Sandu <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Tsvetomir Dimitrov <[email protected]> Co-authored-by: Javier Viola <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: Javier Viola <[email protected]> Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: Karol Kokoszka <[email protected]> Co-authored-by: Andrei Eres <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Alexander Theißen <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: tmpolaczyk <[email protected]> Co-authored-by: ordian <[email protected]> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Alexander Samusev <[email protected]> Co-authored-by: Francisco Aguirre <[email protected]> Co-authored-by: Tobi Demeco <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Adrian Catangiu <[email protected]> Co-authored-by: Morgan Adamiec <[email protected]> Co-authored-by: Alin Dima <[email protected]> Co-authored-by: Jun Jiang <[email protected]> Co-authored-by: Sebastian Kunert <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Gonçalo Pestana <[email protected]> Co-authored-by: s0me0ne-unkn0wn <[email protected]> Co-authored-by: Dónal Murray <[email protected]> Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Liam Aharon <[email protected]> Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: dnjscksdn98 <[email protected]> Co-authored-by: paritytech-cmd-bot-polkadot-sdk[bot] <179002856+paritytech-cmd-bot-polkadot-sdk[bot]@users.noreply.github.com> Co-authored-by: Benjamin Gallois <[email protected]> Co-authored-by: Miles Patterson <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: drewstone <[email protected]> Co-authored-by: Ankan <[email protected]> Co-authored-by: Dino Pačandi <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: eskimor <[email protected]> Co-authored-by: Doordashcon <[email protected]> Co-authored-by: Valery Gantchev <[email protected]> Co-authored-by: Serban Iorga <[email protected]>
… fragment-chain fork deadlock # Problem On v1.12.0 rootchain with async backing enabled (depth=1, ancestry=2) and a small backing topology (3 validators, 1 group, 1 core), the parachain stalls permanently after a few blocks. Validator log symptom (repeats every ~18s): - `Refusing to second candidate at leaf. Is not a potential member.` - `Rejected v2 advertisement ... error=BlockedByBacking` - Provisioner: `candidates_count=0` in every inherent # Root cause The v1.12.0 relay-side prospective-parachains subsystem is the pre-paritytech#4937 ("prospective-parachains rework: take II") fragment-chain. In `polkadot/node/core/prospective-parachains/src/fragment_chain/mod.rs:797` `is_fork_or_cycle` returns true if ANY other candidate already has the same `parent_head_hash`, rejecting it as a fork. When inclusion is slow, the collator's cumulus aura-ext consensus hook (FixedVelocityConsensusHook<V=1, C=2>) allows authoring a 2nd block every ~18s with the same parent while the first one is still waiting to be included. Each re-author produces a new block N with different extrinsics → same parent_head_hash → fragment-chain rejects all but the first → backing pipeline never completes a full cycle → permanent stall. Upstream fix is paritytech#4937, first in stable2409. Not cherry-pickable into v1.12.0 without dragging Constraints types from later releases (~1355 LoC rewrite). # Workaround Set UNINCLUDED_SEGMENT_CAPACITY = 1. `FixedVelocityConsensusHook::can_build_upon` checks `size_after_included >= C` and returns false if true. With C=1, once the collator has produced one unincluded block, all further authoring attempts at the same parent are blocked until that block is included on the relay. No forks are ever created at the cumulus side → fragment-chain sees a single candidate per cycle → accepts it normally. Tradeoff: para block production becomes synchronous-backing pace (one block per ~18s = 3 relay slots) instead of async's potential 1:1 with relay. Acceptable for small networks that need v1.12.0 as a stable endpoint rather than a transient upgrade hop. # Validation Rehearsed on forked-testnet 2026-04-18/19: - v0.9.40 → binary upgrade → leafchain setCode spec 20 → 21 (capacity=1) - rootchain setCode v1.12.0 (spec 112000003) - Para advanced from stuck-at-13 → 4556+ overnight, finalization keeping pace with head, validator provisioner consistently reports `candidates_count=1` on backing cycles. Prior capacity=2 rehearsal on the same topology reproducibly stalled para at 13–30 within minutes of rootchain setCode and never recovered. Bump leafchain spec_version 20 → 21 so setCode applies after the v1.12.0 rootchain upgrade. The stable2512 hop restores capacity to 2. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…th setCode Extends `EnableAsyncBackingAndCoretime` migration to force-free any occupied `AvailabilityCores` and kill `ClaimQueue` right after rewriting `ActiveConfig`. Mirrors what `Scheduler::push_occupied_cores_to_assignment_provider` does at session rotation, so the next `ParaInherent` pass can schedule fresh candidates without waiting ~1 hour for the prod-testnet session boundary. Background: when the v1.12.0 rootchain runtime enables async backing while a candidate is still occupying a core (common under capacity=2 cumulus + pre-paritytech#4937 relay), the occupying entry never reaches availability and the core stays stuck until the next session. Empirically measured on forked-testnet: - plain migration → para stuck 56 min (until session rotation) - this patch + validator restart → para advancing 16 s after setCode InBlock The restart step is required because prospective-parachains / SessionInfo caches live in validator-process memory and need flushing to pick up the new scheduler state. Runbook: `kubectl rollout restart deploy/validator-*` post-setCode. - Bumps spec_version 112_000_003 → 112_000_004 - Idempotent: re-running on a chain where cores are already free is a no-op Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Brings the consolidated v1.12.0 fixes (PR #30) into the stable2512 upgrade path. Resolution strategy: - Took stable2512 side for polkadot/node/*, polkadot/runtime/parachains/*, zombienet_tests/*: stable2512 has upstream paritytech#4937 + related PRs natively, so the v1.12.0 backport cherry-picks (paritytech#4727, paritytech#4471, paritytech#4724) are redundant. - Deleted prdoc/pr_4471.prdoc + prdoc/pr_4724.prdoc: those PRs are already in the stable2512 branch history. - Kept stable2512 leafchain/runtime/general/src/lib.rs (capacity=2) — paritytech#4937 fixes the fragment-chain fork deadlock natively so capacity=1 is not needed on stable2512. - Manually merged thxnet/runtime/thxnet-testnet/src/lib.rs: - spec_version stays at 125_120_005 (stable2512) - EnableAsyncBackingAndCoretime now includes the free-stuck-cores logic from PR #29 (also useful on stable2512 for setCode-atomic unstick). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…ble2512 scheduler After merging upgrade/1.12.0-all, the free-stuck-AvailabilityCores code from PR #29 doesn't compile on stable2512 — the upstream paritytech#4937 rewrite removed `AvailabilityCores` + `CoreOccupied` storage from `pallet_scheduler`. Only `ClaimQueue` survives, now storing `VecDeque<Assignment>` instead of `VecDeque<ParasEntryType<T>>`. On stable2512 the stuck-core scenario doesn't manifest either: paritytech#4937 fixes the fragment-chain fork deadlock natively, so candidates always reach availability under the normal flow. We still kill `ClaimQueue` in the migration so the scheduler rebuilds from the just-updated `ActiveConfig`. Also dedupes `scale-type-resolver` from Cargo.lock (duplicate entry introduced by the merge). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
#30) * statement-distribution: Fix false warning (paritytech#4727) ... when backing group is of size 1. Signed-off-by: Alexandru Gheorghe <[email protected]> * Remove the prospective-parachains subsystem from collators (paritytech#4471) Implements paritytech#4429 Collators only need to maintain the implicit view for the paraid they are collating on. In this case, bypass prospective-parachains entirely. It's still useful to use the GetMinimumRelayParents message from prospective-parachains for validators, because the data is already present there. This enables us to entirely remove the subsystem from collators, which consumed resources needlessly Aims to resolve paritytech#4167 TODO: - [x] fix unit tests * Fix core sharing and make use of scheduling_lookahead (paritytech#4724) Implements most of paritytech#1797 Core sharing (two parachains or more marachains scheduled on the same core with the same `PartsOf57600` value) was not working correctly. The expected behaviour is to have Backed and Included event in each block for the paras sharing the core and the paras should take turns. E.g. for two cores we expect: Backed(a); Included(a)+Backed(b); Included(b)+Backed(a); etc. Instead of this each block contains just one event and there are a lot of gaps (blocks w/o events) during the session. Core sharing should also work when collators are building collations ahead of time TODOs: - [x] Add a zombienet test verifying that the behaviour mentioned above works. - [x] prdoc --------- Co-authored-by: alindima <[email protected]> * fix(1.12.0-backports): adapt paritytech#4724 to v1.12.0 subsystem APIs After cherry-picking paritytech#4724 (core sharing + scheduling_lookahead) on top of v1.12.0, five upstream references do not resolve because the enabling PRs landed later: 1. `polkadot_statement_table::{…}` → use local `statement-table` alias (crate package name is `polkadot-statement-table`, imported via `statement-table = { package = … }` in Cargo.toml). 2. `polkadot_primitives::{…}` in `scheduler.rs` and `runtime_api_impl/vstaging.rs` → use local `primitives` alias. 3. `AvailabilityStoreMessage::StoreAvailableData::{core_index, node_features}` → the two new fields were added by the systematic-chunks PR paritytech#1644, which is NOT cherry-picked (it's 7540 LoC / 84 files and brings an unrelated availability-recovery rewrite). Keep the outer function signature as-is for API parity with upstream and drop the two fields at the message-send boundary via `let _ = …;`. The erasure-root check that protects consensus continues to run. 4. `free_cores_and_fill_claimqueue` → in our tree the method is named `free_cores_and_fill_claim_queue` (the rename was a small cleanup that happened concurrently in upstream). Update the two call sites (paras_inherent and runtime_api v10). Build clean: `cargo check -p polkadot -p polkadot-service -p polkadot-runtime-parachains -p thxnet-testnet-runtime` all pass with only pre-existing warnings. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * fix(leafchain,v1.12.0): UNINCLUDED_SEGMENT_CAPACITY 2 → 1 to sidestep fragment-chain fork deadlock # Problem On v1.12.0 rootchain with async backing enabled (depth=1, ancestry=2) and a small backing topology (3 validators, 1 group, 1 core), the parachain stalls permanently after a few blocks. Validator log symptom (repeats every ~18s): - `Refusing to second candidate at leaf. Is not a potential member.` - `Rejected v2 advertisement ... error=BlockedByBacking` - Provisioner: `candidates_count=0` in every inherent # Root cause The v1.12.0 relay-side prospective-parachains subsystem is the pre-paritytech#4937 ("prospective-parachains rework: take II") fragment-chain. In `polkadot/node/core/prospective-parachains/src/fragment_chain/mod.rs:797` `is_fork_or_cycle` returns true if ANY other candidate already has the same `parent_head_hash`, rejecting it as a fork. When inclusion is slow, the collator's cumulus aura-ext consensus hook (FixedVelocityConsensusHook<V=1, C=2>) allows authoring a 2nd block every ~18s with the same parent while the first one is still waiting to be included. Each re-author produces a new block N with different extrinsics → same parent_head_hash → fragment-chain rejects all but the first → backing pipeline never completes a full cycle → permanent stall. Upstream fix is paritytech#4937, first in stable2409. Not cherry-pickable into v1.12.0 without dragging Constraints types from later releases (~1355 LoC rewrite). # Workaround Set UNINCLUDED_SEGMENT_CAPACITY = 1. `FixedVelocityConsensusHook::can_build_upon` checks `size_after_included >= C` and returns false if true. With C=1, once the collator has produced one unincluded block, all further authoring attempts at the same parent are blocked until that block is included on the relay. No forks are ever created at the cumulus side → fragment-chain sees a single candidate per cycle → accepts it normally. Tradeoff: para block production becomes synchronous-backing pace (one block per ~18s = 3 relay slots) instead of async's potential 1:1 with relay. Acceptable for small networks that need v1.12.0 as a stable endpoint rather than a transient upgrade hop. # Validation Rehearsed on forked-testnet 2026-04-18/19: - v0.9.40 → binary upgrade → leafchain setCode spec 20 → 21 (capacity=1) - rootchain setCode v1.12.0 (spec 112000003) - Para advanced from stuck-at-13 → 4556+ overnight, finalization keeping pace with head, validator provisioner consistently reports `candidates_count=1` on backing cycles. Prior capacity=2 rehearsal on the same topology reproducibly stalled para at 13–30 within minutes of rootchain setCode and never recovered. Bump leafchain spec_version 20 → 21 so setCode applies after the v1.12.0 rootchain upgrade. The stable2512 hop restores capacity to 2. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * fix(v1.12.0): free stuck AvailabilityCores + ClaimQueue atomically with setCode Extends `EnableAsyncBackingAndCoretime` migration to force-free any occupied `AvailabilityCores` and kill `ClaimQueue` right after rewriting `ActiveConfig`. Mirrors what `Scheduler::push_occupied_cores_to_assignment_provider` does at session rotation, so the next `ParaInherent` pass can schedule fresh candidates without waiting ~1 hour for the prod-testnet session boundary. Background: when the v1.12.0 rootchain runtime enables async backing while a candidate is still occupying a core (common under capacity=2 cumulus + pre-paritytech#4937 relay), the occupying entry never reaches availability and the core stays stuck until the next session. Empirically measured on forked-testnet: - plain migration → para stuck 56 min (until session rotation) - this patch + validator restart → para advancing 16 s after setCode InBlock The restart step is required because prospective-parachains / SessionInfo caches live in validator-process memory and need flushing to pick up the new scheduler state. Runbook: `kubectl rollout restart deploy/validator-*` post-setCode. - Bumps spec_version 112_000_003 → 112_000_004 - Idempotent: re-running on a chain where cores are already free is a no-op Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> --------- Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Alin Dima <[email protected]> Co-authored-by: Tsvetomir Dimitrov <[email protected]> Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
…e2512 PR #30 squash-merged into upgrade/1.12.0, bringing in the consolidated v1.12.0 fixes. Re-merging on top of stable2512. Resolution strategy (same as prior merge of upgrade/1.12.0-all): - polkadot/node/*, polkadot/runtime/parachains/*, zombienet_tests/*, .gitlab/*: taken from stable2512 side — paritytech#4937 is native to stable2512 so v1.12.0 backport cherry-picks (paritytech#4727/paritytech#4471/paritytech#4724) are redundant. - thxnet/leafchain/runtime/general/src/lib.rs: stable2512 (capacity=2 safe with native paritytech#4937). - thxnet/runtime/thxnet-testnet/src/lib.rs: merged manually: - spec_version stays 125_120_005 (stable2512) - EnableAsyncBackingAndCoretime keeps ClaimQueue::kill only (stable2512 doesn't have AvailabilityCores storage after paritytech#4937 refactor) - Deleted prdoc/pr_4471.prdoc, prdoc/pr_4724.prdoc: upstream in stable2512. - Deleted newly-added zombienet test files from backports: upstream. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…ech#4937 backport) Documents the cherry-pick → review → rehearsal pipeline that achieved sustained 6s/para-block in forknet: - 27/29 (93%) gaps were 6s, zero 18s gaps (async backing pipelining engaged) - Three commits on feat/backport-pr4937: cherry-pick PR paritytech#4937 + capacity=2 + 6-val dev_authority_set - hell-eagle-eye-reviewer: 8/8 forensic gates PASS on the cherry-pick - W1/W2/W4 drift PASS throughout Recommends Option B for production rollout: ship release/v1.12.0 unfreeze first, then layer the cherry-pick + capacity=2 as a follow-up PR with its own spec bump and rollback plan. THXLAB AI Team
…ech#4937 backport) Documents the cherry-pick → review → rehearsal pipeline that achieved sustained 6s/para-block in forknet: - 27/29 (93%) gaps were 6s, zero 18s gaps (async backing pipelining engaged) - Three commits on feat/backport-pr4937: cherry-pick PR paritytech#4937 + capacity=2 + 6-val dev_authority_set - hell-eagle-eye-reviewer: 8/8 forensic gates PASS on the cherry-pick - W1/W2/W4 drift PASS throughout Recommends Option B for production rollout: ship release/v1.12.0 unfreeze first, then layer the cherry-pick + capacity=2 as a follow-up PR with its own spec bump and rollback plan. THXLAB AI Team
Resolves #4800
Problem
In #4035, we removed support for parachain forks and cycles and added support for backing unconnected candidates (candidates for which we don't yet know the full path to the latest included block), which is useful for elastic scaling (parachains using multiple cores).
Removing support for backing forks turned out to be a bad idea, as there are legitimate cases for a parachain to fork (if they have other consensus mechanism for example, like BABE or PoW). This leads to validators getting lower backing rewards (depending on whether they back the winning fork or not) and a higher pressure on only the half of the backing group (during availability-distribution for example). Since we don't yet have approval voting rewards, backing rewards are a pretty big deal (which may change in the future).
Description
A backing group is now allowed to back forks. Once a candidate becomes backed (has the minimum backing votes), we don't accept new forks unless they adhere to the new fork selection rule (have a lower candidate hash).
This helps with keeping the implementation simpler, since forks will only be taken into account for candidates which are not backed yet (only seconded).
Having this fork selection rule also helps with reducing the work backing validators need to do, since they have a shared way of picking the winning fork. Once they see a candidate backed, they can all decide to back a fork and not accept new ones.
But they still accept new ones during the seconding phase (until the backing quorum is reached).
Therefore, a block author which is not part of the backing group will likely not even see the forks (only the winning one).
Just as before, a parachain producing forks will still not be able to leverage elastic scaling but will still work with a single core. Also, cycles are still not accepted.
Some implementation details
CandidateStorageis no longer a subsystem-wide construct. It was previously holding candidates from all relay chain forks and complicated the code. Each fragment chain now holds their candidate chain and their potential candidates. This should not increase the storage consumption since the heavy candidate data is already wrapped in an Arc and shared. It however allows for great simplifications and increase readability.FragmentChains are now only creating a chain with backed candidates and the fork selection rule. As said before,FragmentChains are now also responsible for maintaining their own potential candidate storage.Since we no longer have the subsytem-wide
CandidateStorage, when getting a new leaf update, we use the storage of our latest ancestor, which may contain candidates seconded/backed that are still in scope.When a candidate is backed, the fragment chains which hold it are recreated (due to the fork selection rule, it could trigger a "reorg" of the fragment chain).
I generally tried to simplify the subsystem and not introduce unneccessary optimisations that would otherwise complicate the code and not gain us much (fragment chains wouldn't realistically ever hold many candidates)
TODO: