Update scale-info and parity-scale-codec requirements (#462)

* Update scale-info and parity-scale-codec requirements

* Update CHANGELOG

* Update frame-metadata

* Update bitvec

* Fix test

* Update bitvec event decoding

* More bitvec updates

* Update substrate primitives dependencies

* Fix up bitvec errors and decode error

* Fix up bitvec errors

* Update polkadot codegen
This commit is contained in:
Andrew Jones
2022-03-01 16:36:38 +00:00
committed by GitHub
parent 13347362d5
commit 11f24d78f7
12 changed files with 216 additions and 172 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ impl<T: Decode> WrapperKeepOpaque<T> {
///
/// Returns `None` if the decoding failed.
pub fn try_decode(&self) -> Option<T> {
T::decode_all(&self.data[..]).ok()
T::decode_all(&mut &self.data[..]).ok()
}
/// Returns the length of the encoded `T`.