diff --git a/.github/workflows/crates-io.yml b/.github/workflows/crates-io.yml index e56babd5bba..f04744968fd 100644 --- a/.github/workflows/crates-io.yml +++ b/.github/workflows/crates-io.yml @@ -1,8 +1,7 @@ name: Crates IO on: - # workflow_dispatch: - push: + workflow_dispatch: env: CARGO_INCREMENTAL: 0 diff --git a/Cargo.lock b/Cargo.lock index 867691eebdc..b108aa7f536 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ dependencies = [ [[package]] name = "actor-system-error" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "derive_more", ] @@ -1616,7 +1616,7 @@ dependencies = [ [[package]] name = "crates-io-manager" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "anyhow", "cargo_metadata", @@ -3881,14 +3881,14 @@ dependencies = [ [[package]] name = "galloc" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "dlmalloc", ] [[package]] name = "gcli" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "anyhow", "base64 0.21.5", @@ -3902,7 +3902,6 @@ dependencies = [ "etc", "gear-core", "gear-core-errors", - "gear-lazy-pages-interface", "gmeta", "gsdk", "hex", @@ -3930,7 +3929,7 @@ dependencies = [ [[package]] name = "gclient" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "anyhow", "async-trait", @@ -3972,7 +3971,7 @@ dependencies = [ [[package]] name = "gcore" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "galloc", "gear-core-errors", @@ -3985,7 +3984,7 @@ dependencies = [ [[package]] name = "gear-authorship" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "demo-mul-by-const", "env_logger", @@ -4052,7 +4051,7 @@ dependencies = [ [[package]] name = "gear-cli" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "clap 4.4.7", "frame-benchmarking", @@ -4084,7 +4083,7 @@ dependencies = [ [[package]] name = "gear-common" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "derive_more", "enum-iterator 1.4.1", @@ -4109,7 +4108,7 @@ dependencies = [ [[package]] name = "gear-common-codegen" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "quote", "syn 2.0.38", @@ -4117,7 +4116,7 @@ dependencies = [ [[package]] name = "gear-core" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "blake2-rfc", "byteorder", @@ -4144,7 +4143,7 @@ dependencies = [ [[package]] name = "gear-core-backend" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "actor-system-error", "blake2-rfc", @@ -4162,7 +4161,7 @@ dependencies = [ [[package]] name = "gear-core-errors" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "derive_more", "enum-iterator 1.4.1", @@ -4171,7 +4170,7 @@ dependencies = [ [[package]] name = "gear-core-processor" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "actor-system-error", "derive_more", @@ -4190,7 +4189,7 @@ dependencies = [ [[package]] name = "gear-key-finder" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "directories 5.0.1", "hex", @@ -4198,7 +4197,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "cfg-if", "derive_more", @@ -4221,7 +4220,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages-common" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "gear-core", "num_enum", @@ -4230,7 +4229,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages-interface" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "byteorder", "gear-common", @@ -4244,7 +4243,7 @@ dependencies = [ [[package]] name = "gear-node-loader" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "anyhow", "clap 4.4.7", @@ -4273,7 +4272,7 @@ dependencies = [ [[package]] name = "gear-node-testing" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4340,7 +4339,7 @@ dependencies = [ [[package]] name = "gear-runtime-common" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4365,7 +4364,7 @@ dependencies = [ [[package]] name = "gear-runtime-interface" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "byteorder", "gear-core", @@ -4383,7 +4382,7 @@ dependencies = [ [[package]] name = "gear-runtime-primitives" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "sp-core", "sp-runtime", @@ -4407,7 +4406,7 @@ dependencies = [ [[package]] name = "gear-sandbox-env" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "parity-scale-codec", "sp-core", @@ -4417,7 +4416,7 @@ dependencies = [ [[package]] name = "gear-sandbox-host" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "environmental", "gear-sandbox-env", @@ -4436,7 +4435,7 @@ dependencies = [ [[package]] name = "gear-service" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", @@ -4505,14 +4504,14 @@ dependencies = [ [[package]] name = "gear-stack-buffer" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "cc", ] [[package]] name = "gear-utils" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "env_logger", "gear-core", @@ -4598,7 +4597,7 @@ dependencies = [ [[package]] name = "gear-wasm-instrument" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "enum-iterator 1.4.1", "gear-core", @@ -4763,7 +4762,7 @@ dependencies = [ [[package]] name = "gmeta" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "blake2-rfc", "derive_more", @@ -4777,7 +4776,7 @@ dependencies = [ [[package]] name = "gmeta-codegen" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "gmeta", "gstd", @@ -4801,7 +4800,7 @@ dependencies = [ [[package]] name = "gsdk" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "anyhow", "base64 0.21.5", @@ -4854,7 +4853,7 @@ dependencies = [ [[package]] name = "gsdk-codegen" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "proc-macro2", "quote", @@ -4863,7 +4862,7 @@ dependencies = [ [[package]] name = "gstd" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "bs58 0.5.0", "futures", @@ -4892,7 +4891,7 @@ dependencies = [ [[package]] name = "gsys" -version = "1.0.2-pre.11" +version = "1.0.2" [[package]] name = "gtest" @@ -7588,7 +7587,7 @@ dependencies = [ [[package]] name = "pallet-gear" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "blake2-rfc", "demo-async", @@ -7686,7 +7685,7 @@ dependencies = [ [[package]] name = "pallet-gear-bank" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -7704,7 +7703,7 @@ dependencies = [ [[package]] name = "pallet-gear-debug" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "demo-vec", "env_logger", @@ -7740,7 +7739,7 @@ dependencies = [ [[package]] name = "pallet-gear-gas" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -7769,7 +7768,7 @@ dependencies = [ [[package]] name = "pallet-gear-messenger" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -7793,7 +7792,7 @@ dependencies = [ [[package]] name = "pallet-gear-payment" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -7827,7 +7826,7 @@ dependencies = [ [[package]] name = "pallet-gear-proc-macro" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "proc-macro2", "quote", @@ -7836,7 +7835,7 @@ dependencies = [ [[package]] name = "pallet-gear-program" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "frame-support", "frame-system", @@ -7861,7 +7860,7 @@ dependencies = [ [[package]] name = "pallet-gear-rpc" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "gear-common", "gear-core", @@ -7877,7 +7876,7 @@ dependencies = [ [[package]] name = "pallet-gear-rpc-runtime-api" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "pallet-gear", "sp-api", @@ -7888,7 +7887,7 @@ dependencies = [ [[package]] name = "pallet-gear-scheduler" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -7919,7 +7918,7 @@ dependencies = [ [[package]] name = "pallet-gear-staking-rewards" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -7973,7 +7972,7 @@ dependencies = [ [[package]] name = "pallet-gear-voucher" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -13664,7 +13663,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "vara-runtime" -version = "1.0.2-pre.11" +version = "1.0.2" dependencies = [ "const-str", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 353f05a620a..eaed4529880 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "1.0.2-pre.12" +version = "1.0.2" authors = ["Gear Technologies"] edition = "2021" license = "GPL-3.0" diff --git a/gcli/src/meta/executor.rs b/gcli/src/meta/executor.rs index 50bb8b56c7f..42381ae2328 100644 --- a/gcli/src/meta/executor.rs +++ b/gcli/src/meta/executor.rs @@ -23,8 +23,6 @@ use anyhow::{anyhow, Result}; use wasmi::{AsContextMut, Engine, Extern, Linker, Memory, MemoryType, Module, Store}; -const PAGE_STORAGE_PREFIX: [u8; 32] = *b"gcligcligcligcligcligcligcligcli"; - /// HostState for the WASM executor #[derive(Default)] pub struct HostState {