Unverified Commit ee49f3b2 authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

companion: update wasmtime to 0.24.0 (#2625)

* update using diener

* fix zstd upgrade

* Revert "update using diener"

This reverts commit 701fdfe3.

* update zstd to 0.6

* update using diener

* Revert "update using diener"

This reverts commit fc81df63.

* update Substrate

Co-authored-by: parity-processbot <>
parent 4b034045
Pipeline #132508 failed with stages
in 28 minutes and 20 seconds
This diff is collapsed.
......@@ -21,4 +21,4 @@ thiserror = "1.0.22"
serde = { version = "1.0.123", features = ["derive"] }
[target.'cfg(not(target_os = "unknown"))'.dependencies]
zstd = "0.5.0"
zstd = "0.6.0"
......@@ -203,8 +203,8 @@ impl CompressedPoV {
pub fn decompress(&self) -> Result<PoV, CompressedPoVError> {
use std::io::Read;
struct InputDecoder<'a, T: std::io::BufRead>(&'a mut zstd::Decoder<T>, usize);
impl<'a, T: std::io::BufRead> parity_scale_codec::Input for InputDecoder<'a, T> {
struct InputDecoder<'a, 'b: 'a, T: std::io::BufRead>(&'a mut zstd::Decoder<'b, T>, usize);
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> {
self.1 = self.1.saturating_add(into.len());
if self.1 > MAX_POV_SIZE as usize {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment