define Id type in polkadot-parachain and depend on that in primitives. (#144)

* define Id type in polkadot-parachain and depend on that in primitives.

* fix tests
This commit is contained in:
Robert Habermeier
2019-02-20 08:33:52 -03:00
committed by Gav Wood
parent 84d8629de6
commit 4ef53912e6
14 changed files with 63 additions and 35 deletions
+3 -3
View File
@@ -185,9 +185,9 @@ fn processes_messages() {
parent_head: parent_head.encode(),
block_data: block_data.encode(),
ingress: vec![
IncomingMessage { source: 1, data: (AddMessage { amount: 256 }).encode() },
IncomingMessage { source: 2, data: bad_message_data },
IncomingMessage { source: 3, data: (AddMessage { amount: 256 }).encode() },
IncomingMessage { source: 1.into(), data: (AddMessage { amount: 256 }).encode() },
IncomingMessage { source: 2.into(), data: bad_message_data },
IncomingMessage { source: 3.into(), data: (AddMessage { amount: 256 }).encode() },
],
},
&mut DummyExt,
Binary file not shown.