From a0edfd57f0500bd6469b7669640663931eae70e4 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Sat, 30 Nov 2019 20:31:12 +0100 Subject: [PATCH] Nicks are 32 bytes (#634) * Nicks 32 bytes * Bump runtime version * Update lock --- polkadot/Cargo.lock | 112 +++++++++++----------- 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 | 4 +- 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, 74 insertions(+), 74 deletions(-) diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index f4db3f0089..ff8166d524 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -11,11 +11,11 @@ dependencies = [ [[package]] name = "adder" -version = "0.7.0" +version = "0.7.1" 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.0", + "polkadot-parachain 0.7.1", "sr-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.0", + "adder 0.7.1", "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.0", - "polkadot-parachain 0.7.0", - "polkadot-primitives 0.7.0", + "polkadot-collator 0.7.1", + "polkadot-parachain 0.7.1", + "polkadot-primitives 0.7.1", "substrate-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "substrate-client-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -1508,7 +1508,7 @@ dependencies = [ [[package]] name = "halt" -version = "0.7.0" +version = "0.7.1" dependencies = [ "substrate-wasm-builder-runner 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3456,18 +3456,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "polkadot" -version = "0.7.0" +version = "0.7.1" 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.0", - "polkadot-service 0.7.0", + "polkadot-cli 0.7.1", + "polkadot-service 0.7.1", "vergen 3.0.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "polkadot-availability-store" -version = "0.7.0" +version = "0.7.1" dependencies = [ "kvdb 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "kvdb-memorydb 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3475,18 +3475,18 @@ 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-primitives 0.7.0", + "polkadot-primitives 0.7.1", "substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", ] [[package]] name = "polkadot-cli" -version = "0.7.0" +version = "0.7.1" 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.0", + "polkadot-service 0.7.1", "structopt 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "substrate-cli 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3494,18 +3494,18 @@ dependencies = [ [[package]] name = "polkadot-collator" -version = "0.7.0" +version = "0.7.1" 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.0", - "polkadot-network 0.7.0", - "polkadot-primitives 0.7.0", - "polkadot-runtime 0.7.0", - "polkadot-service 0.7.0", - "polkadot-validation 0.7.0", + "polkadot-cli 0.7.1", + "polkadot-network 0.7.1", + "polkadot-primitives 0.7.1", + "polkadot-runtime 0.7.1", + "polkadot-service 0.7.1", + "polkadot-validation 0.7.1", "substrate-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "substrate-client-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "substrate-consensus-common 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3517,10 +3517,10 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.7.0" +version = "0.7.1" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-primitives 0.7.0", + "polkadot-primitives 0.7.1", "reed-solomon-erasure 4.0.0 (git+https://github.com/paritytech/reed-solomon-erasure)", "substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "substrate-trie 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3528,15 +3528,15 @@ dependencies = [ [[package]] name = "polkadot-executor" -version = "0.7.0" +version = "0.7.1" dependencies = [ - "polkadot-runtime 0.7.0", + "polkadot-runtime 0.7.1", "substrate-executor 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", ] [[package]] name = "polkadot-network" -version = "0.7.0" +version = "0.7.1" 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)", @@ -3545,9 +3545,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-availability-store 0.7.0", - "polkadot-primitives 0.7.0", - "polkadot-validation 0.7.0", + "polkadot-availability-store 0.7.1", + "polkadot-primitives 0.7.1", + "polkadot-validation 0.7.1", "sp-blockchain 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sr-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3559,11 +3559,11 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.7.0" +version = "0.7.1" dependencies = [ - "adder 0.7.0", + "adder 0.7.1", "derive_more 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)", - "halt 0.7.0", + "halt 0.7.1", "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)", @@ -3578,12 +3578,12 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.7.0" +version = "0.7.1" 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.0", + "polkadot-parachain 0.7.1", "pretty_assertions 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", "sr-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3597,12 +3597,12 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.7.0" +version = "0.7.1" 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.0", - "polkadot-runtime 0.7.0", + "polkadot-primitives 0.7.1", + "polkadot-runtime 0.7.1", "sp-transaction-pool-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "substrate-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3612,7 +3612,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.7.0" +version = "0.7.1" 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)", @@ -3646,8 +3646,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.0", - "polkadot-primitives 0.7.0", + "polkadot-parachain 0.7.1", + "polkadot-primitives 0.7.1", "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)", @@ -3677,7 +3677,7 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.7.0" +version = "0.7.1" 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)", @@ -3689,13 +3689,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.0", - "polkadot-executor 0.7.0", - "polkadot-network 0.7.0", - "polkadot-primitives 0.7.0", - "polkadot-rpc 0.7.0", - "polkadot-runtime 0.7.0", - "polkadot-validation 0.7.0", + "polkadot-availability-store 0.7.1", + "polkadot-executor 0.7.1", + "polkadot-network 0.7.1", + "polkadot-primitives 0.7.1", + "polkadot-rpc 0.7.1", + "polkadot-runtime 0.7.1", + "polkadot-validation 0.7.1", "sc-transaction-pool 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "sp-transaction-pool-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3723,16 +3723,16 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.7.0" +version = "0.7.1" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "polkadot-primitives 0.7.0", + "polkadot-primitives 0.7.1", "substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", ] [[package]] name = "polkadot-validation" -version = "0.7.0" +version = "0.7.1" 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)", @@ -3745,11 +3745,11 @@ 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.0", - "polkadot-parachain 0.7.0", - "polkadot-primitives 0.7.0", - "polkadot-runtime 0.7.0", - "polkadot-statement-table 0.7.0", + "polkadot-availability-store 0.7.1", + "polkadot-parachain 0.7.1", + "polkadot-primitives 0.7.1", + "polkadot-runtime 0.7.1", + "polkadot-statement-table 0.7.1", "sp-blockchain 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sp-timestamp 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sp-transaction-pool-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", diff --git a/polkadot/Cargo.toml b/polkadot/Cargo.toml index 53742279f3..e2748dc165 100644 --- a/polkadot/Cargo.toml +++ b/polkadot/Cargo.toml @@ -4,7 +4,7 @@ path = "src/main.rs" [package] name = "polkadot" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] build = "build.rs" edition = "2018" diff --git a/polkadot/availability-store/Cargo.toml b/polkadot/availability-store/Cargo.toml index 2c76666686..1e2069dff4 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.0" +version = "0.7.1" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/cli/Cargo.toml b/polkadot/cli/Cargo.toml index fb8c79a7b1..869e4f6765 100644 --- a/polkadot/cli/Cargo.toml +++ b/polkadot/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-cli" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] description = "Polkadot node implementation in Rust." edition = "2018" diff --git a/polkadot/collator/Cargo.toml b/polkadot/collator/Cargo.toml index 59b2e21929..9ad1453dd6 100644 --- a/polkadot/collator/Cargo.toml +++ b/polkadot/collator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-collator" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] description = "Collator node implementation" edition = "2018" diff --git a/polkadot/erasure-coding/Cargo.toml b/polkadot/erasure-coding/Cargo.toml index a188b11dd0..d5a261aad9 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.0" +version = "0.7.1" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/executor/Cargo.toml b/polkadot/executor/Cargo.toml index 272ac4e6c4..bda355869b 100644 --- a/polkadot/executor/Cargo.toml +++ b/polkadot/executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-executor" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] description = "Polkadot node implementation in Rust." edition = "2018" diff --git a/polkadot/network/Cargo.toml b/polkadot/network/Cargo.toml index f72253a807..d1b82de19d 100644 --- a/polkadot/network/Cargo.toml +++ b/polkadot/network/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-network" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] description = "Polkadot-specific networking protocol" edition = "2018" diff --git a/polkadot/parachain/Cargo.toml b/polkadot/parachain/Cargo.toml index a6b27771de..7a9b5778fe 100644 --- a/polkadot/parachain/Cargo.toml +++ b/polkadot/parachain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-parachain" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] 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 e264bdf55d..86d2324bf1 100644 --- a/polkadot/primitives/Cargo.toml +++ b/polkadot/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-primitives" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/rpc/Cargo.toml b/polkadot/rpc/Cargo.toml index 08074a498b..a23f254607 100644 --- a/polkadot/rpc/Cargo.toml +++ b/polkadot/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-rpc" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/runtime/Cargo.toml b/polkadot/runtime/Cargo.toml index 03fc88df36..598660196d 100644 --- a/polkadot/runtime/Cargo.toml +++ b/polkadot/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] edition = "2018" build = "build.rs" diff --git a/polkadot/runtime/src/lib.rs b/polkadot/runtime/src/lib.rs index 0e79a0cc9e..51808a3da2 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: 1020, + spec_version: 1021, impl_version: 0, apis: RUNTIME_API_VERSIONS, }; @@ -540,7 +540,7 @@ impl sudo::Trait for Runtime { parameter_types! { pub const ReservationFee: Balance = 1 * DOLLARS; pub const MinLength: usize = 3; - pub const MaxLength: usize = 16; + pub const MaxLength: usize = 32; } impl nicks::Trait for Runtime { diff --git a/polkadot/service/Cargo.toml b/polkadot/service/Cargo.toml index 8322382d12..4f9dae5d05 100644 --- a/polkadot/service/Cargo.toml +++ b/polkadot/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-service" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/statement-table/Cargo.toml b/polkadot/statement-table/Cargo.toml index d5c364d05b..dfcedaef0c 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.0" +version = "0.7.1" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/test-parachains/adder/Cargo.toml b/polkadot/test-parachains/adder/Cargo.toml index cc3c44b8b9..f05bbf9dde 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.0" +version = "0.7.1" authors = ["Parity Technologies "] 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 5333995e5f..c2706a0c9a 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.0" +version = "0.7.1" authors = ["Parity Technologies "] description = "Test parachain which executes forever" edition = "2018" diff --git a/polkadot/validation/Cargo.toml b/polkadot/validation/Cargo.toml index 2d6f2bd10a..c16fd96b0b 100644 --- a/polkadot/validation/Cargo.toml +++ b/polkadot/validation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-validation" -version = "0.7.0" +version = "0.7.1" authors = ["Parity Technologies "] edition = "2018"