Skip to content

Commit

Permalink
Remove kusama and polkadot SP constants from parachains-common (#2666)
Browse files Browse the repository at this point in the history
  • Loading branch information
seadanda authored Jan 4, 2024
1 parent b0a8746 commit 6f9b1f6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 270 deletions.
122 changes: 0 additions & 122 deletions cumulus/parachains/common/src/kusama.rs

This file was deleted.

2 changes: 0 additions & 2 deletions cumulus/parachains/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
#![cfg_attr(not(feature = "std"), no_std)]

pub mod impls;
pub mod kusama;
pub mod message_queue;
pub mod polkadot;
pub mod rococo;
pub mod westend;
pub mod wococo;
Expand Down
144 changes: 0 additions & 144 deletions cumulus/parachains/common/src/polkadot.rs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ parameter_types! {
pub const ByteDeposit: Balance = deposit(0, 1);
pub const SubAccountDeposit: Balance = deposit(1, 53);
pub RelayTreasuryAccount: AccountId =
parachains_common::polkadot::account::POLKADOT_TREASURY_PALLET_ID.into_account_truncating();
parachains_common::TREASURY_PALLET_ID.into_account_truncating();
}

impl pallet_identity::Config for Runtime {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ parameter_types! {
pub const ByteDeposit: Balance = deposit(0, 1);
pub const SubAccountDeposit: Balance = deposit(1, 53);
pub RelayTreasuryAccount: AccountId =
parachains_common::polkadot::account::POLKADOT_TREASURY_PALLET_ID.into_account_truncating();
parachains_common::TREASURY_PALLET_ID.into_account_truncating();
}

impl pallet_identity::Config for Runtime {
Expand Down
14 changes: 14 additions & 0 deletions prdoc/pr_2666.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json

title: Remove kusama and polkadot SP constants from parachains-common

doc:
- audience: Runtime Dev
description: |
The constants for System Parachains in Kusama and Polkadot are now added to a new package in
the fellowship repo. This PR removes them from Polkadot-SDK. They are now accessible from the
`system-parachains-constants` package.

crates:
- name: parachains-common

0 comments on commit 6f9b1f6

Please sign in to comment.