From 3ec05e62197f9a244aa9f49dd013a0d97289b2c7 Mon Sep 17 00:00:00 2001
From: Xiliang Chen <xlchen1291@gmail.com>
Date: Tue, 25 Feb 2020 14:40:13 +1300
Subject: [PATCH] update substrate (#100)

---
 auction/src/mock.rs               | 2 +-
 currencies/src/mock.rs            | 2 +-
 oracle/rpc/runtime-api/Cargo.toml | 2 +-
 oracle/src/mock.rs                | 2 +-
 prices/src/mock.rs                | 2 +-
 tokens/src/mock.rs                | 2 +-
 utilities/src/linked_item.rs      | 2 +-
 vesting/src/mock.rs               | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/auction/src/mock.rs b/auction/src/mock.rs
index a274105..c51c9b3 100644
--- a/auction/src/mock.rs
+++ b/auction/src/mock.rs
@@ -58,7 +58,7 @@ impl frame_system::Trait for Runtime {
 	type ModuleToIndex = ();
 	type AccountData = ();
 	type OnNewAccount = ();
-	type OnReapAccount = ();
+	type OnKilledAccount = ();
 }
 
 pub struct Handler;
diff --git a/currencies/src/mock.rs b/currencies/src/mock.rs
index 86ecaef..34c01ac 100644
--- a/currencies/src/mock.rs
+++ b/currencies/src/mock.rs
@@ -58,7 +58,7 @@ impl frame_system::Trait for Runtime {
 	type ModuleToIndex = ();
 	type AccountData = pallet_balances::AccountData<u64>;
 	type OnNewAccount = ();
-	type OnReapAccount = ();
+	type OnKilledAccount = ();
 }
 pub type System = system::Module<Runtime>;
 
diff --git a/oracle/rpc/runtime-api/Cargo.toml b/oracle/rpc/runtime-api/Cargo.toml
index 6d44938..d8ce6a4 100644
--- a/oracle/rpc/runtime-api/Cargo.toml
+++ b/oracle/rpc/runtime-api/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
 
 [dependencies]
 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]
 default = ["std"]
diff --git a/oracle/src/mock.rs b/oracle/src/mock.rs
index cdef6d6..218aa83 100644
--- a/oracle/src/mock.rs
+++ b/oracle/src/mock.rs
@@ -52,7 +52,7 @@ impl frame_system::Trait for Test {
 	type ModuleToIndex = ();
 	type AccountData = ();
 	type OnNewAccount = ();
-	type OnReapAccount = ();
+	type OnKilledAccount = ();
 }
 
 type AccountId = u64;
diff --git a/prices/src/mock.rs b/prices/src/mock.rs
index 8de1ed0..3a52b8c 100644
--- a/prices/src/mock.rs
+++ b/prices/src/mock.rs
@@ -45,7 +45,7 @@ impl frame_system::Trait for Runtime {
 	type ModuleToIndex = ();
 	type AccountData = ();
 	type OnNewAccount = ();
-	type OnReapAccount = ();
+	type OnKilledAccount = ();
 }
 
 type CurrencyId = u32;
diff --git a/tokens/src/mock.rs b/tokens/src/mock.rs
index a9651c6..3d19b39 100644
--- a/tokens/src/mock.rs
+++ b/tokens/src/mock.rs
@@ -55,7 +55,7 @@ impl frame_system::Trait for Runtime {
 	type ModuleToIndex = ();
 	type AccountData = ();
 	type OnNewAccount = ();
-	type OnReapAccount = ();
+	type OnKilledAccount = ();
 }
 pub type System = system::Module<Runtime>;
 
diff --git a/utilities/src/linked_item.rs b/utilities/src/linked_item.rs
index f4bf57b..354cc14 100644
--- a/utilities/src/linked_item.rs
+++ b/utilities/src/linked_item.rs
@@ -215,7 +215,7 @@ mod tests {
 		type ModuleToIndex = ();
 		type AccountData = ();
 		type OnNewAccount = ();
-		type OnReapAccount = ();
+		type OnKilledAccount = ();
 	}
 
 	type TestLinkedList = LinkedList<TestItem, Key, Value>;
diff --git a/vesting/src/mock.rs b/vesting/src/mock.rs
index ddab34f..58107a1 100644
--- a/vesting/src/mock.rs
+++ b/vesting/src/mock.rs
@@ -54,7 +54,7 @@ impl frame_system::Trait for Runtime {
 	type ModuleToIndex = ();
 	type AccountData = pallet_balances::AccountData<u64>;
 	type OnNewAccount = ();
-	type OnReapAccount = ();
+	type OnKilledAccount = ();
 }
 pub type System = system::Module<Runtime>;
 
-- 
GitLab