From 60945d93eee2289ebc97e99e114df2c57970b2ca Mon Sep 17 00:00:00 2001 From: 4meta5 Date: Tue, 23 Jul 2024 17:02:00 -0400 Subject: [PATCH] add back polkadot sdk imports --- runtimes/mainnet/src/weights/elections.rs | 1 + runtimes/mainnet/src/weights/members.rs | 1 + runtimes/mainnet/src/weights/networks.rs | 1 + runtimes/mainnet/src/weights/shards.rs | 1 + runtimes/mainnet/src/weights/tasks.rs | 1 + runtimes/mainnet/src/weights/timegraph.rs | 1 + runtimes/testnet/src/weights/balances.rs | 1 + runtimes/testnet/src/weights/elections.rs | 1 + runtimes/testnet/src/weights/members.rs | 1 + runtimes/testnet/src/weights/networks.rs | 1 + runtimes/testnet/src/weights/shards.rs | 3 ++- runtimes/testnet/src/weights/system.rs | 1 + runtimes/testnet/src/weights/tasks.rs | 1 + runtimes/testnet/src/weights/timegraph.rs | 1 + runtimes/testnet/src/weights/timestamp.rs | 1 + 15 files changed, 16 insertions(+), 1 deletion(-) diff --git a/runtimes/mainnet/src/weights/elections.rs b/runtimes/mainnet/src/weights/elections.rs index 869b734fe..eda71304d 100644 --- a/runtimes/mainnet/src/weights/elections.rs +++ b/runtimes/mainnet/src/weights/elections.rs @@ -25,6 +25,7 @@ #![allow(unused_imports)] #![allow(missing_docs)] +use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/mainnet/src/weights/members.rs b/runtimes/mainnet/src/weights/members.rs index 371f25b29..eb13e8ace 100644 --- a/runtimes/mainnet/src/weights/members.rs +++ b/runtimes/mainnet/src/weights/members.rs @@ -25,6 +25,7 @@ #![allow(unused_imports)] #![allow(missing_docs)] +use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/mainnet/src/weights/networks.rs b/runtimes/mainnet/src/weights/networks.rs index 8d2a8f36d..452ca43f8 100644 --- a/runtimes/mainnet/src/weights/networks.rs +++ b/runtimes/mainnet/src/weights/networks.rs @@ -25,6 +25,7 @@ #![allow(unused_imports)] #![allow(missing_docs)] +use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/mainnet/src/weights/shards.rs b/runtimes/mainnet/src/weights/shards.rs index d7eeb5979..45fdbb95d 100644 --- a/runtimes/mainnet/src/weights/shards.rs +++ b/runtimes/mainnet/src/weights/shards.rs @@ -25,6 +25,7 @@ #![allow(unused_imports)] #![allow(missing_docs)] +use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/mainnet/src/weights/tasks.rs b/runtimes/mainnet/src/weights/tasks.rs index 7b359af2f..aeb06ce6e 100644 --- a/runtimes/mainnet/src/weights/tasks.rs +++ b/runtimes/mainnet/src/weights/tasks.rs @@ -29,6 +29,7 @@ use polkadot_sdk::*; +use polkadot_sdk::*; use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/mainnet/src/weights/timegraph.rs b/runtimes/mainnet/src/weights/timegraph.rs index d9ac30fc2..0bbde1fd2 100644 --- a/runtimes/mainnet/src/weights/timegraph.rs +++ b/runtimes/mainnet/src/weights/timegraph.rs @@ -29,6 +29,7 @@ use polkadot_sdk::*; +use polkadot_sdk::*; use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/testnet/src/weights/balances.rs b/runtimes/testnet/src/weights/balances.rs index 1e14aee58..1bc52d27a 100644 --- a/runtimes/testnet/src/weights/balances.rs +++ b/runtimes/testnet/src/weights/balances.rs @@ -29,6 +29,7 @@ use polkadot_sdk::*; +use polkadot_sdk::*; use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/testnet/src/weights/elections.rs b/runtimes/testnet/src/weights/elections.rs index c1ce17f46..365452fd7 100644 --- a/runtimes/testnet/src/weights/elections.rs +++ b/runtimes/testnet/src/weights/elections.rs @@ -25,6 +25,7 @@ #![allow(unused_imports)] #![allow(missing_docs)] +use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/testnet/src/weights/members.rs b/runtimes/testnet/src/weights/members.rs index 91810c8db..67976d129 100644 --- a/runtimes/testnet/src/weights/members.rs +++ b/runtimes/testnet/src/weights/members.rs @@ -25,6 +25,7 @@ #![allow(unused_imports)] #![allow(missing_docs)] +use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/testnet/src/weights/networks.rs b/runtimes/testnet/src/weights/networks.rs index 081a9bbfa..be9e30bfb 100644 --- a/runtimes/testnet/src/weights/networks.rs +++ b/runtimes/testnet/src/weights/networks.rs @@ -25,6 +25,7 @@ #![allow(unused_imports)] #![allow(missing_docs)] +use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/testnet/src/weights/shards.rs b/runtimes/testnet/src/weights/shards.rs index 632ef9390..c787f280d 100644 --- a/runtimes/testnet/src/weights/shards.rs +++ b/runtimes/testnet/src/weights/shards.rs @@ -26,7 +26,8 @@ #![allow(missing_docs)] use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; +use polkadot_sdk::*; +use frame_support::{traits::Get, weights::Weight}; /// Weight functions for `pallet_shards`. pub struct WeightInfo(PhantomData); diff --git a/runtimes/testnet/src/weights/system.rs b/runtimes/testnet/src/weights/system.rs index 1402cb363..e08673e1f 100644 --- a/runtimes/testnet/src/weights/system.rs +++ b/runtimes/testnet/src/weights/system.rs @@ -29,6 +29,7 @@ use polkadot_sdk::*; +use polkadot_sdk::*; use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/testnet/src/weights/tasks.rs b/runtimes/testnet/src/weights/tasks.rs index 7b359af2f..aeb06ce6e 100644 --- a/runtimes/testnet/src/weights/tasks.rs +++ b/runtimes/testnet/src/weights/tasks.rs @@ -29,6 +29,7 @@ use polkadot_sdk::*; +use polkadot_sdk::*; use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/testnet/src/weights/timegraph.rs b/runtimes/testnet/src/weights/timegraph.rs index 510d15f96..c07dce79f 100644 --- a/runtimes/testnet/src/weights/timegraph.rs +++ b/runtimes/testnet/src/weights/timegraph.rs @@ -25,6 +25,7 @@ #![allow(unused_imports)] #![allow(missing_docs)] +use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; diff --git a/runtimes/testnet/src/weights/timestamp.rs b/runtimes/testnet/src/weights/timestamp.rs index 599ff2ab1..aa5ab4743 100644 --- a/runtimes/testnet/src/weights/timestamp.rs +++ b/runtimes/testnet/src/weights/timestamp.rs @@ -29,6 +29,7 @@ use polkadot_sdk::*; +use polkadot_sdk::*; use polkadot_sdk::*; use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData;