Skip to content
Snippets Groups Projects
Unverified Commit 3ec05e62 authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

update substrate (#100)

parent 8500c498
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ impl frame_system::Trait for Runtime { ...@@ -58,7 +58,7 @@ impl frame_system::Trait for Runtime {
type ModuleToIndex = (); type ModuleToIndex = ();
type AccountData = (); type AccountData = ();
type OnNewAccount = (); type OnNewAccount = ();
type OnReapAccount = (); type OnKilledAccount = ();
} }
pub struct Handler; pub struct Handler;
......
...@@ -58,7 +58,7 @@ impl frame_system::Trait for Runtime { ...@@ -58,7 +58,7 @@ impl frame_system::Trait for Runtime {
type ModuleToIndex = (); type ModuleToIndex = ();
type AccountData = pallet_balances::AccountData<u64>; type AccountData = pallet_balances::AccountData<u64>;
type OnNewAccount = (); type OnNewAccount = ();
type OnReapAccount = (); type OnKilledAccount = ();
} }
pub type System = system::Module<Runtime>; pub type System = system::Module<Runtime>;
......
...@@ -6,7 +6,7 @@ edition = "2018" ...@@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false, features = ["derive"] }
sp-api = { version = "2.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git" } sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git" }
[features] [features]
default = ["std"] default = ["std"]
......
...@@ -52,7 +52,7 @@ impl frame_system::Trait for Test { ...@@ -52,7 +52,7 @@ impl frame_system::Trait for Test {
type ModuleToIndex = (); type ModuleToIndex = ();
type AccountData = (); type AccountData = ();
type OnNewAccount = (); type OnNewAccount = ();
type OnReapAccount = (); type OnKilledAccount = ();
} }
type AccountId = u64; type AccountId = u64;
......
...@@ -45,7 +45,7 @@ impl frame_system::Trait for Runtime { ...@@ -45,7 +45,7 @@ impl frame_system::Trait for Runtime {
type ModuleToIndex = (); type ModuleToIndex = ();
type AccountData = (); type AccountData = ();
type OnNewAccount = (); type OnNewAccount = ();
type OnReapAccount = (); type OnKilledAccount = ();
} }
type CurrencyId = u32; type CurrencyId = u32;
......
...@@ -55,7 +55,7 @@ impl frame_system::Trait for Runtime { ...@@ -55,7 +55,7 @@ impl frame_system::Trait for Runtime {
type ModuleToIndex = (); type ModuleToIndex = ();
type AccountData = (); type AccountData = ();
type OnNewAccount = (); type OnNewAccount = ();
type OnReapAccount = (); type OnKilledAccount = ();
} }
pub type System = system::Module<Runtime>; pub type System = system::Module<Runtime>;
......
...@@ -215,7 +215,7 @@ mod tests { ...@@ -215,7 +215,7 @@ mod tests {
type ModuleToIndex = (); type ModuleToIndex = ();
type AccountData = (); type AccountData = ();
type OnNewAccount = (); type OnNewAccount = ();
type OnReapAccount = (); type OnKilledAccount = ();
} }
type TestLinkedList = LinkedList<TestItem, Key, Value>; type TestLinkedList = LinkedList<TestItem, Key, Value>;
......
...@@ -54,7 +54,7 @@ impl frame_system::Trait for Runtime { ...@@ -54,7 +54,7 @@ impl frame_system::Trait for Runtime {
type ModuleToIndex = (); type ModuleToIndex = ();
type AccountData = pallet_balances::AccountData<u64>; type AccountData = pallet_balances::AccountData<u64>;
type OnNewAccount = (); type OnNewAccount = ();
type OnReapAccount = (); type OnKilledAccount = ();
} }
pub type System = system::Module<Runtime>; pub type System = system::Module<Runtime>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment