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

Commit ab1bcb5

Browse files
committed
Revert "Co #5064: Use runtime dependant weights (#1076)"
This reverts commit 984d9fa.
1 parent bf8342e commit ab1bcb5

File tree

11 files changed

+323
-325
lines changed

11 files changed

+323
-325
lines changed

Cargo.lock

Lines changed: 310 additions & 310 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

parachain-template/runtime/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ sp-version = { git = "https://github.com/paritytech/substrate", default-features
5757
# Polkadot
5858
pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5959
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
60-
polkadot-runtime = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
6160
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
6261
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
6362
xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
@@ -110,7 +109,6 @@ std = [
110109
"pallet-xcm/std",
111110
"parachain-info/std",
112111
"polkadot-parachain/std",
113-
"polkadot-runtime/std",
114112
"polkadot-runtime-common/std",
115113
"sp-api/std",
116114
"sp-block-builder/std",

parachain-template/runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use xcm_config::{XcmConfig, XcmOriginToTransactDispatchOrigin};
4545
pub use sp_runtime::BuildStorage;
4646

4747
// Polkadot Imports
48-
use polkadot_runtime::{BlockHashCount, RocksDbWeight, SlowAdjustingFeeUpdate};
48+
use polkadot_runtime_common::{BlockHashCount, RocksDbWeight, SlowAdjustingFeeUpdate};
4949

5050
// XCM Imports
5151
use xcm::latest::prelude::BodyId;

polkadot-parachains/canvas-kusama/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ kusama-runtime-constants = { git = "https://github.com/paritytech/polkadot", def
5858
pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5959
polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
6060
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
61-
polkadot-runtime = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
61+
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
6262
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
6363
xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
6464
xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
@@ -111,7 +111,7 @@ std = [
111111
"parachains-common/std",
112112
"polkadot-core-primitives/std",
113113
"polkadot-parachain/std",
114-
"polkadot-runtime/std",
114+
"polkadot-runtime-common/std",
115115
"sp-api/std",
116116
"sp-block-builder/std",
117117
"sp-consensus-aura/std",

polkadot-parachains/canvas-kusama/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub use sp_runtime::BuildStorage;
6565
use frame_support::weights::Weight;
6666

6767
// Polkadot imports
68-
use polkadot_runtime::{BlockHashCount, RocksDbWeight, SlowAdjustingFeeUpdate};
68+
use polkadot_runtime_common::{BlockHashCount, RocksDbWeight, SlowAdjustingFeeUpdate};
6969

7070
/// The address format for describing accounts.
7171
pub type Address = sp_runtime::MultiAddress<AccountId, ()>;

polkadot-parachains/statemine/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ kusama-runtime-constants = { git = "https://github.com/paritytech/polkadot", def
5353
pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5454
polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5555
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
56-
polkadot-runtime = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
56+
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5757
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5858
xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5959
xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
@@ -134,7 +134,7 @@ std = [
134134
"pallet-xcm/std",
135135
"polkadot-core-primitives/std",
136136
"polkadot-parachain/std",
137-
"polkadot-runtime/std",
137+
"polkadot-runtime-common/std",
138138
"sp-api/std",
139139
"sp-block-builder/std",
140140
"sp-consensus-aura/std",

polkadot-parachains/statemine/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub use sp_runtime::BuildStorage;
6868

6969
// Polkadot imports
7070
use pallet_xcm::{EnsureXcm, IsMajorityOfBody};
71-
use polkadot_runtime::{BlockHashCount, RocksDbWeight, SlowAdjustingFeeUpdate};
71+
use polkadot_runtime_common::{BlockHashCount, RocksDbWeight, SlowAdjustingFeeUpdate};
7272
use xcm::latest::BodyId;
7373
use xcm_executor::XcmExecutor;
7474

polkadot-parachains/statemint/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ sp-version = { git = "https://github.com/paritytech/substrate", default-features
5252
pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5353
polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5454
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
55-
polkadot-runtime = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
55+
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5656
polkadot-runtime-constants = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5757
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5858
xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
@@ -132,7 +132,7 @@ std = [
132132
"pallet-xcm/std",
133133
"polkadot-core-primitives/std",
134134
"polkadot-parachain/std",
135-
"polkadot-runtime/std",
135+
"polkadot-runtime-common/std",
136136
"polkadot-runtime-constants/std",
137137
"sp-api/std",
138138
"sp-block-builder/std",

polkadot-parachains/statemint/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub use sp_runtime::BuildStorage;
6969

7070
// Polkadot imports
7171
use pallet_xcm::{EnsureXcm, IsMajorityOfBody};
72-
use polkadot_runtime::{BlockHashCount, RocksDbWeight, SlowAdjustingFeeUpdate};
72+
use polkadot_runtime_common::{BlockHashCount, RocksDbWeight, SlowAdjustingFeeUpdate};
7373
use xcm::latest::BodyId;
7474
use xcm_executor::XcmExecutor;
7575

polkadot-parachains/westmint/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ sp-version = { git = "https://github.com/paritytech/substrate", default-features
5151
pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5252
polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5353
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
54-
polkadot-runtime = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
54+
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5555
westend-runtime-constants = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5656
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
5757
xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
@@ -130,7 +130,7 @@ std = [
130130
"pallet-xcm/std",
131131
"polkadot-core-primitives/std",
132132
"polkadot-parachain/std",
133-
"polkadot-runtime/std",
133+
"polkadot-runtime-common/std",
134134
"sp-api/std",
135135
"sp-block-builder/std",
136136
"sp-consensus-aura/std",

0 commit comments

Comments
 (0)