We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab1c5c7 commit 0011c10Copy full SHA for 0011c10
src/util.rs
@@ -4,10 +4,11 @@ use std::io::Write;
4
use std::path::{Path, PathBuf};
5
6
use itertools::Itertools;
7
-use sp_maybe_compressed_blob::{compress, decompress, CODE_BLOB_BOMB_LIMIT};
+use sp_maybe_compressed_blob::{compress, decompress};
8
use wasm_instrument::parity_wasm::serialize;
9
use wasm_instrument::parity_wasm::{deserialize_buffer, elements::Module};
10
11
+const CODE_BLOB_BOMB_LIMIT: usize = 70 * 1024 * 1024;
12
/// # Save bytes to a file in the given path
13
/// It will recursively create parent directories if needed, open and write to the file
14
///
0 commit comments