From aaadcdb580e6dcc0913b152bbca2f57c76093059 Mon Sep 17 00:00:00 2001 From: Dmitrii Novikov Date: Wed, 8 May 2024 17:30:03 +0400 Subject: [PATCH] chores(versioning): Bump schedule to force re-instrumentation (#3952) --- pallets/gear/src/schedule.rs | 2 +- utils/wasm-instrument/src/gas_metering/schedule.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/gear/src/schedule.rs b/pallets/gear/src/schedule.rs index 11ad1bd6012..f9d1e63c9e5 100644 --- a/pallets/gear/src/schedule.rs +++ b/pallets/gear/src/schedule.rs @@ -796,7 +796,7 @@ impl Default for Limits { impl Default for InstructionWeights { fn default() -> Self { Self { - version: 1300, + version: 1400, i64const: cost_instr!(instr_i64const, 1), i64load: cost_instr!(instr_i64load, 0), i32load: cost_instr!(instr_i32load, 0), diff --git a/utils/wasm-instrument/src/gas_metering/schedule.rs b/utils/wasm-instrument/src/gas_metering/schedule.rs index c7c7c386f89..225ffd6abd5 100644 --- a/utils/wasm-instrument/src/gas_metering/schedule.rs +++ b/utils/wasm-instrument/src/gas_metering/schedule.rs @@ -192,7 +192,7 @@ pub struct InstructionWeights { impl Default for InstructionWeights { fn default() -> Self { Self { - version: 1300, + version: 1400, i64const: 139, i64load: 6691, i32load: 6697,