Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate polkadot-primitives to v6 #1543

Merged
merged 25 commits into from
Sep 27, 2023
Merged

Conversation

slumber
Copy link
Contributor

@slumber slumber commented Sep 13, 2023

  • Async-backing related primitives are stable primitives::v6
  • Async-backing API is now part of api_version(7)
  • It's enabled on Rococo and Westend runtimes

stabilize async backing and enable API on Rococo
@slumber slumber added the T8-polkadot This PR/Issue is related to/affects the Polkadot network. label Sep 13, 2023
@paritytech-ci paritytech-ci requested a review from a team September 13, 2023 15:16
@paritytech-ci paritytech-ci requested a review from a team September 13, 2023 19:47
@rphmeier
Copy link
Contributor

Just to be clear, we need to make sure not to enable api_version(7) on Polkadot or Kusama runtimes. This will not automatically cause that, right?

@slumber
Copy link
Contributor Author

slumber commented Sep 13, 2023

Just to be clear, we need to make sure not to enable api_version(7) on Polkadot or Kusama runtimes. This will not automatically cause that, right?

Yes, API is only enabled on Rococo, not even on Westend

UPD: on Rococo and Westend with 3953c5d

@ordian
Copy link
Member

ordian commented Sep 13, 2023

I would enable this on Westend given that it's a testnet and enabling this runtime API shouldn't automatically bork the chain. Also Versi is based on Westend still last I've heard.

@ordian ordian added the T4-runtime_API This PR/Issue is related to runtime APIs. label Sep 13, 2023
Removes the `network-protocol-staging` feature. This is needed for the
first release of async backing capable nodes.
Renames `VStaging` to `V2`
on top of #1543

---------

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
svyatonik added a commit to svyatonik/runtimes that referenced this pull request Nov 9, 2023
bkchr added a commit to polkadot-fellows/runtimes that referenced this pull request Nov 20, 2023
In the PR we bump versions for all dependacy crates from `polkadot-sdk`
and apply all required changes

Changes:
- `parachains_runtime_api_impl` `v5` -> `v7`,
  - from paritytech/polkadot-sdk#1543;
- `Consideration` setup for preimage pallet instances,
  - from  paritytech/polkadot-sdk#1363;
- `experimental` feature removed for `pallet-society`, `pallet-xcm`,
`runtime-common` crates,
  - from paritytech/polkadot-sdk#1503;
- `pallet_election_provider_multi_phase::Config::SignedDepositBase` set
to `GeometricDepositBase`,
  - from paritytech/polkadot-sdk#1547;
- support `open_outbound_hrmp_channel_for_benchmarks_or_tests` func
rename,
  - from paritytech/polkadot-sdk#1422;
- missing weight functions added for `runtime_parachains_hrmp` and
`pallet_preimage`;

TODO:
- [x] Deleted the Copy&paste para scheduler migration from
#26 in
b666613. This should be applied in the
next runtime upgrade, but i did not properly check yet.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Mar 27, 2024
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Apr 8, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 10, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 10, 2024
bkchr pushed a commit that referenced this pull request Apr 10, 2024
bkontur pushed a commit to paritytech/parity-bridges-common that referenced this pull request May 7, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport paritytech/polkadot-sdk#1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jun 5, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jun 7, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
pavelsupr pushed a commit to paritytech-stg/polkadot-sdk-mirror-source that referenced this pull request Jun 13, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport paritytech/polkadot-sdk#1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jul 4, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jul 17, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jul 23, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jul 26, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jul 27, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jul 29, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jul 30, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
bkontur pushed a commit that referenced this pull request Jul 31, 2024
* fiox overflow when computing priority boost (#2587)

* Backport changes from polkadot-sdk (#2588)

* backport #1543

* another backport

* https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3833103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T4-runtime_API This PR/Issue is related to runtime APIs. T8-polkadot This PR/Issue is related to/affects the Polkadot network.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants