companion: update wasmtime to 0.24.0 (#2625)

* update using diener

* fix zstd upgrade

* Revert "update using diener"

This reverts commit 701fdfe3822d6beac4bfda591a1dbcb99bcadb1a.

* update zstd to 0.6

* update using diener

* Revert "update using diener"

This reverts commit fc81df6355375b1328bb6126e3227f193583a61b.

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Andronik Ordian
2021-04-02 22:23:29 +02:00
committed by GitHub
parent c54f8848d1
commit cd9449cbef
3 changed files with 224 additions and 226 deletions
+221 -223
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -21,4 +21,4 @@ thiserror = "1.0.22"
serde = { version = "1.0.123", features = ["derive"] } serde = { version = "1.0.123", features = ["derive"] }
[target.'cfg(not(target_os = "unknown"))'.dependencies] [target.'cfg(not(target_os = "unknown"))'.dependencies]
zstd = "0.5.0" zstd = "0.6.0"
+2 -2
View File
@@ -203,8 +203,8 @@ impl CompressedPoV {
pub fn decompress(&self) -> Result<PoV, CompressedPoVError> { pub fn decompress(&self) -> Result<PoV, CompressedPoVError> {
use std::io::Read; use std::io::Read;
struct InputDecoder<'a, T: std::io::BufRead>(&'a mut zstd::Decoder<T>, usize); struct InputDecoder<'a, 'b: 'a, T: std::io::BufRead>(&'a mut zstd::Decoder<'b, T>, usize);
impl<'a, T: std::io::BufRead> parity_scale_codec::Input for InputDecoder<'a, T> { impl<'a, 'b, T: std::io::BufRead> parity_scale_codec::Input for InputDecoder<'a, 'b, T> {
fn read(&mut self, into: &mut [u8]) -> Result<(), parity_scale_codec::Error> { fn read(&mut self, into: &mut [u8]) -> Result<(), parity_scale_codec::Error> {
self.1 = self.1.saturating_add(into.len()); self.1 = self.1.saturating_add(into.len());
if self.1 > MAX_POV_SIZE as usize { if self.1 > MAX_POV_SIZE as usize {