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
@@ -584,7 +584,7 @@ mod tests {
fn vecs_can_be_retrieved() {
let mut t = TestExternalities::<_, RlpCodec>::default();
with_externalities(&mut t, || {
runtime_io::set_storage(&twox_128(b":test"), b"\x0b\0\0\0Hello world");
runtime_io::set_storage(&twox_128(b":test"), b"\x2cHello world");
let x = b"Hello world".to_vec();
let y = get::<Vec<u8>>(b":test").unwrap();
assert_eq!(x, y);