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:
Joshy Orndorff
2020-03-25 14:44:13 -04:00
committed by GitHub
parent e86fedba81
commit 0505e93733
7 changed files with 17 additions and 15 deletions
@@ -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 {}