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

Commit 42a48f7

Browse files
committed
fix imports
1 parent 53890b1 commit 42a48f7

File tree

2 files changed

+4
-4
lines changed
  • parachains/runtimes/testing

2 files changed

+4
-4
lines changed

parachains/runtimes/testing/penpal/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use frame_support::{
3535
construct_runtime,
3636
dispatch::DispatchClass,
3737
parameter_types,
38-
traits::Everything,
38+
traits::{AsEnsureOriginWithArg, Everything},
3939
weights::{
4040
constants::WEIGHT_PER_SECOND, ConstantMultiplier, Weight, WeightToFeeCoefficient,
4141
WeightToFeeCoefficients, WeightToFeePolynomial,
@@ -44,7 +44,7 @@ use frame_support::{
4444
};
4545
use frame_system::{
4646
limits::{BlockLength, BlockWeights},
47-
EnsureRoot,
47+
EnsureRoot, EnsureSigned,
4848
};
4949
use smallvec::smallvec;
5050
use sp_api::impl_runtime_apis;

parachains/runtimes/testing/rococo-parachain/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub use frame_support::{
4141
construct_runtime,
4242
dispatch::DispatchClass,
4343
match_types, parameter_types,
44-
traits::{EitherOfDiverse, Everything, IsInVec, Randomness},
44+
traits::{AsEnsureOriginWithArg, EitherOfDiverse, Everything, IsInVec, Randomness},
4545
weights::{
4646
constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},
4747
ConstantMultiplier, IdentityFee, Weight,
@@ -50,7 +50,7 @@ pub use frame_support::{
5050
};
5151
use frame_system::{
5252
limits::{BlockLength, BlockWeights},
53-
EnsureRoot,
53+
EnsureRoot, EnsureSigned,
5454
};
5555
pub use pallet_balances::Call as BalancesCall;
5656
pub use pallet_timestamp::Call as TimestampCall;

0 commit comments

Comments
 (0)