Cherry updates (#1373)

- Introduce compact extrinsics into Cherry
- Remove UpgradeKey from Cherry (Sudo is enough)
- Remove networkId from Cherry properties
This commit is contained in:
Gav Wood
2019-01-09 12:52:16 +01:00
committed by GitHub
parent eb3503b0c7
commit fc5fdab5f2
9 changed files with 21 additions and 143 deletions
+2 -2
View File
@@ -947,7 +947,7 @@ pub mod tests {
// last peer was not updated
let (_x, on_demand) = dummy(true);
let queue = RwLock::new(VecDeque::new());
let mut network = TestIo::new(&queue, None);
let _network = TestIo::new(&queue, None);
on_demand.remote_header(RemoteHeaderRequest {
cht_root: Default::default(),
@@ -972,7 +972,7 @@ pub mod tests {
fn tries_to_send_all_pending_requests() {
let (_x, on_demand) = dummy(true);
let queue = RwLock::new(VecDeque::new());
let mut network = TestIo::new(&queue, None);
let _network = TestIo::new(&queue, None);
on_demand.remote_header(RemoteHeaderRequest {
cht_root: Default::default(),