Bump codec (#786)

* Bump codec

* Fix tests
This commit is contained in:
Gav Wood
2018-09-21 17:16:15 +02:00
committed by GitHub
parent b7d095a2e0
commit f71200ee3c
49 changed files with 130 additions and 128 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ num-traits = { version = "0.2", default_features = false }
integer-sqrt = { git = "https://github.com/paritytech/integer-sqrt-rs.git", branch = "master" }
serde = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }
parity-codec = { version = "1.1", default_features = false }
parity-codec = { version = "2.0", default_features = false }
parity-codec-derive = { version = "~1.0", default_features = false }
substrate-primitives = { path = "../primitives", default_features = false }
sr-std = { path = "../sr-std", default_features = false }
@@ -76,7 +76,7 @@ fn system_digest_item_encoding() {
// type = DigestItemType::AuthoritiesChange
1,
// number of items in athorities set
3, 0, 0, 0,
12,
// authorities
10, 0, 0, 0,
20, 0, 0, 0,
@@ -95,7 +95,7 @@ fn non_system_digest_item_encoding() {
// type = DigestItemType::Other
0,
// length of other data
3, 0, 0, 0,
12,
// authorities
10, 20, 30,
]);