From fa934374b6cbc787a13f0723d734e651b9cb036f Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Mon, 7 Oct 2024 11:40:43 +0400 Subject: [PATCH 1/3] bump runtime spec version --- runtime/vara/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 1eeae976066..1ffec3ed121 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -176,7 +176,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // The version of the runtime specification. A full node will not attempt to use its native // runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`, // `spec_version`, and `authoring_version` are the same between Wasm and native. - spec_version: 1610, + spec_version: 1620, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 1fdeb8c1271df69c2208ec13d974faaa59295fdc Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Mon, 7 Oct 2024 11:40:55 +0400 Subject: [PATCH 2/3] bump schedule version --- core/src/gas_metering/schedule.rs | 2 +- pallets/gear/src/schedule.rs | 2 +- utils/wasm-instrument/src/gas_metering/schedule.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/gas_metering/schedule.rs b/core/src/gas_metering/schedule.rs index 73fffc4f4d6..24b156a3b7b 100644 --- a/core/src/gas_metering/schedule.rs +++ b/core/src/gas_metering/schedule.rs @@ -290,7 +290,7 @@ pub struct InstructionWeights { impl Default for InstructionWeights { fn default() -> Self { Self { - version: 1610, + version: 1620, i64const: 159, i64load: 6859, i32load: 6726, diff --git a/pallets/gear/src/schedule.rs b/pallets/gear/src/schedule.rs index 9fc0181616b..a474ddc620c 100644 --- a/pallets/gear/src/schedule.rs +++ b/pallets/gear/src/schedule.rs @@ -863,7 +863,7 @@ impl Default for InstructionWeights { // See below for the assembly listings of the mentioned instructions. type W = ::WeightInfo; Self { - version: 1610, + version: 1620, i64const: cost_i64const::(), i64load: cost_instr::(W::::instr_i64load, 0), i32load: cost_instr::(W::::instr_i32load, 0), diff --git a/utils/wasm-instrument/src/gas_metering/schedule.rs b/utils/wasm-instrument/src/gas_metering/schedule.rs index cac6f24a83e..1fcd361c9b6 100644 --- a/utils/wasm-instrument/src/gas_metering/schedule.rs +++ b/utils/wasm-instrument/src/gas_metering/schedule.rs @@ -196,7 +196,7 @@ pub struct InstructionWeights { impl Default for InstructionWeights { fn default() -> Self { Self { - version: 1610, + version: 1620, i64const: 186, i64load: 5844, i32load: 5810, From 7f49e3433d2dc2f02ea192f9e74a5e051cd3ca36 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Mon, 7 Oct 2024 11:41:10 +0400 Subject: [PATCH 3/3] bump crates version --- Cargo.lock | 182 ++++++++++++++++++++++++++--------------------------- Cargo.toml | 2 +- 2 files changed, 92 insertions(+), 92 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bc19d620dbe..0d39ea13a98 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ dependencies = [ [[package]] name = "actor-system-error" -version = "1.6.1" +version = "1.6.2" dependencies = [ "derive_more 0.99.18", ] @@ -2178,7 +2178,7 @@ dependencies = [ [[package]] name = "calc-stack-height" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "env_logger", @@ -2202,7 +2202,7 @@ dependencies = [ [[package]] name = "cargo-gbuild" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "cargo_metadata 0.18.1", @@ -3052,7 +3052,7 @@ dependencies = [ [[package]] name = "crates-io" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "cargo-http-registry", @@ -3580,7 +3580,7 @@ dependencies = [ [[package]] name = "demo-create-program-reentrance" -version = "1.6.1" +version = "1.6.2" dependencies = [ "gear-wasm-builder", "gstd", @@ -5094,7 +5094,7 @@ dependencies = [ [[package]] name = "ethexe-cli" -version = "1.6.1" +version = "1.6.2" dependencies = [ "alloy", "anyhow", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "ethexe-common" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "derive_more 0.99.18", @@ -5149,7 +5149,7 @@ dependencies = [ [[package]] name = "ethexe-db" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -5167,7 +5167,7 @@ dependencies = [ [[package]] name = "ethexe-ethereum" -version = "1.6.1" +version = "1.6.2" dependencies = [ "alloy", "anyhow", @@ -5187,7 +5187,7 @@ dependencies = [ [[package]] name = "ethexe-network" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "async-trait", @@ -5210,7 +5210,7 @@ dependencies = [ [[package]] name = "ethexe-observer" -version = "1.6.1" +version = "1.6.2" dependencies = [ "alloy", "anyhow", @@ -5233,7 +5233,7 @@ dependencies = [ [[package]] name = "ethexe-processor" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "demo-async", @@ -5261,7 +5261,7 @@ dependencies = [ [[package]] name = "ethexe-prometheus-endpoint" -version = "1.6.1" +version = "1.6.2" dependencies = [ "hyper 0.14.27", "log", @@ -5272,7 +5272,7 @@ dependencies = [ [[package]] name = "ethexe-rpc" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "ethexe-common", @@ -5293,7 +5293,7 @@ dependencies = [ [[package]] name = "ethexe-runtime" -version = "1.6.1" +version = "1.6.2" dependencies = [ "ethexe-runtime-common", "gear-core", @@ -5308,7 +5308,7 @@ dependencies = [ [[package]] name = "ethexe-runtime-common" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "ethexe-common", @@ -5324,7 +5324,7 @@ dependencies = [ [[package]] name = "ethexe-sequencer" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "ethexe-common", @@ -5343,7 +5343,7 @@ dependencies = [ [[package]] name = "ethexe-signer" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "derive_more 0.99.18", @@ -5359,7 +5359,7 @@ dependencies = [ [[package]] name = "ethexe-utils" -version = "1.6.1" +version = "1.6.2" dependencies = [ "async-channel 1.9.0", "futures", @@ -5373,7 +5373,7 @@ dependencies = [ [[package]] name = "ethexe-validator" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "ethexe-common", @@ -6249,14 +6249,14 @@ dependencies = [ [[package]] name = "galloc" -version = "1.6.1" +version = "1.6.2" dependencies = [ "gear-dlmalloc", ] [[package]] name = "gbuiltin-bls381" -version = "1.6.1" +version = "1.6.2" dependencies = [ "ark-bls12-381", "ark-ec", @@ -6269,7 +6269,7 @@ dependencies = [ [[package]] name = "gbuiltin-eth-bridge" -version = "1.6.1" +version = "1.6.2" dependencies = [ "gprimitives", "parity-scale-codec", @@ -6278,7 +6278,7 @@ dependencies = [ [[package]] name = "gbuiltin-staking" -version = "1.6.1" +version = "1.6.2" dependencies = [ "derive_more 0.99.18", "gprimitives", @@ -6287,7 +6287,7 @@ dependencies = [ [[package]] name = "gcli" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "async-trait", @@ -6328,7 +6328,7 @@ dependencies = [ [[package]] name = "gclient" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "ark-bls12-381", @@ -6377,7 +6377,7 @@ dependencies = [ [[package]] name = "gcore" -version = "1.6.1" +version = "1.6.2" dependencies = [ "galloc", "gear-core-errors", @@ -6389,7 +6389,7 @@ dependencies = [ [[package]] name = "gear-authorship" -version = "1.6.1" +version = "1.6.2" dependencies = [ "demo-constructor", "env_logger", @@ -6461,7 +6461,7 @@ dependencies = [ [[package]] name = "gear-cli" -version = "1.6.1" +version = "1.6.2" dependencies = [ "clap 4.5.9", "frame-benchmarking", @@ -6492,7 +6492,7 @@ dependencies = [ [[package]] name = "gear-common" -version = "1.6.1" +version = "1.6.2" dependencies = [ "derive_more 0.99.18", "enum-iterator 1.5.0", @@ -6518,7 +6518,7 @@ dependencies = [ [[package]] name = "gear-common-codegen" -version = "1.6.1" +version = "1.6.2" dependencies = [ "quote", "syn 2.0.71", @@ -6526,7 +6526,7 @@ dependencies = [ [[package]] name = "gear-core" -version = "1.6.1" +version = "1.6.2" dependencies = [ "blake2 0.10.6", "byteorder", @@ -6557,7 +6557,7 @@ dependencies = [ [[package]] name = "gear-core-backend" -version = "1.6.1" +version = "1.6.2" dependencies = [ "actor-system-error", "blake2 0.10.6", @@ -6575,7 +6575,7 @@ dependencies = [ [[package]] name = "gear-core-errors" -version = "1.6.1" +version = "1.6.2" dependencies = [ "derive_more 0.99.18", "enum-iterator 1.5.0", @@ -6585,7 +6585,7 @@ dependencies = [ [[package]] name = "gear-core-processor" -version = "1.6.1" +version = "1.6.2" dependencies = [ "actor-system-error", "derive_more 0.99.18", @@ -6617,7 +6617,7 @@ dependencies = [ [[package]] name = "gear-key-finder" -version = "1.6.1" +version = "1.6.2" dependencies = [ "directories", "hex", @@ -6625,7 +6625,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages" -version = "1.6.1" +version = "1.6.2" dependencies = [ "cfg-if", "derive_more 0.99.18", @@ -6647,7 +6647,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages-common" -version = "1.6.1" +version = "1.6.2" dependencies = [ "gear-core", "num_enum 0.6.1", @@ -6656,7 +6656,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages-interface" -version = "1.6.1" +version = "1.6.2" dependencies = [ "byteorder", "gear-core", @@ -6668,7 +6668,7 @@ dependencies = [ [[package]] name = "gear-lazy-pages-native-interface" -version = "1.6.1" +version = "1.6.2" dependencies = [ "gear-core", "gear-lazy-pages", @@ -6679,7 +6679,7 @@ dependencies = [ [[package]] name = "gear-node-loader" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "clap 4.5.9", @@ -6707,7 +6707,7 @@ dependencies = [ [[package]] name = "gear-node-testing" -version = "1.6.1" +version = "1.6.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6746,7 +6746,7 @@ dependencies = [ [[package]] name = "gear-node-wrapper" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "rand 0.8.5", @@ -6797,7 +6797,7 @@ dependencies = [ [[package]] name = "gear-runtime-common" -version = "1.6.1" +version = "1.6.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6823,7 +6823,7 @@ dependencies = [ [[package]] name = "gear-runtime-interface" -version = "1.6.1" +version = "1.6.2" dependencies = [ "ark-bls12-381", "ark-ec", @@ -6845,7 +6845,7 @@ dependencies = [ [[package]] name = "gear-runtime-primitives" -version = "1.6.1" +version = "1.6.2" dependencies = [ "sp-core", "sp-runtime", @@ -6853,7 +6853,7 @@ dependencies = [ [[package]] name = "gear-sandbox" -version = "1.6.1" +version = "1.6.2" dependencies = [ "assert_matches", "gear-sandbox-env", @@ -6869,7 +6869,7 @@ dependencies = [ [[package]] name = "gear-sandbox-env" -version = "1.6.1" +version = "1.6.2" dependencies = [ "parity-scale-codec", "sp-debug-derive 8.0.0", @@ -6879,7 +6879,7 @@ dependencies = [ [[package]] name = "gear-sandbox-host" -version = "1.6.1" +version = "1.6.2" dependencies = [ "defer", "environmental", @@ -6899,7 +6899,7 @@ dependencies = [ [[package]] name = "gear-sandbox-interface" -version = "1.6.1" +version = "1.6.2" dependencies = [ "gear-sandbox-host", "log", @@ -6910,7 +6910,7 @@ dependencies = [ [[package]] name = "gear-service" -version = "1.6.1" +version = "1.6.2" dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", @@ -6991,7 +6991,7 @@ dependencies = [ [[package]] name = "gear-ss58" -version = "1.6.1" +version = "1.6.2" dependencies = [ "blake2 0.10.6", "bs58 0.5.1", @@ -7000,14 +7000,14 @@ dependencies = [ [[package]] name = "gear-stack-buffer" -version = "1.6.1" +version = "1.6.2" dependencies = [ "cc", ] [[package]] name = "gear-utils" -version = "1.6.1" +version = "1.6.2" dependencies = [ "env_logger", "gear-core", @@ -7044,7 +7044,7 @@ checksum = "bbfbfa701dc65e683fcd2fb24f046bcef22634acbdf47ad14724637dc39ad05b" [[package]] name = "gear-wasm-builder" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "cargo_metadata 0.18.1", @@ -7094,7 +7094,7 @@ dependencies = [ [[package]] name = "gear-wasm-instrument" -version = "1.6.1" +version = "1.6.2" dependencies = [ "derive_more 0.99.18", "enum-iterator 1.5.0", @@ -7105,7 +7105,7 @@ dependencies = [ [[package]] name = "gear-wasm-optimizer" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "colored", @@ -7321,7 +7321,7 @@ dependencies = [ [[package]] name = "gmeta" -version = "1.6.1" +version = "1.6.2" dependencies = [ "blake2 0.10.6", "derive_more 0.99.18", @@ -7335,7 +7335,7 @@ dependencies = [ [[package]] name = "gmeta-codegen" -version = "1.6.1" +version = "1.6.2" dependencies = [ "gmeta", "gstd", @@ -7348,7 +7348,7 @@ dependencies = [ [[package]] name = "gprimitives" -version = "1.6.1" +version = "1.6.2" dependencies = [ "derive_more 0.99.18", "gear-ss58", @@ -7361,7 +7361,7 @@ dependencies = [ [[package]] name = "gring" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "base64 0.21.7", @@ -7392,7 +7392,7 @@ dependencies = [ [[package]] name = "gsdk" -version = "1.6.1" +version = "1.6.2" dependencies = [ "anyhow", "base64 0.21.7", @@ -7449,7 +7449,7 @@ dependencies = [ [[package]] name = "gsdk-codegen" -version = "1.6.1" +version = "1.6.2" dependencies = [ "proc-macro2", "quote", @@ -7458,7 +7458,7 @@ dependencies = [ [[package]] name = "gstd" -version = "1.6.1" +version = "1.6.2" dependencies = [ "arrayvec 0.7.4", "const_format", @@ -7477,7 +7477,7 @@ dependencies = [ [[package]] name = "gstd-codegen" -version = "1.6.1" +version = "1.6.2" dependencies = [ "gprimitives", "gstd", @@ -7489,11 +7489,11 @@ dependencies = [ [[package]] name = "gsys" -version = "1.6.1" +version = "1.6.2" [[package]] name = "gtest" -version = "1.6.1" +version = "1.6.2" dependencies = [ "cargo_toml", "colored", @@ -11046,7 +11046,7 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "numerated" -version = "1.6.1" +version = "1.6.2" dependencies = [ "derive_more 0.99.18", "env_logger", @@ -11401,7 +11401,7 @@ dependencies = [ [[package]] name = "pallet-gear" -version = "1.6.1" +version = "1.6.2" dependencies = [ "blake2 0.10.6", "demo-async", @@ -11503,7 +11503,7 @@ dependencies = [ [[package]] name = "pallet-gear-bank" -version = "1.6.1" +version = "1.6.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -11521,7 +11521,7 @@ dependencies = [ [[package]] name = "pallet-gear-builtin" -version = "1.6.1" +version = "1.6.2" dependencies = [ "ark-bls12-381", "ark-ec", @@ -11576,7 +11576,7 @@ dependencies = [ [[package]] name = "pallet-gear-builtin-rpc" -version = "1.6.1" +version = "1.6.2" dependencies = [ "jsonrpsee 0.16.3", "pallet-gear-builtin-rpc-runtime-api", @@ -11588,7 +11588,7 @@ dependencies = [ [[package]] name = "pallet-gear-builtin-rpc-runtime-api" -version = "1.6.1" +version = "1.6.2" dependencies = [ "sp-api", "sp-core", @@ -11596,7 +11596,7 @@ dependencies = [ [[package]] name = "pallet-gear-debug" -version = "1.6.1" +version = "1.6.2" dependencies = [ "demo-vec", "env_logger", @@ -11631,7 +11631,7 @@ dependencies = [ [[package]] name = "pallet-gear-eth-bridge" -version = "1.6.1" +version = "1.6.2" dependencies = [ "binary-merkle-tree", "env_logger", @@ -11672,7 +11672,7 @@ dependencies = [ [[package]] name = "pallet-gear-eth-bridge-rpc" -version = "1.6.1" +version = "1.6.2" dependencies = [ "jsonrpsee 0.16.3", "pallet-gear-eth-bridge-rpc-runtime-api", @@ -11684,7 +11684,7 @@ dependencies = [ [[package]] name = "pallet-gear-eth-bridge-rpc-runtime-api" -version = "1.6.1" +version = "1.6.2" dependencies = [ "pallet-gear-eth-bridge", "sp-api", @@ -11693,7 +11693,7 @@ dependencies = [ [[package]] name = "pallet-gear-gas" -version = "1.6.1" +version = "1.6.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -11721,7 +11721,7 @@ dependencies = [ [[package]] name = "pallet-gear-messenger" -version = "1.6.1" +version = "1.6.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -11746,7 +11746,7 @@ dependencies = [ [[package]] name = "pallet-gear-payment" -version = "1.6.1" +version = "1.6.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -11779,7 +11779,7 @@ dependencies = [ [[package]] name = "pallet-gear-proc-macro" -version = "1.6.1" +version = "1.6.2" dependencies = [ "proc-macro2", "quote", @@ -11788,7 +11788,7 @@ dependencies = [ [[package]] name = "pallet-gear-program" -version = "1.6.1" +version = "1.6.2" dependencies = [ "env_logger", "frame-support", @@ -11815,7 +11815,7 @@ dependencies = [ [[package]] name = "pallet-gear-rpc" -version = "1.6.1" +version = "1.6.2" dependencies = [ "gear-common", "gear-core", @@ -11831,7 +11831,7 @@ dependencies = [ [[package]] name = "pallet-gear-rpc-runtime-api" -version = "1.6.1" +version = "1.6.2" dependencies = [ "pallet-gear", "sp-api", @@ -11842,7 +11842,7 @@ dependencies = [ [[package]] name = "pallet-gear-scheduler" -version = "1.6.1" +version = "1.6.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -11873,7 +11873,7 @@ dependencies = [ [[package]] name = "pallet-gear-staking-rewards" -version = "1.6.1" +version = "1.6.2" dependencies = [ "env_logger", "frame-benchmarking", @@ -11907,7 +11907,7 @@ dependencies = [ [[package]] name = "pallet-gear-staking-rewards-rpc" -version = "1.6.1" +version = "1.6.2" dependencies = [ "jsonrpsee 0.16.3", "pallet-gear-staking-rewards-rpc-runtime-api", @@ -11918,7 +11918,7 @@ dependencies = [ [[package]] name = "pallet-gear-staking-rewards-rpc-runtime-api" -version = "1.6.1" +version = "1.6.2" dependencies = [ "pallet-gear-staking-rewards", "sp-api", @@ -11926,7 +11926,7 @@ dependencies = [ [[package]] name = "pallet-gear-voucher" -version = "1.6.1" +version = "1.6.2" dependencies = [ "derive_more 0.99.18", "env_logger", @@ -18852,7 +18852,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "vara-runtime" -version = "1.6.1" +version = "1.6.2" dependencies = [ "const-str", "env_logger", @@ -19238,7 +19238,7 @@ dependencies = [ [[package]] name = "wasm-proc" -version = "1.6.1" +version = "1.6.2" dependencies = [ "clap 4.5.9", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 2635f1a4b02..c0ce76527e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "1.6.1" +version = "1.6.2" authors = ["Gear Technologies"] edition = "2021" license = "GPL-3.0"