mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
Remove package aliases from node template (#5389)
* delias outer node template * dealias pallet template * Fix mock * attempt to fix warning * Revert "attempt to fix warning" This reverts commit 3d39142b877fb7ae2bd9bd0b31442a00d4c8f0bf. * Add call to test interface.
This commit is contained in:
@@ -17,9 +17,8 @@ default-features = false
|
||||
version = "2.0.0-alpha.5"
|
||||
path = "../../../../frame/support"
|
||||
|
||||
[dependencies.system]
|
||||
[dependencies.frame-system]
|
||||
default-features = false
|
||||
package = 'frame-system'
|
||||
version = "2.0.0-alpha.5"
|
||||
path = "../../../../frame/system"
|
||||
[dev-dependencies.sp-core]
|
||||
@@ -44,5 +43,5 @@ std = [
|
||||
'codec/std',
|
||||
'frame-support/std',
|
||||
'safe-mix/std',
|
||||
'system/std'
|
||||
'frame-system/std'
|
||||
]
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/// https://github.com/paritytech/substrate/blob/master/frame/example/src/lib.rs
|
||||
|
||||
use frame_support::{decl_module, decl_storage, decl_event, decl_error, dispatch};
|
||||
use system::ensure_signed;
|
||||
use frame_system::{self as system, ensure_signed};
|
||||
|
||||
#[cfg(test)]
|
||||
mod mock;
|
||||
|
||||
@@ -6,6 +6,7 @@ use frame_support::{impl_outer_origin, parameter_types, weights::Weight};
|
||||
use sp_runtime::{
|
||||
traits::{BlakeTwo256, IdentityLookup}, testing::Header, Perbill,
|
||||
};
|
||||
use frame_system as system;
|
||||
|
||||
impl_outer_origin! {
|
||||
pub enum Origin for Test {}
|
||||
|
||||
Reference in New Issue
Block a user