Fix most tests, introduce split-block processing tools for authoring.

This commit is contained in:
Gav
2018-02-04 14:35:00 +01:00
parent e0c1d13be6
commit 8628a67e1f
6 changed files with 81 additions and 39 deletions
@@ -151,9 +151,9 @@ mod tests {
twox_128(&0u32.to_keyed_vec(ValidatorStorageVec::PREFIX)).to_vec() => vec![10; 32],
twox_128(&1u32.to_keyed_vec(ValidatorStorageVec::PREFIX)).to_vec() => vec![20; 32],
// initial session keys (11, 21, ...)
twox_128(b"con:aut:len").to_vec() => vec![].join(&2u32),
twox_128(&0u32.to_keyed_vec(b"con:aut:")).to_vec() => vec![11; 32],
twox_128(&1u32.to_keyed_vec(b"con:aut:")).to_vec() => vec![21; 32]
b"con:aut:len".to_vec() => vec![].join(&2u32),
0u32.to_keyed_vec(b"con:aut:") => vec![11; 32],
1u32.to_keyed_vec(b"con:aut:") => vec![21; 32]
], }
}