Unverified Commit 58d3ec40 authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Bump versions (#736)

* Fix up Kusama balance constants

* Bump versions

* Fix for the --dev option
parent cc53599f
Pipeline #73740 passed with stages
in 19 minutes and 58 seconds
This diff is collapsed.
...@@ -4,7 +4,7 @@ path = "src/main.rs" ...@@ -4,7 +4,7 @@ path = "src/main.rs"
[package] [package]
name = "polkadot" name = "polkadot"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs" build = "build.rs"
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-availability-store" name = "polkadot-availability-store"
description = "Persistent database for parachain data" description = "Persistent database for parachain data"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-cli" name = "polkadot-cli"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot node implementation in Rust." description = "Polkadot node implementation in Rust."
edition = "2018" edition = "2018"
......
...@@ -38,6 +38,7 @@ pub use service::{ ...@@ -38,6 +38,7 @@ pub use service::{
pub use cli::{VersionInfo, IntoExit, NoCustom, SharedParams}; pub use cli::{VersionInfo, IntoExit, NoCustom, SharedParams};
pub use cli::{display_role, error}; pub use cli::{display_role, error};
use futures::io::Chain;
/// Load the `ChainSpec` for the given `id`. /// Load the `ChainSpec` for the given `id`.
pub fn load_spec(id: &str) -> Result<Option<service::ChainSpec>, String> { pub fn load_spec(id: &str) -> Result<Option<service::ChainSpec>, String> {
...@@ -125,7 +126,8 @@ where ...@@ -125,7 +126,8 @@ where
info!("{}", version.name); info!("{}", version.name);
info!(" version {}", config.full_version()); info!(" version {}", config.full_version());
info!(" by {}, 2017-2019", version.author); info!(" by {}, 2017-2019", version.author);
info!("Chain specification: {} (native: {})", config.chain_spec.name(), D::native_version().runtime_version); info!("Chain specification: {}", config.chain_spec.name());
info!("Native runtime: {}", D::native_version().runtime_version);
if is_kusama { if is_kusama {
info!("----------------------------"); info!("----------------------------");
info!("This chain is not in any way"); info!("This chain is not in any way");
......
[package] [package]
name = "polkadot-collator" name = "polkadot-collator"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Collator node implementation" description = "Collator node implementation"
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-erasure-coding" name = "polkadot-erasure-coding"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-network" name = "polkadot-network"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot-specific networking protocol" description = "Polkadot-specific networking protocol"
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-parachain" name = "polkadot-parachain"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Types and utilities for creating and working with parachains" description = "Types and utilities for creating and working with parachains"
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-primitives" name = "polkadot-primitives"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-rpc" name = "polkadot-rpc"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-runtime-common" name = "polkadot-runtime-common"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "kusama-runtime" name = "kusama-runtime"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
......
...@@ -19,7 +19,7 @@ pub mod currency { ...@@ -19,7 +19,7 @@ pub mod currency {
use primitives::Balance; use primitives::Balance;
pub const DOTS: Balance = 1_000_000_000_000; pub const DOTS: Balance = 1_000_000_000_000;
pub const DOLLARS: Balance = DOTS / 100; pub const DOLLARS: Balance = DOTS;
pub const CENTS: Balance = DOLLARS / 100; pub const CENTS: Balance = DOLLARS / 100;
pub const MILLICENTS: Balance = CENTS / 1_000; pub const MILLICENTS: Balance = CENTS / 1_000;
} }
......
...@@ -78,7 +78,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { ...@@ -78,7 +78,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("kusama"), spec_name: create_runtime_str!("kusama"),
impl_name: create_runtime_str!("parity-kusama"), impl_name: create_runtime_str!("parity-kusama"),
authoring_version: 2, authoring_version: 2,
spec_version: 1034, spec_version: 1035,
impl_version: 1, impl_version: 1,
apis: RUNTIME_API_VERSIONS, apis: RUNTIME_API_VERSIONS,
}; };
...@@ -159,7 +159,7 @@ impl indices::Trait for Runtime { ...@@ -159,7 +159,7 @@ impl indices::Trait for Runtime {
} }
parameter_types! { parameter_types! {
pub const ExistentialDeposit: Balance = 100 * CENTS; pub const ExistentialDeposit: Balance = 1 * CENTS;
pub const TransferFee: Balance = 1 * CENTS; pub const TransferFee: Balance = 1 * CENTS;
pub const CreationFee: Balance = 1 * CENTS; pub const CreationFee: Balance = 1 * CENTS;
} }
...@@ -269,10 +269,11 @@ pallet_staking_reward_curve::build! { ...@@ -269,10 +269,11 @@ pallet_staking_reward_curve::build! {
} }
parameter_types! { parameter_types! {
// Six sessions in an era (24 hours). // Six sessions in an era (6 hours).
pub const SessionsPerEra: SessionIndex = 6; pub const SessionsPerEra: SessionIndex = 6;
// 28 eras for unbonding (28 days). // 28 eras for unbonding (7 days).
pub const BondingDuration: staking::EraIndex = 28; pub const BondingDuration: staking::EraIndex = 28;
// 28 eras in which slashes can be cancelled (7 days).
pub const SlashDeferDuration: staking::EraIndex = 28; pub const SlashDeferDuration: staking::EraIndex = 28;
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
} }
...@@ -298,11 +299,11 @@ parameter_types! { ...@@ -298,11 +299,11 @@ parameter_types! {
pub const LaunchPeriod: BlockNumber = 7 * DAYS; pub const LaunchPeriod: BlockNumber = 7 * DAYS;
pub const VotingPeriod: BlockNumber = 7 * DAYS; pub const VotingPeriod: BlockNumber = 7 * DAYS;
pub const EmergencyVotingPeriod: BlockNumber = 3 * HOURS; pub const EmergencyVotingPeriod: BlockNumber = 3 * HOURS;
pub const MinimumDeposit: Balance = 100 * DOLLARS; pub const MinimumDeposit: Balance = 1 * DOLLARS;
pub const EnactmentPeriod: BlockNumber = 8 * DAYS; pub const EnactmentPeriod: BlockNumber = 8 * DAYS;
pub const CooloffPeriod: BlockNumber = 7 * DAYS; pub const CooloffPeriod: BlockNumber = 7 * DAYS;
// One cent: $10,000 / MB // One cent: $10,000 / MB
pub const PreimageByteDeposit: Balance = 1 * CENTS; pub const PreimageByteDeposit: Balance = 10 * MILLICENTS;
} }
impl democracy::Trait for Runtime { impl democracy::Trait for Runtime {
...@@ -342,8 +343,8 @@ impl collective::Trait<CouncilCollective> for Runtime { ...@@ -342,8 +343,8 @@ impl collective::Trait<CouncilCollective> for Runtime {
} }
parameter_types! { parameter_types! {
pub const CandidacyBond: Balance = 100 * DOLLARS; pub const CandidacyBond: Balance = 1 * DOLLARS;
pub const VotingBond: Balance = 5 * DOLLARS; pub const VotingBond: Balance = 5 * CENTS;
/// Daily council elections. /// Daily council elections.
pub const TermDuration: BlockNumber = 24 * HOURS; pub const TermDuration: BlockNumber = 24 * HOURS;
pub const DesiredMembers: u32 = 13; pub const DesiredMembers: u32 = 13;
...@@ -384,7 +385,7 @@ impl membership::Trait<membership::Instance1> for Runtime { ...@@ -384,7 +385,7 @@ impl membership::Trait<membership::Instance1> for Runtime {
parameter_types! { parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5); pub const ProposalBond: Permill = Permill::from_percent(5);
pub const ProposalBondMinimum: Balance = 2_000 * DOLLARS; pub const ProposalBondMinimum: Balance = 20 * DOLLARS;
pub const SpendPeriod: BlockNumber = 6 * DAYS; pub const SpendPeriod: BlockNumber = 6 * DAYS;
pub const Burn: Permill = Permill::from_percent(0); pub const Burn: Permill = Permill::from_percent(0);
} }
...@@ -459,7 +460,7 @@ impl parachains::Trait for Runtime { ...@@ -459,7 +460,7 @@ impl parachains::Trait for Runtime {
} }
parameter_types! { parameter_types! {
pub const ParathreadDeposit: Balance = 500 * DOLLARS; pub const ParathreadDeposit: Balance = 5 * DOLLARS;
pub const QueueSize: usize = 2; pub const QueueSize: usize = 2;
pub const MaxRetries: u32 = 3; pub const MaxRetries: u32 = 3;
} }
...@@ -500,9 +501,9 @@ impl claims::Trait for Runtime { ...@@ -500,9 +501,9 @@ impl claims::Trait for Runtime {
parameter_types! { parameter_types! {
// Minimum 100 bytes/KSM deposited (1 CENT/byte) // Minimum 100 bytes/KSM deposited (1 CENT/byte)
pub const BasicDeposit: Balance = 1000 * DOLLARS; // 258 bytes on-chain pub const BasicDeposit: Balance = 10 * DOLLARS; // 258 bytes on-chain
pub const FieldDeposit: Balance = 250 * DOLLARS; // 66 bytes on-chain pub const FieldDeposit: Balance = 250 * CENTS; // 66 bytes on-chain
pub const SubAccountDeposit: Balance = 200 * DOLLARS; // 53 bytes on-chain pub const SubAccountDeposit: Balance = 2 * DOLLARS; // 53 bytes on-chain
pub const MaximumSubAccounts: u32 = 100; pub const MaximumSubAccounts: u32 = 100;
} }
...@@ -520,9 +521,9 @@ impl identity::Trait for Runtime { ...@@ -520,9 +521,9 @@ impl identity::Trait for Runtime {
parameter_types! { parameter_types! {
// One storage item; value is size 4+4+16+32 bytes = 56 bytes. // One storage item; value is size 4+4+16+32 bytes = 56 bytes.
pub const MultisigDepositBase: Balance = 30 * DOLLARS; pub const MultisigDepositBase: Balance = 30 * CENTS;
// Additional storage item size of 32 bytes. // Additional storage item size of 32 bytes.
pub const MultisigDepositFactor: Balance = 5 * DOLLARS; pub const MultisigDepositFactor: Balance = 5 * CENTS;
pub const MaxSignatories: u16 = 100; pub const MaxSignatories: u16 = 100;
} }
......
[package] [package]
name = "polkadot-runtime" name = "polkadot-runtime"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
......
[package] [package]
name = "polkadot-service" name = "polkadot-service"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-statement-table" name = "polkadot-statement-table"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "adder" name = "adder"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Test parachain which adds to a number as its state transition" description = "Test parachain which adds to a number as its state transition"
edition = "2018" edition = "2018"
......
[package] [package]
name = "halt" name = "halt"
version = "0.7.13" version = "0.7.14"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Test parachain which executes forever" description = "Test parachain which executes forever"
edition = "2018" edition = "2018"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment