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

Verified

This commit was signed with the committer’s verified signature.
ararslan Alex Arslan
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.

@slumber slumber requested review from eskimor and sandreim September 13, 2023 20:02
@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 <[email protected]>
ordian added a commit that referenced this pull request Sep 27, 2023
svyatonik added a commit to paritytech/parity-bridges-common that referenced this pull request Sep 28, 2023
svyatonik added a commit to paritytech/parity-bridges-common that referenced this pull request Sep 28, 2023
svyatonik added a commit to paritytech/parity-bridges-common that referenced this pull request Sep 28, 2023
svyatonik added a commit to paritytech/parity-bridges-common that referenced this pull request Sep 28, 2023
svyatonik added a commit to paritytech/parity-bridges-common that referenced this pull request Sep 28, 2023
* 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
ordian added a commit that referenced this pull request Oct 10, 2023
* tsv-disabling-node-side: (69 commits)
  runtime-api: cleanup after v7 stabilization (#1729)
  Move requests-responses and polling from `ChainSync` to `SyncingEngine` (#1650)
  Add custom error message for `StorageNoopGuard` (#1727)
  Clarify docs
  cargo fmt
  add a CAVEAT comment
  implement disabled_validators correctly
  remove unnecessary hash string (#1722)
  OpenGov in Westend and Rococo (#1177)
  Associated type Hasher for `QueryPreimage`, `StorePreimage` and `Bounded` (#1720)
  Migrate polkadot-primitives to v6 (#1543)
  genesis-builder: implemented for all runtimes (#1492)
  `BlockId` removal: `tx-pool` refactor (#1678)
  Bump directories from 4.0.1 to 5.0.1 (#1656)
  Allow debug_assertions in short-benchmarks CI job (#1711)
  chainHead/storage: Fix storage iteration using the query key (#1665)
  Implement more useful traits in `Slot` type (#1595)
  Make downloads in parallel and give more time to complete (#1699)
  Bump actions/checkout from 4.0.0 to 4.1.0 (#1688)
  contracts: Fix incorrect storage alias in mirgration (#1687)
  ...
svyatonik added a commit to svyatonik/runtimes that referenced this pull request Nov 3, 2023
svyatonik added a commit to svyatonik/runtimes that referenced this pull request Nov 8, 2023
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 <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: joe petrowski <[email protected]>
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
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