diff --git a/Cargo.lock b/Cargo.lock index a76f3137f9d..867691eebdc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ dependencies = [ [[package]] name = "actor-system-error" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "derive_more", ] @@ -1616,7 +1616,7 @@ dependencies = [ [[package]] name = "crates-io-manager" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "anyhow", "cargo_metadata", @@ -3881,14 +3881,14 @@ dependencies = [ [[package]] name = "galloc" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "dlmalloc", ] [[package]] name = "gcli" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "anyhow", "base64 0.21.5", @@ -3930,7 +3930,7 @@ dependencies = [ [[package]] name = "gclient" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "anyhow", "async-trait", @@ -3972,7 +3972,7 @@ dependencies = [ [[package]] name = "gcore" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "galloc", "gear-core-errors", @@ -3985,7 +3985,7 @@ dependencies = [ [[package]] name = "gear-authorship" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "demo-mul-by-const", "env_logger", @@ -4052,7 +4052,7 @@ dependencies = [ [[package]] name = "gear-cli" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "clap 4.4.7", "frame-benchmarking", @@ -4084,7 +4084,7 @@ dependencies = [ [[package]] name = "gear-common" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "derive_more", "enum-iterator 1.4.1", @@ -4109,7 +4109,7 @@ dependencies = [ [[package]] name = "gear-common-codegen" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "quote", "syn 2.0.38", @@ -4117,7 +4117,7 @@ dependencies = [ [[package]] name = "gear-core" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "blake2-rfc", "byteorder", @@ -4144,7 +4144,7 @@ dependencies = [ [[package]] name = "gear-core-backend" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "actor-system-error", "blake2-rfc", @@ -4162,7 +4162,7 @@ dependencies = [ [[package]] name = "gear-core-errors" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "derive_more", "enum-iterator 1.4.1", @@ -4171,7 +4171,7 @@ dependencies = [ [[package]] name = "gear-core-processor" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "actor-system-error", "derive_more", @@ -4190,7 +4190,7 @@ dependencies = [ [[package]] name = "gear-key-finder" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "directories 5.0.1", "hex", @@ -4198,7 +4198,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "cfg-if", "derive_more", @@ -4221,7 +4221,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages-common" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "gear-core", "num_enum", @@ -4230,7 +4230,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages-interface" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "byteorder", "gear-common", @@ -4244,7 +4244,7 @@ dependencies = [ [[package]] name = "gear-node-loader" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "anyhow", "clap 4.4.7", @@ -4273,7 +4273,7 @@ dependencies = [ [[package]] name = "gear-node-testing" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "frame-benchmarking", "frame-support", @@ -4340,7 +4340,7 @@ dependencies = [ [[package]] name = "gear-runtime-common" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "frame-benchmarking", "frame-support", @@ -4365,7 +4365,7 @@ dependencies = [ [[package]] name = "gear-runtime-interface" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "byteorder", "gear-core", @@ -4383,7 +4383,7 @@ dependencies = [ [[package]] name = "gear-runtime-primitives" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "sp-core", "sp-runtime", @@ -4407,7 +4407,7 @@ dependencies = [ [[package]] name = "gear-sandbox-env" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "parity-scale-codec", "sp-core", @@ -4417,7 +4417,7 @@ dependencies = [ [[package]] name = "gear-sandbox-host" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "environmental", "gear-sandbox-env", @@ -4436,7 +4436,7 @@ dependencies = [ [[package]] name = "gear-service" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", @@ -4505,14 +4505,14 @@ dependencies = [ [[package]] name = "gear-stack-buffer" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "cc", ] [[package]] name = "gear-utils" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "env_logger", "gear-core", @@ -4598,7 +4598,7 @@ dependencies = [ [[package]] name = "gear-wasm-instrument" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "enum-iterator 1.4.1", "gear-core", @@ -4763,7 +4763,7 @@ dependencies = [ [[package]] name = "gmeta" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "blake2-rfc", "derive_more", @@ -4777,7 +4777,7 @@ dependencies = [ [[package]] name = "gmeta-codegen" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "gmeta", "gstd", @@ -4801,7 +4801,7 @@ dependencies = [ [[package]] name = "gsdk" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "anyhow", "base64 0.21.5", @@ -4854,7 +4854,7 @@ dependencies = [ [[package]] name = "gsdk-codegen" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "proc-macro2", "quote", @@ -4863,7 +4863,7 @@ dependencies = [ [[package]] name = "gstd" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "bs58 0.5.0", "futures", @@ -4892,7 +4892,7 @@ dependencies = [ [[package]] name = "gsys" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" [[package]] name = "gtest" @@ -7588,7 +7588,7 @@ dependencies = [ [[package]] name = "pallet-gear" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "blake2-rfc", "demo-async", @@ -7686,7 +7686,7 @@ dependencies = [ [[package]] name = "pallet-gear-bank" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "frame-benchmarking", "frame-support", @@ -7704,7 +7704,7 @@ dependencies = [ [[package]] name = "pallet-gear-debug" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "demo-vec", "env_logger", @@ -7740,7 +7740,7 @@ dependencies = [ [[package]] name = "pallet-gear-gas" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "env_logger", "frame-benchmarking", @@ -7769,7 +7769,7 @@ dependencies = [ [[package]] name = "pallet-gear-messenger" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "env_logger", "frame-benchmarking", @@ -7793,7 +7793,7 @@ dependencies = [ [[package]] name = "pallet-gear-payment" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "env_logger", "frame-benchmarking", @@ -7827,7 +7827,7 @@ dependencies = [ [[package]] name = "pallet-gear-proc-macro" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "proc-macro2", "quote", @@ -7836,7 +7836,7 @@ dependencies = [ [[package]] name = "pallet-gear-program" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "frame-support", "frame-system", @@ -7861,7 +7861,7 @@ dependencies = [ [[package]] name = "pallet-gear-rpc" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "gear-common", "gear-core", @@ -7877,7 +7877,7 @@ dependencies = [ [[package]] name = "pallet-gear-rpc-runtime-api" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "pallet-gear", "sp-api", @@ -7888,7 +7888,7 @@ dependencies = [ [[package]] name = "pallet-gear-scheduler" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "env_logger", "frame-benchmarking", @@ -7919,7 +7919,7 @@ dependencies = [ [[package]] name = "pallet-gear-staking-rewards" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "env_logger", "frame-benchmarking", @@ -7973,7 +7973,7 @@ dependencies = [ [[package]] name = "pallet-gear-voucher" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "env_logger", "frame-benchmarking", @@ -13664,7 +13664,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "vara-runtime" -version = "1.0.2-pre.10" +version = "1.0.2-pre.11" dependencies = [ "const-str", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 45ee6247b14..353f05a620a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "1.0.2-pre.11" +version = "1.0.2-pre.12" authors = ["Gear Technologies"] edition = "2021" license = "GPL-3.0" diff --git a/gcli/Cargo.toml b/gcli/Cargo.toml index bb7ca1cf9f0..a562d8cefff 100644 --- a/gcli/Cargo.toml +++ b/gcli/Cargo.toml @@ -40,7 +40,6 @@ clap = { workspace = true, features = ["derive"] } thiserror.workspace = true tokio = { workspace = true, features = [ "full" ] } whoami.workspace = true -gear-lazy-pages-interface = { workspace = true, features = [ "std" ] } reqwest = { workspace = true, default-features = false, features = [ "json", "rustls-tls" ] } etc.workspace = true sp-io = { workspace = true, features = [ "std" ] } diff --git a/gcli/src/meta/executor.rs b/gcli/src/meta/executor.rs index be76fd537c4..50bb8b56c7f 100644 --- a/gcli/src/meta/executor.rs +++ b/gcli/src/meta/executor.rs @@ -39,10 +39,6 @@ pub fn call_metadata(wasm: &[u8]) -> Result> { /// Executes the WASM code. fn execute(wasm: &[u8], method: &str) -> Result> { - assert!(gear_lazy_pages_interface::try_to_enable_lazy_pages( - PAGE_STORAGE_PREFIX - )); - let engine = Engine::default(); let module = Module::new(&engine, wasm).unwrap();