From 771b5a2eaba0c0f5cdbb18d904c5e7d48289e27c Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 16 Dec 2023 23:06:39 +0100 Subject: [PATCH] decrease block time to 6s and bump spec version --- Cargo.lock | 4 ++-- node/Cargo.toml | 2 +- runtime/Cargo.toml | 2 +- runtime/src/lib.rs | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b3cf3f7..8984620 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3039,7 +3039,7 @@ dependencies = [ [[package]] name = "integritee-node" -version = "1.1.3" +version = "1.1.4" dependencies = [ "clap", "frame-benchmarking", @@ -3084,7 +3084,7 @@ dependencies = [ [[package]] name = "integritee-node-runtime" -version = "1.1.35" +version = "1.1.36" dependencies = [ "frame-benchmarking", "frame-executive", diff --git a/node/Cargo.toml b/node/Cargo.toml index ba76f16..0194b54 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -8,7 +8,7 @@ license = 'Apache-2.0' name = 'integritee-node' repository = 'https://github.com/integritee-network/integritee-node' # Align major.minor revision with the runtimes, bump patch revision ad lib. Make this the github release tag. -version = '1.1.3' +version = '1.1.4' [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 1a9cc65..9cbb831 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -6,7 +6,7 @@ license = 'Apache-2.0' name = 'integritee-node-runtime' repository = 'https://github.com/integritee-network/integritee-node' # keep patch revision with spec_version of runtime -version = '1.1.35' +version = '1.1.36' [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 463f497..18def2e 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -141,7 +141,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { /// 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: 35, + spec_version: 36, /// Version of the implementation of the specification. Nodes are free to ignore this; it /// serves only as an indication that the code is different; as long as the other two versions @@ -172,7 +172,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { /// up by `pallet_aura` to implement `fn slot_duration()`. /// /// Change this to adjust the block time. -pub const MILLISECS_PER_BLOCK: u64 = 12000; +pub const MILLISECS_PER_BLOCK: u64 = 6000; // NOTE: Currently it is not possible to change the slot duration after the chain has started. // Attempting to do so will brick block production.