Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bin/node-template/pallets/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ frame-support = { version = "4.0.0-dev", default-features = false, path = "../..
frame-system = { version = "4.0.0-dev", default-features = false, path = "../../../../frame/system" }

[dev-dependencies]
sp-core = { version = "7.0.0", default-features = false, path = "../../../../primitives/core" }
sp-io = { version = "7.0.0", default-features = false, path = "../../../../primitives/io" }
sp-runtime = { version = "7.0.0", default-features = false, path = "../../../../primitives/runtime" }
sp-core = { version = "7.0.0", path = "../../../../primitives/core" }
sp-io = { version = "7.0.0", path = "../../../../primitives/io" }
sp-runtime = { version = "7.0.0", path = "../../../../primitives/runtime" }

[features]
default = ["std"]
Expand Down
5 changes: 2 additions & 3 deletions bin/node-template/pallets/template/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate as pallet_template;
use frame_support::traits::{ConstU16, ConstU64};
use frame_system as system;
use sp_core::H256;
use sp_runtime::{
testing::Header,
Expand All @@ -22,7 +21,7 @@ frame_support::construct_runtime!(
}
);

impl system::Config for Test {
impl frame_system::Config for Test {
type BaseCallFilter = frame_support::traits::Everything;
type BlockWeights = ();
type BlockLength = ();
Expand Down Expand Up @@ -55,5 +54,5 @@ impl pallet_template::Config for Test {

// Build genesis storage according to the mock runtime.
pub fn new_test_ext() -> sp_io::TestExternalities {
system::GenesisConfig::default().build_storage::<Test>().unwrap().into()
frame_system::GenesisConfig::default().build_storage::<Test>().unwrap().into()
}