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

Remove Polkadot & Kusama native runtime #7467

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Jul 5, 2023

This pull request removes the Polkadot and Kusama native runtime from the polkadot node. This brings some implications with it:

  1. There are no more kusama/polkadot-dev chain specs available. We will need to write some tooling in the fellowship repo to provide them easily.

  2. The try-runtime job for polkadot & kusama is not available anymore as we don't have the dev chain specs anymore.

  3. Certain benchmarking commands will also not work until we migrate them to use a runtime api.

Some crates in utils are still depending on the polkadot/kusama native runtime that will also need to be fixed.

This pull request removes the Polkadot and Kusama native runtime from
the polkadot node. This brings some implications with it:

1. There are no more `kusama/polkadot-dev` chain specs available. We
will need to write some tooling in the fellowship repo to provide them
easily.

2. The `try-runtime` job for polkadot & kusama is not available anymore
as we don't have the dev chain specs anymore.

3. Certain benchmarking commands will also not work until we migrate
them to use a runtime api.

Some crates in `utils` are still depending on the polkadot/kusama native
runtime that will also need to be fixed.
@bkchr bkchr added A0-please_review Pull request needs code review. C1-low PR touches the given topic and has a low impact on builders. T0-node This PR/Issue is related to the topic “node”. B1-note_worthy Changes should be noted in the release notes labels Jul 5, 2023
@bkchr bkchr requested review from a team and chevdor as code owners July 5, 2023 13:47
@paritytech-ci paritytech-ci requested a review from a team July 5, 2023 13:47
node/service/src/benchmarking.rs Show resolved Hide resolved
Copy link
Contributor

@s0me0ne-unkn0wn s0me0ne-unkn0wn left a comment

Choose a reason for hiding this comment

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

Finally! 🎉

use pallet_im_online::sr25519::AuthorityId as ImOnlineId;
#[cfg(any(
feature = "polkadot-native",
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like any() is redundant now?

@@ -53,14 +41,10 @@ use serde::{Deserialize, Serialize};
use sp_core::{sr25519, Pair, Public};
use sp_runtime::traits::IdentifyAccount;
#[cfg(any(
feature = "polkadot-native",
Copy link
Contributor

Choose a reason for hiding this comment

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

Here as well

@gilescope
Copy link
Contributor

As @bkontur points out we will need a cumulus companion PR for this PR as the cumulus integration tests depend on these runtimes.

@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/3399668

Copy link
Contributor

@chevdor chevdor left a comment

Choose a reason for hiding this comment

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

🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B1-note_worthy Changes should be noted in the release notes C1-low PR touches the given topic and has a low impact on builders. T0-node This PR/Issue is related to the topic “node”.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants