mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
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:
Generated
+221
-223
File diff suppressed because it is too large
Load Diff
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user