From 0bf7d294babf051c4671a9b30016893642e3bafd Mon Sep 17 00:00:00 2001 From: Gavin Wood <gavin@parity.io> Date: Wed, 4 Dec 2019 16:14:21 +0100 Subject: [PATCH] Tweak some Kusama params (#659) * Tweak some Kusama params - Council elections daily - No treasury burn - Bonding/slash defer periods of 7 days * Bump runtime * Bump version --- polkadot/Cargo.lock | 120 +++++++++++----------- polkadot/Cargo.toml | 2 +- polkadot/availability-store/Cargo.toml | 2 +- polkadot/cli/Cargo.toml | 2 +- polkadot/collator/Cargo.toml | 2 +- polkadot/erasure-coding/Cargo.toml | 2 +- polkadot/executor/Cargo.toml | 2 +- polkadot/network/Cargo.toml | 2 +- polkadot/parachain/Cargo.toml | 2 +- polkadot/primitives/Cargo.toml | 2 +- polkadot/rpc/Cargo.toml | 2 +- polkadot/runtime/Cargo.toml | 2 +- polkadot/runtime/src/lib.rs | 25 +++-- polkadot/service/Cargo.toml | 2 +- polkadot/statement-table/Cargo.toml | 2 +- polkadot/test-parachains/adder/Cargo.toml | 2 +- polkadot/test-parachains/halt/Cargo.toml | 2 +- polkadot/validation/Cargo.toml | 2 +- 18 files changed, 88 insertions(+), 89 deletions(-) diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index fe8c2560ae5..63647dac7d3 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -11,11 +11,11 @@ dependencies = [ [[package]] name = "adder" -version = "0.7.7" +version = "0.7.8" dependencies = [ "dlmalloc 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-parachain 0.7.7", + "polkadot-parachain 0.7.8", "sp-io 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "substrate-wasm-builder-runner 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "tiny-keccak 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -25,14 +25,14 @@ dependencies = [ name = "adder-collator" version = "0.1.0" dependencies = [ - "adder 0.7.7", + "adder 0.7.8", "ctrlc 3.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "exit-future 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-collator 0.7.7", - "polkadot-parachain 0.7.7", - "polkadot-primitives 0.7.7", + "polkadot-collator 0.7.8", + "polkadot-parachain 0.7.8", + "polkadot-primitives 0.7.8", "sc-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-client-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sp-core 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -1521,7 +1521,7 @@ dependencies = [ [[package]] name = "halt" -version = "0.7.7" +version = "0.7.8" dependencies = [ "substrate-wasm-builder-runner 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3455,18 +3455,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "polkadot" -version = "0.7.7" +version = "0.7.8" dependencies = [ "ctrlc 3.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-cli 0.7.7", - "polkadot-service 0.7.7", + "polkadot-cli 0.7.8", + "polkadot-service 0.7.8", "vergen 3.0.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "polkadot-availability-store" -version = "0.7.7" +version = "0.7.8" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "exit-future 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3478,9 +3478,9 @@ dependencies = [ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-erasure-coding 0.7.7", - "polkadot-primitives 0.7.7", - "polkadot-runtime 0.7.7", + "polkadot-erasure-coding 0.7.8", + "polkadot-primitives 0.7.8", + "polkadot-runtime 0.7.8", "sc-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-client-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-keystore 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3495,12 +3495,12 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.7.7" +version = "0.7.8" dependencies = [ "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-service 0.7.7", + "polkadot-service 0.7.8", "sc-cli 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "structopt 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3508,18 +3508,18 @@ dependencies = [ [[package]] name = "polkadot-collator" -version = "0.7.7" +version = "0.7.8" dependencies = [ "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "futures-timer 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-cli 0.7.7", - "polkadot-network 0.7.7", - "polkadot-primitives 0.7.7", - "polkadot-runtime 0.7.7", - "polkadot-service 0.7.7", - "polkadot-validation 0.7.7", + "polkadot-cli 0.7.8", + "polkadot-network 0.7.8", + "polkadot-primitives 0.7.8", + "polkadot-runtime 0.7.8", + "polkadot-service 0.7.8", + "polkadot-validation 0.7.8", "sc-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-client-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-network 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3531,11 +3531,11 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.7.7" +version = "0.7.8" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-primitives 0.7.7", + "polkadot-primitives 0.7.8", "reed-solomon-erasure 4.0.0 (git+https://github.com/paritytech/reed-solomon-erasure)", "sp-core 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sp-trie 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3543,15 +3543,15 @@ dependencies = [ [[package]] name = "polkadot-executor" -version = "0.7.7" +version = "0.7.8" dependencies = [ - "polkadot-runtime 0.7.7", + "polkadot-runtime 0.7.8", "sc-executor 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", ] [[package]] name = "polkadot-network" -version = "0.7.7" +version = "0.7.8" dependencies = [ "arrayvec 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", "exit-future 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3560,10 +3560,10 @@ dependencies = [ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-availability-store 0.7.7", - "polkadot-erasure-coding 0.7.7", - "polkadot-primitives 0.7.7", - "polkadot-validation 0.7.7", + "polkadot-availability-store 0.7.8", + "polkadot-erasure-coding 0.7.8", + "polkadot-primitives 0.7.8", + "polkadot-validation 0.7.8", "sc-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-network 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sp-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3575,11 +3575,11 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.7.7" +version = "0.7.8" dependencies = [ - "adder 0.7.7", + "adder 0.7.8", "derive_more 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)", - "halt 0.7.7", + "halt 0.7.8", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3594,12 +3594,12 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.7.7" +version = "0.7.8" dependencies = [ "bitvec 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "pallet-babe 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-parachain 0.7.7", + "polkadot-parachain 0.7.8", "pretty_assertions 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "sc-application-crypto 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3614,12 +3614,12 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.7.7" +version = "0.7.8" dependencies = [ "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "pallet-transaction-payment-rpc 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", - "polkadot-primitives 0.7.7", - "polkadot-runtime 0.7.7", + "polkadot-primitives 0.7.8", + "polkadot-runtime 0.7.8", "sc-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-rpc 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sp-runtime 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3629,7 +3629,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.7.7" +version = "0.7.8" dependencies = [ "bitvec 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "frame-executive 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3662,8 +3662,8 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "pallet-treasury 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-parachain 0.7.7", - "polkadot-primitives 0.7.7", + "polkadot-parachain 0.7.8", + "polkadot-primitives 0.7.8", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3693,7 +3693,7 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.7.7" +version = "0.7.8" dependencies = [ "exit-future 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3705,13 +3705,13 @@ dependencies = [ "pallet-im-online 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "pallet-staking 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-availability-store 0.7.7", - "polkadot-executor 0.7.7", - "polkadot-network 0.7.7", - "polkadot-primitives 0.7.7", - "polkadot-rpc 0.7.7", - "polkadot-runtime 0.7.7", - "polkadot-validation 0.7.7", + "polkadot-availability-store 0.7.8", + "polkadot-executor 0.7.8", + "polkadot-network 0.7.8", + "polkadot-primitives 0.7.8", + "polkadot-rpc 0.7.8", + "polkadot-runtime 0.7.8", + "polkadot-validation 0.7.8", "sc-authority-discovery 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-client-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3739,16 +3739,16 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.7.7" +version = "0.7.8" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-primitives 0.7.7", + "polkadot-primitives 0.7.8", "sp-core 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", ] [[package]] name = "polkadot-validation" -version = "0.7.7" +version = "0.7.8" dependencies = [ "async-std 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "bitvec 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3761,12 +3761,12 @@ dependencies = [ "pallet-babe 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-availability-store 0.7.7", - "polkadot-erasure-coding 0.7.7", - "polkadot-parachain 0.7.7", - "polkadot-primitives 0.7.7", - "polkadot-runtime 0.7.7", - "polkadot-statement-table 0.7.7", + "polkadot-availability-store 0.7.8", + "polkadot-erasure-coding 0.7.8", + "polkadot-parachain 0.7.8", + "polkadot-primitives 0.7.8", + "polkadot-runtime 0.7.8", + "polkadot-statement-table 0.7.8", "sc-block-builder 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-client-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-finality-grandpa 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", diff --git a/polkadot/Cargo.toml b/polkadot/Cargo.toml index 432cd5cde6f..2cd335de51a 100644 --- a/polkadot/Cargo.toml +++ b/polkadot/Cargo.toml @@ -4,7 +4,7 @@ path = "src/main.rs" [package] name = "polkadot" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] build = "build.rs" edition = "2018" diff --git a/polkadot/availability-store/Cargo.toml b/polkadot/availability-store/Cargo.toml index 6245b8a9cea..899ee248d0e 100644 --- a/polkadot/availability-store/Cargo.toml +++ b/polkadot/availability-store/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "polkadot-availability-store" description = "Persistent database for parachain data" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" diff --git a/polkadot/cli/Cargo.toml b/polkadot/cli/Cargo.toml index d86e3811616..a876916d405 100644 --- a/polkadot/cli/Cargo.toml +++ b/polkadot/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-cli" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] description = "Polkadot node implementation in Rust." edition = "2018" diff --git a/polkadot/collator/Cargo.toml b/polkadot/collator/Cargo.toml index e59fa7c2499..facfb068cae 100644 --- a/polkadot/collator/Cargo.toml +++ b/polkadot/collator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-collator" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] description = "Collator node implementation" edition = "2018" diff --git a/polkadot/erasure-coding/Cargo.toml b/polkadot/erasure-coding/Cargo.toml index ca57c60f93e..a035f5260ba 100644 --- a/polkadot/erasure-coding/Cargo.toml +++ b/polkadot/erasure-coding/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-erasure-coding" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" diff --git a/polkadot/executor/Cargo.toml b/polkadot/executor/Cargo.toml index 0d08c45dbb6..e44eabe9c4d 100644 --- a/polkadot/executor/Cargo.toml +++ b/polkadot/executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-executor" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] description = "Polkadot node implementation in Rust." edition = "2018" diff --git a/polkadot/network/Cargo.toml b/polkadot/network/Cargo.toml index 74d0b9181a2..5d69cb093bb 100644 --- a/polkadot/network/Cargo.toml +++ b/polkadot/network/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-network" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] description = "Polkadot-specific networking protocol" edition = "2018" diff --git a/polkadot/parachain/Cargo.toml b/polkadot/parachain/Cargo.toml index d7f5b6c6030..53c0e28e500 100644 --- a/polkadot/parachain/Cargo.toml +++ b/polkadot/parachain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-parachain" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] description = "Types and utilities for creating and working with parachains" edition = "2018" diff --git a/polkadot/primitives/Cargo.toml b/polkadot/primitives/Cargo.toml index 0ca0d4c747d..d230c94f8f1 100644 --- a/polkadot/primitives/Cargo.toml +++ b/polkadot/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-primitives" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" diff --git a/polkadot/rpc/Cargo.toml b/polkadot/rpc/Cargo.toml index 3f9eeea5799..d60dcd5b4da 100644 --- a/polkadot/rpc/Cargo.toml +++ b/polkadot/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-rpc" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" diff --git a/polkadot/runtime/Cargo.toml b/polkadot/runtime/Cargo.toml index 49671deb299..e4b23a7e348 100644 --- a/polkadot/runtime/Cargo.toml +++ b/polkadot/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" build = "build.rs" diff --git a/polkadot/runtime/src/lib.rs b/polkadot/runtime/src/lib.rs index 416af62568e..47092e761c4 100644 --- a/polkadot/runtime/src/lib.rs +++ b/polkadot/runtime/src/lib.rs @@ -97,7 +97,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 1027, + spec_version: 1028, impl_version: 0, apis: RUNTIME_API_VERSIONS, }; @@ -297,12 +297,13 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (24 hours). +// pub const SessionsPerEra: SessionIndex = 6; pub const SessionsPerEra: SessionIndex = 6; // 28 eras for unbonding (28 days). - // KUSAMA: This value is 1/4 of what we expect for the mainnet. - // KUSAMA-launch: 0 for managing the spooning injection. - pub const BondingDuration: staking::EraIndex = 0; - pub const SlashDeferDuration: staking::EraIndex = 7; + // KUSAMA: This value is 1/4 of what we expect for the mainnet, however session length is also + // a quarter, so the figure remains the same. + pub const BondingDuration: staking::EraIndex = 28; + pub const SlashDeferDuration: staking::EraIndex = 28; pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; } @@ -317,9 +318,7 @@ impl staking::Trait for Runtime { type BondingDuration = BondingDuration; type SlashDeferDuration = SlashDeferDuration; // A super-majority of the council can cancel the slash. - // KUSAMA-launch: Any council member can remove a slash. -// type SlashCancelOrigin = collective::EnsureProportionAtLeast<_3, _4, AccountId, CouncilCollective>; - type SlashCancelOrigin = collective::EnsureMember<AccountId, CouncilCollective>; + type SlashCancelOrigin = collective::EnsureProportionAtLeast<_3, _4, AccountId, CouncilCollective>; type SessionInterface = Self; type Time = Timestamp; type RewardCurve = RewardCurve; @@ -329,8 +328,7 @@ parameter_types! { // KUSAMA: These values are 1/4 of what we expect for the mainnet. pub const LaunchPeriod: BlockNumber = 7 * DAYS; pub const VotingPeriod: BlockNumber = 7 * DAYS; - // KUSAMA: This is a bit short; should be increased to 3 hours. - pub const EmergencyVotingPeriod: BlockNumber = 1 * HOURS; + pub const EmergencyVotingPeriod: BlockNumber = 3 * HOURS; pub const MinimumDeposit: Balance = 100 * DOLLARS; pub const EnactmentPeriod: BlockNumber = 8 * DAYS; pub const CooloffPeriod: BlockNumber = 7 * DAYS; @@ -378,7 +376,8 @@ impl collective::Trait<CouncilCollective> for Runtime { parameter_types! { pub const CandidacyBond: Balance = 100 * DOLLARS; pub const VotingBond: Balance = 5 * DOLLARS; - pub const TermDuration: BlockNumber = 2 * HOURS; + /// Daily council elections. + pub const TermDuration: BlockNumber = 24 * HOURS; pub const DesiredMembers: u32 = 13; pub const DesiredRunnersUp: u32 = 7; } @@ -420,8 +419,8 @@ parameter_types! { pub const ProposalBondMinimum: Balance = 100 * DOLLARS; // KUSAMA: This value is 1/4 of that expected for mainnet pub const SpendPeriod: BlockNumber = 6 * DAYS; - // KUSAMA: This value is 1/5 of that expected for mainnet - pub const Burn: Permill = Permill::from_percent(1); + // KUSAMA: No burn - let's try to put it to use! + pub const Burn: Permill = Permill::from_percent(0); } impl treasury::Trait for Runtime { diff --git a/polkadot/service/Cargo.toml b/polkadot/service/Cargo.toml index 17cb36bbf00..e065990acb8 100644 --- a/polkadot/service/Cargo.toml +++ b/polkadot/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-service" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" diff --git a/polkadot/statement-table/Cargo.toml b/polkadot/statement-table/Cargo.toml index 31df8b12819..f7b36033d47 100644 --- a/polkadot/statement-table/Cargo.toml +++ b/polkadot/statement-table/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-statement-table" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" diff --git a/polkadot/test-parachains/adder/Cargo.toml b/polkadot/test-parachains/adder/Cargo.toml index 14dd7965990..4867affada9 100644 --- a/polkadot/test-parachains/adder/Cargo.toml +++ b/polkadot/test-parachains/adder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "adder" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] description = "Test parachain which adds to a number as its state transition" edition = "2018" diff --git a/polkadot/test-parachains/halt/Cargo.toml b/polkadot/test-parachains/halt/Cargo.toml index 54d549d188d..7787dc2aa8c 100644 --- a/polkadot/test-parachains/halt/Cargo.toml +++ b/polkadot/test-parachains/halt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "halt" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] description = "Test parachain which executes forever" edition = "2018" diff --git a/polkadot/validation/Cargo.toml b/polkadot/validation/Cargo.toml index 47a7762bcd7..54f4e932802 100644 --- a/polkadot/validation/Cargo.toml +++ b/polkadot/validation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-validation" -version = "0.7.7" +version = "0.7.8" authors = ["Parity Technologies <admin@parity.io>"] edition = "2018" -- GitLab