From ce5ba9d16111c01ca27f716c1afc09b4a2178074 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 27 May 2020 10:31:30 +0200 Subject: [PATCH 1/9] companion for https://github.com/paritytech/substrate/pull/6132 --- Cargo.lock | 2 ++ runtime/common/Cargo.toml | 1 + runtime/common/src/claims.rs | 2 +- runtime/common/src/lib.rs | 18 ++++++------------ runtime/common/src/parachains.rs | 2 +- runtime/kusama/src/lib.rs | 28 ++++++++++++++-------------- runtime/polkadot/src/lib.rs | 30 +++++++++++++++--------------- runtime/test-runtime/src/lib.rs | 8 +------- runtime/westend/Cargo.toml | 1 + runtime/westend/src/lib.rs | 24 +++++++++++++----------- 10 files changed, 55 insertions(+), 61 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8d72818904e3..ee2c70015f49 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4390,6 +4390,7 @@ dependencies = [ "sp-staking", "sp-std", "sp-trie", + "static_assertions", "trie-db", ] @@ -8545,6 +8546,7 @@ dependencies = [ "sp-transaction-pool", "sp-trie", "sp-version", + "static_assertions", "substrate-wasm-builder-runner 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "tiny-keccak 1.5.0", "trie-db", diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 98c78b61efd9..4b65d681f26b 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -11,6 +11,7 @@ log = { version = "0.3.9", optional = true } rustc-hex = { version = "2.0.1", default-features = false } serde = { version = "1.0.102", default-features = false } serde_derive = { version = "1.0.102", optional = true } +static_assertions = "1.1.0" sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/runtime/common/src/claims.rs b/runtime/common/src/claims.rs index 829e1f6621e1..f8c03ff5af44 100644 --- a/runtime/common/src/claims.rs +++ b/runtime/common/src/claims.rs @@ -684,7 +684,7 @@ mod tests { } parameter_types!{ - pub const Prefix: &'static [u8] = b"Pay RUSTs to the TEST account:"; + pub Prefix: &'static [u8] = b"Pay RUSTs to the TEST account:"; } impl Trait for Test { diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 293a83496ef9..efed7089263e 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -38,33 +38,27 @@ use frame_support::{ parameter_types, traits::{Currency, Filter}, weights::{Weight, constants::WEIGHT_PER_SECOND}, }; - +use static_assertions::const_assert; pub use frame_support::weights::constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}; -#[cfg(feature = "std")] -pub use staking::StakerStatus; -#[cfg(any(feature = "std", test))] -pub use sp_runtime::BuildStorage; -pub use timestamp::Call as TimestampCall; -pub use balances::Call as BalancesCall; -pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; -pub use parachains::Call as ParachainsCall; - /// Implementations of some helper traits passed into runtime modules as associated types. pub use impls::{CurrencyToVoteHandler, TargetedFeeAdjustment, ToAuthor}; use sp_runtime::traits::Dispatchable; pub type NegativeImbalance = as Currency<::AccountId>>::NegativeImbalance; +const AVERAGE_ON_INITIALIZE_WEIGHT: Perbill = Perbill::from_percent(10); parameter_types! { pub const BlockHashCount: BlockNumber = 2400; pub const MaximumBlockWeight: Weight = 2 * WEIGHT_PER_SECOND; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); - pub const MaximumExtrinsicWeight: Weight = AvailableBlockRatio::get() - .saturating_sub(Perbill::from_percent(10)) * MaximumBlockWeight::get(); + pub MaximumExtrinsicWeight: Weight = AvailableBlockRatio::get() + .saturating_sub(AVERAGE_ON_INITIALIZE_WEIGHT) * MaximumBlockWeight::get(); pub const MaximumBlockLength: u32 = 5 * 1024 * 1024; } +const_assert!(AvailableBlockRatio::get().deconstruct() >= AVERAGE_ON_INITIALIZE_WEIGHT.deconstruct()); + /// Apply a given filter to transactions. pub struct TransactionCallFilter, Call>(PhantomData<(T, Call)>); diff --git a/runtime/common/src/parachains.rs b/runtime/common/src/parachains.rs index a343f130e153..8b503c914fc3 100644 --- a/runtime/common/src/parachains.rs +++ b/runtime/common/src/parachains.rs @@ -1811,7 +1811,7 @@ mod tests { } parameter_types! { - pub const OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); + pub OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); } impl offences::Trait for Test { diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index dd395fa2457b..c3ff33c5feab 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -35,7 +35,7 @@ use runtime_common::{attestations, claims, parachains, registrar, slots, }; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, ModuleId, - ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, Perquintill, + ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, Perquintill, PerThing, transaction_validity::{TransactionValidity, TransactionSource, TransactionPriority}, curve::PiecewiseLinear, traits::{ @@ -64,11 +64,6 @@ use static_assertions::const_assert; #[cfg(feature = "std")] pub use staking::StakerStatus; -#[cfg(any(feature = "std", test))] -pub use sp_runtime::BuildStorage; -pub use timestamp::Call as TimestampCall; -pub use balances::Call as BalancesCall; -pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; pub use parachains::Call as ParachainsCall; /// Constant values used within the runtime. @@ -190,10 +185,16 @@ impl balances::Trait for Runtime { parameter_types! { pub const TransactionByteFee: Balance = 10 * MILLICENTS; - // for a sane configuration, this should always be less than `AvailableBlockRatio`. pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); } +// for a sane configuration, this should always be less than `AvailableBlockRatio`. +const_assert!( + TargetBlockFullness::get().deconstruct() < + (AvailableBlockRatio::get().deconstruct() as ::Inner) + * (::ACCURACY / ::ACCURACY as ::Inner) +); + impl transaction_payment::Trait for Runtime { type Currency = Balances; type OnTransactionPayment = DealWithFees; @@ -368,18 +369,17 @@ impl collective::Trait for Runtime { type MaxProposals = CouncilMaxProposals; } -const DESIRED_MEMBERS: u32 = 17; parameter_types! { pub const CandidacyBond: Balance = 1 * DOLLARS; pub const VotingBond: Balance = 5 * CENTS; /// Daily council elections. pub const TermDuration: BlockNumber = 24 * HOURS; - pub const DesiredMembers: u32 = DESIRED_MEMBERS; + pub const DesiredMembers: u32 = 17; pub const DesiredRunnersUp: u32 = 7; pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect"; } // Make sure that there are no more than MAX_MEMBERS members elected via phragmen. -const_assert!(DESIRED_MEMBERS <= collective::MAX_MEMBERS); +const_assert!(DesiredMembers::get() <= collective::MAX_MEMBERS); impl elections_phragmen::Trait for Runtime { type Event = Event; @@ -455,7 +455,7 @@ impl treasury::Trait for Runtime { } parameter_types! { - pub const OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); + pub OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); } impl offences::Trait for Runtime { @@ -507,8 +507,8 @@ impl grandpa::Trait for Runtime { } parameter_types! { - pub const WindowSize: BlockNumber = finality_tracker::DEFAULT_WINDOW_SIZE.into(); - pub const ReportLatency: BlockNumber = finality_tracker::DEFAULT_REPORT_LATENCY.into(); + pub WindowSize: BlockNumber = finality_tracker::DEFAULT_WINDOW_SIZE.into(); + pub ReportLatency: BlockNumber = finality_tracker::DEFAULT_REPORT_LATENCY.into(); } impl finality_tracker::Trait for Runtime { @@ -648,7 +648,7 @@ impl slots::Trait for Runtime { } parameter_types! { - pub const Prefix: &'static [u8] = b"Pay KSMs to the Kusama account:"; + pub Prefix: &'static [u8] = b"Pay KSMs to the Kusama account:"; } impl claims::Trait for Runtime { diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index c3e03911cddb..9009a985a9df 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -36,7 +36,7 @@ use primitives::{ }; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, ModuleId, - ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, Perquintill, + ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, Perquintill, PerThing, transaction_validity::{ TransactionValidity, TransactionSource, TransactionPriority, }, @@ -67,12 +67,7 @@ use static_assertions::const_assert; #[cfg(feature = "std")] pub use staking::StakerStatus; -#[cfg(any(feature = "std", test))] -pub use sp_runtime::BuildStorage; -pub use timestamp::Call as TimestampCall; -pub use balances::Call as BalancesCall; -pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; -pub use parachains::Call as ParachainsCall; +use parachains::Call as ParachainsCall; /// Constant values used within the runtime. pub mod constants; @@ -213,10 +208,16 @@ impl balances::Trait for Runtime { parameter_types! { pub const TransactionByteFee: Balance = 10 * MILLICENTS; - // for a sane configuration, this should always be less than `AvailableBlockRatio`. pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); } +// for a sane configuration, this should always be less than `AvailableBlockRatio`. +const_assert!( + TargetBlockFullness::get().deconstruct() < + (AvailableBlockRatio::get().deconstruct() as ::Inner) + * (::ACCURACY / ::ACCURACY as ::Inner) +); + impl transaction_payment::Trait for Runtime { type Currency = Balances; type OnTransactionPayment = DealWithFees; @@ -390,19 +391,18 @@ impl collective::Trait for Runtime { type MaxProposals = CouncilMaxProposals; } -const DESIRED_MEMBERS: u32 = 13; parameter_types! { pub const CandidacyBond: Balance = 100 * DOLLARS; pub const VotingBond: Balance = 5 * DOLLARS; /// Weekly council elections initially, later monthly. pub const TermDuration: BlockNumber = 7 * DAYS; /// 13 members initially, to be increased to 23 eventually. - pub const DesiredMembers: u32 = DESIRED_MEMBERS; + pub const DesiredMembers: u32 = 13; pub const DesiredRunnersUp: u32 = 20; pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect"; } // Make sure that there are no more than MAX_MEMBERS members elected via phragmen. -const_assert!(DESIRED_MEMBERS <= collective::MAX_MEMBERS); +const_assert!(DesiredMembers::get() <= collective::MAX_MEMBERS); impl elections_phragmen::Trait for Runtime { type Event = Event; @@ -478,7 +478,7 @@ impl treasury::Trait for Runtime { } parameter_types! { - pub const OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); + pub OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); } impl offences::Trait for Runtime { @@ -530,8 +530,8 @@ impl grandpa::Trait for Runtime { } parameter_types! { - pub const WindowSize: BlockNumber = finality_tracker::DEFAULT_WINDOW_SIZE.into(); - pub const ReportLatency: BlockNumber = finality_tracker::DEFAULT_REPORT_LATENCY.into(); + pub WindowSize: BlockNumber = finality_tracker::DEFAULT_WINDOW_SIZE.into(); + pub ReportLatency: BlockNumber = finality_tracker::DEFAULT_REPORT_LATENCY.into(); } impl finality_tracker::Trait for Runtime { @@ -673,7 +673,7 @@ impl slots::Trait for Runtime { } parameter_types! { - pub const Prefix: &'static [u8] = b"Pay DOTs to the Polkadot account:"; + pub Prefix: &'static [u8] = b"Pay DOTs to the Polkadot account:"; } impl claims::Trait for Runtime { diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index ff7c22efa340..55b3d2033f8b 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -59,12 +59,7 @@ use session::historical as session_historical; #[cfg(feature = "std")] pub use staking::StakerStatus; -#[cfg(any(feature = "std", test))] -pub use sp_runtime::BuildStorage; -pub use timestamp::Call as TimestampCall; -pub use balances::Call as BalancesCall; -pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; -pub use parachains::Call as ParachainsCall; +use parachains::Call as ParachainsCall; /// Constant values used within the runtime. pub mod constants; @@ -200,7 +195,6 @@ impl balances::Trait for Runtime { parameter_types! { pub const TransactionByteFee: Balance = 10 * MILLICENTS; - // for a sane configuration, this should always be less than `AvailableBlockRatio`. pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); } diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 14ba9dc0bafb..181f872c0f4d 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -13,6 +13,7 @@ rustc-hex = { version = "2.0.1", default-features = false } serde = { version = "1.0.102", default-features = false } serde_derive = { version = "1.0.102", optional = true } smallvec = "1.4.0" +static_assertions = "1.1.0" authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index eb51cdc000fa..9e6da209a400 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -21,6 +21,7 @@ #![recursion_limit="256"] use sp_std::prelude::*; +use static_assertions::const_assert; use codec::{Encode, Decode}; use primitives::{ AccountId, AccountIndex, Balance, BlockNumber, Hash, Nonce, Signature, Moment, @@ -34,7 +35,7 @@ use runtime_common::{attestations, parachains, registrar, }; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, - ApplyExtrinsicResult, KeyTypeId, Perbill, Perquintill, curve::PiecewiseLinear, + ApplyExtrinsicResult, KeyTypeId, Perbill, Perquintill, curve::PiecewiseLinear, PerThing, transaction_validity::{TransactionValidity, TransactionSource, TransactionPriority}, traits::{ BlakeTwo256, Block as BlockT, OpaqueKeys, ConvertInto, IdentityLookup, @@ -61,12 +62,7 @@ use session::historical as session_historical; #[cfg(feature = "std")] pub use staking::StakerStatus; -#[cfg(any(feature = "std", test))] -pub use sp_runtime::BuildStorage; -pub use timestamp::Call as TimestampCall; -pub use balances::Call as BalancesCall; -pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; -pub use parachains::Call as ParachainsCall; +use parachains::Call as ParachainsCall; /// Constant values used within the runtime. pub mod constants; @@ -179,10 +175,16 @@ impl balances::Trait for Runtime { parameter_types! { pub const TransactionByteFee: Balance = 10 * MILLICENTS; - // for a sane configuration, this should always be less than `AvailableBlockRatio`. pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); } +// for a sane configuration, this should always be less than `AvailableBlockRatio`. +const_assert!( + TargetBlockFullness::get().deconstruct() < + (AvailableBlockRatio::get().deconstruct() as ::Inner) + * (::ACCURACY / ::ACCURACY as ::Inner) +); + impl transaction_payment::Trait for Runtime { type Currency = Balances; type OnTransactionPayment = ToAuthor; @@ -309,7 +311,7 @@ parameter_types! { } parameter_types! { - pub const OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); + pub OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); } impl offences::Trait for Runtime { @@ -361,8 +363,8 @@ impl grandpa::Trait for Runtime { } parameter_types! { - pub const WindowSize: BlockNumber = finality_tracker::DEFAULT_WINDOW_SIZE.into(); - pub const ReportLatency: BlockNumber = finality_tracker::DEFAULT_REPORT_LATENCY.into(); + pub WindowSize: BlockNumber = finality_tracker::DEFAULT_WINDOW_SIZE.into(); + pub ReportLatency: BlockNumber = finality_tracker::DEFAULT_REPORT_LATENCY.into(); } impl finality_tracker::Trait for Runtime { From 4418bb4ef4fcd61e62a07cf0eca09cf3be42803a Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 27 May 2020 10:36:46 +0200 Subject: [PATCH 2/9] Fix more tests --- runtime/test-runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 55b3d2033f8b..269ce0b8e39b 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -418,7 +418,7 @@ impl system::offchain::SigningTypes for Runtime { } parameter_types! { - pub const OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); + pub OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * MaximumBlockWeight::get(); } impl offences::Trait for Runtime { @@ -459,7 +459,7 @@ impl slots::Trait for Runtime { } parameter_types! { - pub const Prefix: &'static [u8] = b"Pay KSMs to the Kusama account:"; + pub Prefix: &'static [u8] = b"Pay KSMs to the Kusama account:"; } impl claims::Trait for Runtime { From 2a738632efb307f3949424482a823bf11f7b3b84 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 27 May 2020 14:42:31 +0200 Subject: [PATCH 3/9] upsub --- Cargo.lock | 969 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 555 insertions(+), 414 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee2c70015f49..1b6f03b18329 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -164,7 +164,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d0864d84b8e07b145449be9a8537db86bf9de5ce03b913214694643b4743502" dependencies = [ "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -187,20 +187,30 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7deb0a829ca7bcfaf5da70b073a8d128619259a7be8216a355e23f00763059e5" +[[package]] +name = "async-macros" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421d59b24c1feea2496e409b3e0a8de23e5fc130a2ddc0b012e551f3b272bba" +dependencies = [ + "futures-core-preview", + "pin-utils", +] + [[package]] name = "async-std" -version = "1.5.0" +version = "0.99.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "538ecb01eb64eecd772087e5b6f7540cbc917f047727339a472dafed2185b267" +checksum = "44501a9f7961bb539b67be0c428b3694e26557046a52759ca7eaf790030a64cc" dependencies = [ - "async-task", - "broadcaster", - "crossbeam-channel", + "async-macros", + "async-task 1.3.1", + "crossbeam-channel 0.3.9", "crossbeam-deque", - "crossbeam-utils", + "crossbeam-utils 0.6.6", "futures-core", "futures-io", - "futures-timer 2.0.2", + "futures-timer 1.0.3", "kv-log-macro", "log 0.4.8", "memchr", @@ -213,6 +223,30 @@ dependencies = [ "slab", ] +[[package]] +name = "async-std" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a45cee2749d880d7066e328a7e161c7470ced883b2fd000ca4643e9f1dd5083a" +dependencies = [ + "async-task 3.0.0", + "crossbeam-utils 0.7.2", + "futures-channel", + "futures-core", + "futures-io", + "futures-timer 3.0.2", + "kv-log-macro", + "log 0.4.8", + "memchr", + "num_cpus", + "once_cell", + "pin-project-lite", + "pin-utils", + "slab", + "smol", + "wasm-bindgen-futures", +] + [[package]] name = "async-task" version = "1.3.1" @@ -223,6 +257,12 @@ dependencies = [ "winapi 0.3.8", ] +[[package]] +name = "async-task" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c17772156ef2829aadc587461c7753af20b7e8db1529bc66855add962a3b35d3" + [[package]] name = "async-tls" version = "0.7.0" @@ -301,9 +341,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.53.2" +version = "0.53.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bb26d6a69a335b8cb0e7c7e9775cd5666611dc50a37177c3f2cedcfc040e8c8" +checksum = "c72a978d268b1d70b0e963217e60fdabd9523a941457a6c42a7315d15c7e89e5" dependencies = [ "bitflags", "cexpr", @@ -315,7 +355,7 @@ dependencies = [ "lazycell", "log 0.4.8", "peeking_take_while", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", "regex", "rustc-hash", @@ -419,20 +459,6 @@ dependencies = [ "byte-tools", ] -[[package]] -name = "broadcaster" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c972e21e0d055a36cf73e4daae870941fe7a8abcd5ac3396aab9e4c126bd87" -dependencies = [ - "futures-channel", - "futures-core", - "futures-sink", - "futures-util", - "parking_lot 0.10.2", - "slab", -] - [[package]] name = "bs58" version = "0.3.1" @@ -748,13 +774,36 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e" +dependencies = [ + "cfg-if", + "crossbeam-channel 0.4.2", + "crossbeam-deque", + "crossbeam-epoch", + "crossbeam-queue", + "crossbeam-utils 0.7.2", +] + +[[package]] +name = "crossbeam-channel" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa" +dependencies = [ + "crossbeam-utils 0.6.6", +] + [[package]] name = "crossbeam-channel" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cced8691919c02aac3cb0a1bc2e9b73d89e832bf9a06fc579d4e71b68a2da061" dependencies = [ - "crossbeam-utils", + "crossbeam-utils 0.7.2", "maybe-uninit", ] @@ -765,7 +814,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" dependencies = [ "crossbeam-epoch", - "crossbeam-utils", + "crossbeam-utils 0.7.2", "maybe-uninit", ] @@ -777,7 +826,7 @@ checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" dependencies = [ "autocfg 1.0.0", "cfg-if", - "crossbeam-utils", + "crossbeam-utils 0.7.2", "lazy_static", "maybe-uninit", "memoffset", @@ -791,7 +840,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" dependencies = [ "cfg-if", - "crossbeam-utils", + "crossbeam-utils 0.7.2", +] + +[[package]] +name = "crossbeam-utils" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6" +dependencies = [ + "cfg-if", + "lazy_static", ] [[package]] @@ -855,9 +914,9 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11c0346158a19b3627234e15596f5e465c360fcdb97d817bcb255e0510f5a788" +checksum = "72aa14c04dfae8dd7d8a2b1cb7ca2152618cd01336dbfe704b8dcbf8d41dbd69" [[package]] name = "derive_more" @@ -891,9 +950,9 @@ version = "0.99.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2127768764f1556535c01b5326ef94bd60ff08dcfbdc544d53e69ed155610f5d" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -1011,9 +1070,9 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -1117,9 +1176,9 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", "synstructure", ] @@ -1208,16 +1267,16 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", ] [[package]] name = "frame-benchmarking" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -1233,8 +1292,8 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1251,8 +1310,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -1266,8 +1325,8 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "11.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "11.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "serde", @@ -1277,8 +1336,8 @@ dependencies = [ [[package]] name = "frame-support" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "bitmask", "frame-metadata", @@ -1302,41 +1361,41 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support-procedural-tools", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] name = "frame-support-procedural-tools" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] name = "frame-system" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1351,8 +1410,8 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -1365,8 +1424,8 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "sp-api", @@ -1449,6 +1508,12 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59f5fff90fd5d971f936ad674802482ba441b6f09ba5e15fd8b39145582ca399" +[[package]] +name = "futures-core-preview" +version = "0.3.0-alpha.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b35b6263fb1ef523c3056565fa67b1d16f0a8604ff12b11b08c25f28a734c60a" + [[package]] name = "futures-cpupool" version = "0.1.8" @@ -1500,9 +1565,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -1520,6 +1585,16 @@ dependencies = [ "once_cell", ] +[[package]] +name = "futures-timer" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7946248e9429ff093345d3e8fdf4eb0f9b2d79091611c9c14f744971a6f8be45" +dependencies = [ + "futures-core-preview", + "pin-utils", +] + [[package]] name = "futures-timer" version = "2.0.2" @@ -1993,9 +2068,9 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -2053,6 +2128,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "0.4.5" @@ -2143,9 +2227,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8609af8f63b626e8e211f52441fcdb6ec54f1a446606b10d5c89ae9bf8a20058" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -2297,9 +2381,9 @@ dependencies = [ [[package]] name = "kv-log-macro" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2d3beed37e5483887d81eb39de6de03a8346531410e1306ca48a9a89bd3a51" +checksum = "4ff57d6d215f7ca7eb35a9a64d656ba4d9d2bef114d741dc08048e75e2f5d418" dependencies = [ "log 0.4.8", ] @@ -2380,9 +2464,9 @@ checksum = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a" [[package]] name = "libc" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3baa92041a6fec78c687fa0cc2b3fae8884f743d672cf551bed1d6dac6988d0f" +checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49" [[package]] name = "libflate" @@ -2452,9 +2536,9 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.19.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80a6000296bdbff540b6c00ef82108ef23aa68d195b9333823ea491562c338d7" +checksum = "4f5e30dcd8cb13a02ad534e214da234eca1595a76b5788b645dfa5c734d2124b" dependencies = [ "asn1_der", "bs58", @@ -2491,7 +2575,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f09548626b737ed64080fde595e06ce1117795b8b9fc4d2629fa36561c583171" dependencies = [ "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -2554,7 +2638,7 @@ version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51b00163d13f705aae67c427bea0575f8aaf63da6524f9bd4a5a093b8bda0b38" dependencies = [ - "async-std", + "async-std 0.99.12", "data-encoding", "dns-parser", "either", @@ -2673,7 +2757,7 @@ version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "309f95fce9bec755eff5406f8b822fd3969990830c2b54f752e1fc181d5ace3e" dependencies = [ - "async-std", + "async-std 0.99.12", "futures 0.3.5", "futures-timer 3.0.2", "get_if_addrs", @@ -2826,9 +2910,9 @@ dependencies = [ [[package]] name = "lru" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348b828e43d7d1d7a247a6ece0c041d95fb0e34d5496bb4c308428face25df6b" +checksum = "9e488db3a9e108382265a30764f43cfc87517322e5d04ae0603b32a33461dca3" dependencies = [ "hashbrown", ] @@ -3019,9 +3103,9 @@ checksum = "d8883adfde9756c1d30b0f519c9b8c502a94b41ac62f696453c37c7fc0a958ce" [[package]] name = "multistream-select" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74cdcf7cfb3402881e15a1f95116cb033d69b33c83d481e1234777f5ef0c3d2c" +checksum = "991c33683908c588b8f2cf66c221d8f390818c1bdcd13fce55208408e027a796" dependencies = [ "bytes 0.5.4", "futures 0.3.5", @@ -3259,8 +3343,8 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3275,8 +3359,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3290,8 +3374,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3312,8 +3396,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3326,8 +3410,8 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3342,8 +3426,8 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3357,8 +3441,8 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3372,8 +3456,8 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3388,8 +3472,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3408,8 +3492,8 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3424,8 +3508,8 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3444,8 +3528,8 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3460,8 +3544,8 @@ dependencies = [ [[package]] name = "pallet-membership" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3474,8 +3558,8 @@ dependencies = [ [[package]] name = "pallet-nicks" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3488,8 +3572,8 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3503,8 +3587,8 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3524,8 +3608,8 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3537,8 +3621,8 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "enumflags2", "frame-support", @@ -3552,8 +3636,8 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3567,8 +3651,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3585,8 +3669,8 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3599,8 +3683,8 @@ dependencies = [ [[package]] name = "pallet-society" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3613,8 +3697,8 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3635,19 +3719,19 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] name = "pallet-sudo" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3660,8 +3744,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3678,8 +3762,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "frame-system", @@ -3692,8 +3776,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -3710,8 +3794,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-support", "parity-scale-codec", @@ -3723,8 +3807,8 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3738,8 +3822,8 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-benchmarking", "frame-support", @@ -3754,8 +3838,8 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3852,9 +3936,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a0ec292e92e8ec7c58e576adacc1e3f399c597c8f263c42f18420abe58e7245" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -3885,8 +3969,8 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ - "proc-macro2 1.0.13", - "syn 1.0.23", + "proc-macro2 1.0.17", + "syn 1.0.27", "synstructure", ] @@ -3948,9 +4032,9 @@ dependencies = [ [[package]] name = "paste" -version = "0.1.12" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a229b1c58c692edcaa5b9b0948084f130f55d2dcc15b02fcc5340b2b4521476" +checksum = "3431e8f72b90f8a7af91dec890d9814000cb371258e0ec7370d93e085361f531" dependencies = [ "paste-impl", "proc-macro-hack", @@ -3958,14 +4042,14 @@ dependencies = [ [[package]] name = "paste-impl" -version = "0.1.12" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e0bf239e447e67ff6d16a8bb5e4d4bd2343acf5066061c0e8e06ac5ba8ca68c" +checksum = "25af5fc872ba284d8d84608bf8a0fa9b5376c96c23f503b007dfd9e34dde5606" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -4004,9 +4088,9 @@ checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" [[package]] name = "petgraph" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c127eea4a29ec6c85d153c59dc1213f33ec74cead30fe4730aecc88cc1fd92" +checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" dependencies = [ "fixedbitset", "indexmap", @@ -4027,9 +4111,9 @@ version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e58db2081ba5b4c93bd6be09c40fd36cb9193a8336c384f3b40012e531aa7e40" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -4044,6 +4128,18 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "piper" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b0deb65f46e873ba8aa7c6a8dbe3f23cb1bf59c339a81a1d56361dde4d66ac8" +dependencies = [ + "crossbeam-utils 0.7.2", + "futures-io", + "futures-sink", + "futures-util", +] + [[package]] name = "pkg-config" version = "0.3.17" @@ -4647,9 +4743,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98e9e4b82e0ef281812565ea4751049f1bdcdfccda7d3f459f2e138a40c08678" dependencies = [ "proc-macro-error-attr", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", "version_check", ] @@ -4659,18 +4755,18 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f5444ead4e9935abd7f27dc51f7e852a0569ac888096d5ec2499470794e2e53" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", "syn-mid", "version_check", ] [[package]] name = "proc-macro-hack" -version = "0.5.15" +version = "0.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d659fe7c6d27f25e9d80a1a094c223f5246f6a6596453e09d7229bf42750b63" +checksum = "7e0456befd48169b9f13ef0f0ad46d492cf9d2dbb918bcf38e01eed4ce3ec5e4" [[package]] name = "proc-macro-nested" @@ -4689,9 +4785,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.13" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53f5ffe53a6b28e37c9c1ce74893477864d64f74778a93a4beb43c8fa167f639" +checksum = "1502d12e458c49a4c9cbff560d0fe0060c252bc29799ed94ca2ed4bb665a0101" dependencies = [ "unicode-xid 0.2.0", ] @@ -4743,7 +4839,7 @@ checksum = "02b10678c913ecbd69350e8535c3aef91a8676c0773fc1d7b95cdd196d7f2f26" dependencies = [ "bytes 0.5.4", "heck", - "itertools", + "itertools 0.8.2", "log 0.4.8", "multimap", "petgraph", @@ -4760,10 +4856,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "537aa19b95acde10a12fec4301466386f757403de4cd4e5b4fa78fb5ecb18f72" dependencies = [ "anyhow", - "itertools", - "proc-macro2 1.0.13", + "itertools 0.8.2", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -4820,7 +4916,7 @@ version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54a21852a652ad6f610c9510194f398ff6f8692e334fd1145fed931f7fbe44ea" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", ] [[package]] @@ -5059,7 +5155,7 @@ checksum = "08a89b46efaf957e52b18062fb2f4660f8b8a4dde1807ca002690868ef2c85a9" dependencies = [ "crossbeam-deque", "crossbeam-queue", - "crossbeam-utils", + "crossbeam-utils 0.7.2", "lazy_static", "num_cpus", ] @@ -5114,9 +5210,9 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "602eb59cda66fcb9aec25841fb76bc01d2b34282dcdd705028da297db6f3eec8" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -5219,7 +5315,7 @@ dependencies = [ "base64 0.11.0", "blake2b_simd", "constant_time_eq", - "crossbeam-utils", + "crossbeam-utils 0.7.2", ] [[package]] @@ -5308,8 +5404,8 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "bytes 0.5.4", "derive_more 0.99.7", @@ -5335,8 +5431,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -5351,8 +5447,8 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -5367,19 +5463,19 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] name = "sc-cli" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "ansi_term 0.12.1", "atty", @@ -5419,8 +5515,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "fnv", @@ -5455,8 +5551,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "blake2-rfc", "hash-db", @@ -5484,8 +5580,8 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "sc-client-api", "sp-blockchain", @@ -5495,8 +5591,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "fork-tree", @@ -5537,8 +5633,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -5560,8 +5656,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "fork-tree", "parity-scale-codec", @@ -5573,8 +5669,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5595,8 +5691,8 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "log 0.4.8", "sc-client-api", @@ -5609,8 +5705,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "lazy_static", @@ -5637,8 +5733,8 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -5654,8 +5750,8 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -5669,8 +5765,8 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -5690,8 +5786,8 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "assert_matches", "derive_more 0.99.7", @@ -5727,8 +5823,8 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "finality-grandpa", @@ -5744,8 +5840,8 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -5761,8 +5857,8 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "hex", @@ -5776,8 +5872,8 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "bitflags", "bs58", @@ -5828,8 +5924,8 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5843,8 +5939,8 @@ dependencies = [ [[package]] name = "sc-network-test" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "env_logger", "futures 0.3.5", @@ -5870,8 +5966,8 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "bytes 0.5.4", "fnv", @@ -5897,8 +5993,8 @@ dependencies = [ [[package]] name = "sc-peerset" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "futures 0.3.5", "libp2p", @@ -5910,8 +6006,8 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "log 0.4.8", "substrate-prometheus-endpoint", @@ -5919,8 +6015,8 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "futures 0.3.5", "hash-db", @@ -5951,8 +6047,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -5975,8 +6071,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -5990,8 +6086,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "exit-future", @@ -6048,8 +6144,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6062,8 +6158,8 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "bytes 0.5.4", "futures 0.3.5", @@ -6084,8 +6180,8 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "erased-serde", "log 0.4.8", @@ -6099,8 +6195,8 @@ dependencies = [ [[package]] name = "sc-transaction-graph" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6119,8 +6215,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6177,6 +6273,12 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" +[[package]] +name = "scoped-tls-hkt" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2e9d7eaddb227e8fbaaa71136ae0e1e913ca159b86c7da82f3e8f0044ad3a63" + [[package]] name = "scopeguard" version = "1.1.0" @@ -6198,9 +6300,9 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e367622f934864ffa1c704ba2b82280aab856e3d8213c84c5720257eb34b15b9" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -6284,9 +6386,9 @@ version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "818fbf6bfa9a42d3bfcaca148547aa00c7b915bec71d1757aa2d44ca68771984" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -6320,9 +6422,9 @@ checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" [[package]] name = "sha2" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27044adfd2e1f077f649f59deb9490d3941d674002f7d062870a60ebe9bd47a0" +checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" dependencies = [ "block-buffer", "digest", @@ -6434,9 +6536,9 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a945ec7f7ce853e89ffa36be1e27dce9a43e82ff9093bf3461c30d5da74ed11b" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -6454,6 +6556,25 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4" +[[package]] +name = "smol" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "686c634ad1873fffef6aed20f180eede424fbf3bb31802394c90fd7335a661b7" +dependencies = [ + "async-task 3.0.0", + "crossbeam", + "futures-io", + "futures-util", + "nix 0.17.0", + "once_cell", + "piper", + "scoped-tls-hkt", + "slab", + "socket2", + "wepoll-binding", +] + [[package]] name = "snow" version = "0.6.2" @@ -6506,8 +6627,8 @@ dependencies = [ [[package]] name = "sp-allocator" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -6518,8 +6639,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "hash-db", "parity-scale-codec", @@ -6533,20 +6654,20 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "blake2-rfc", "proc-macro-crate", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] name = "sp-application-crypto" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "serde", @@ -6557,8 +6678,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "integer-sqrt", "num-traits 0.2.11", @@ -6570,8 +6691,8 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "sp-api", @@ -6582,8 +6703,8 @@ dependencies = [ [[package]] name = "sp-authorship" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6593,8 +6714,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "sp-api", @@ -6605,8 +6726,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -6621,8 +6742,8 @@ dependencies = [ [[package]] name = "sp-chain-spec" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "serde", "serde_json", @@ -6630,8 +6751,8 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6653,8 +6774,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "sp-api", @@ -6667,8 +6788,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "merlin", "parity-scale-codec", @@ -6684,8 +6805,8 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -6696,8 +6817,8 @@ dependencies = [ [[package]] name = "sp-core" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "base58", "blake2-rfc", @@ -6738,8 +6859,8 @@ dependencies = [ [[package]] name = "sp-database" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -6747,18 +6868,18 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] name = "sp-externalities" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "environmental", "parity-scale-codec", @@ -6768,8 +6889,8 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "finality-grandpa", "log 0.4.8", @@ -6784,8 +6905,8 @@ dependencies = [ [[package]] name = "sp-finality-tracker" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6794,8 +6915,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "parity-scale-codec", @@ -6806,8 +6927,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "futures 0.3.5", "hash-db", @@ -6826,8 +6947,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "lazy_static", "sp-core", @@ -6837,8 +6958,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "sp-api", "sp-core", @@ -6847,8 +6968,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "backtrace", "log 0.4.8", @@ -6856,8 +6977,8 @@ dependencies = [ [[package]] name = "sp-phragmen" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "serde", @@ -6868,19 +6989,19 @@ dependencies = [ [[package]] name = "sp-phragmen-compact" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] name = "sp-rpc" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "serde", "sp-core", @@ -6888,8 +7009,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "hash256-std-hasher", "impl-trait-for-tuples", @@ -6909,8 +7030,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "primitive-types", @@ -6924,20 +7045,20 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "Inflector", "proc-macro-crate", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] name = "sp-serializer" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "serde", "serde_json", @@ -6945,8 +7066,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "sp-api", @@ -6958,8 +7079,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -6968,8 +7089,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "hash-db", "log 0.4.8", @@ -6987,13 +7108,13 @@ dependencies = [ [[package]] name = "sp-std" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" [[package]] name = "sp-storage" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -7004,8 +7125,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7018,16 +7139,16 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "tracing", ] [[package]] name = "sp-transaction-pool" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -7041,8 +7162,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "hash-db", "memory-db", @@ -7055,8 +7176,8 @@ dependencies = [ [[package]] name = "sp-utils" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "futures 0.3.5", "futures-core", @@ -7066,8 +7187,8 @@ dependencies = [ [[package]] name = "sp-version" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -7078,8 +7199,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7166,9 +7287,9 @@ checksum = "d239ca4b13aee7a2142e6795cbd69e457665ff8037aed33b3effdc430d2f927a" dependencies = [ "heck", "proc-macro-error", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -7187,9 +7308,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0054a7df764039a6cd8592b9de84be4bec368ff081d203a7d5371cbfa8e65c81" dependencies = [ "heck", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -7206,8 +7327,8 @@ dependencies = [ [[package]] name = "substrate-browser-utils" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "chrono", "clear_on_drop", @@ -7233,16 +7354,16 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "platforms", ] [[package]] name = "substrate-frame-rpc-system" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -7262,10 +7383,10 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.8.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "0.8.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ - "async-std", + "async-std 1.6.0", "derive_more 0.99.7", "futures-util", "hyper 0.13.5", @@ -7276,8 +7397,8 @@ dependencies = [ [[package]] name = "substrate-test-client" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "futures 0.3.5", "hash-db", @@ -7297,8 +7418,8 @@ dependencies = [ [[package]] name = "substrate-test-runtime" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "cfg-if", "frame-executive", @@ -7337,8 +7458,8 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" -version = "2.0.0-rc1" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +version = "2.0.0-rc2" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" dependencies = [ "futures 0.3.5", "parity-scale-codec", @@ -7358,7 +7479,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.6" -source = "git+https://github.com/paritytech/substrate#ffcce8538f08ad64656ac5eb8da783dce1a79eae" +source = "git+https://github.com/paritytech/substrate#2d39ec2c4aaec1cc0f91fcb91734de8f408dc1b2" [[package]] name = "substrate-wasm-builder-runner" @@ -7491,11 +7612,11 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.23" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b5f192649e48a5302a13f2feb224df883b98933222369e4b3b0fe2a5447269" +checksum = "ef781e621ee763a2a40721a8861ec519cb76966aee03bb5d00adb6a31dc1c1de" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", "unicode-xid 0.2.0", ] @@ -7506,9 +7627,9 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -7526,9 +7647,9 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", "unicode-xid 0.2.0", ] @@ -7662,22 +7783,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5976891d6950b4f68477850b5b9e5aa64d955961466f9e174363f573e54e8ca7" +checksum = "b13f926965ad00595dd129fa12823b04bbf866e9085ab0a5f2b05b850fbfc344" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab81dbd1cd69cd2ce22ecfbdd3bdb73334ba25350649408cc6c085f46d89573d" +checksum = "893582086c2f98cde18f906265a65b5030a074b1046c674ae898be6519a7f479" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -7826,7 +7947,7 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" dependencies = [ - "crossbeam-utils", + "crossbeam-utils 0.7.2", "futures 0.1.29", ] @@ -7858,7 +7979,7 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" dependencies = [ - "crossbeam-utils", + "crossbeam-utils 0.7.2", "futures 0.1.29", "lazy_static", "log 0.4.8", @@ -7915,7 +8036,7 @@ checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" dependencies = [ "crossbeam-deque", "crossbeam-queue", - "crossbeam-utils", + "crossbeam-utils 0.7.2", "futures 0.1.29", "lazy_static", "log 0.4.8", @@ -7930,7 +8051,7 @@ version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" dependencies = [ - "crossbeam-utils", + "crossbeam-utils 0.7.2", "futures 0.1.29", "slab", "tokio-executor", @@ -8015,9 +8136,9 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99bbad0de3fd923c9c3232ead88510b783e5a4d16a6154adffa3d53308de984c" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", ] [[package]] @@ -8212,9 +8333,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "version_check" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce" +checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" [[package]] name = "void" @@ -8277,9 +8398,9 @@ dependencies = [ "bumpalo", "lazy_static", "log 0.4.8", - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", "wasm-bindgen-shared", ] @@ -8311,9 +8432,9 @@ version = "0.2.62" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8eb197bd3a47553334907ffd2f16507b4f4f01bbec3ac921a7719e0decdfe72a" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -8476,6 +8597,25 @@ dependencies = [ "webpki", ] +[[package]] +name = "wepoll-binding" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374fff4ff9701ff8b6ad0d14bacd3156c44063632d8c136186ff5967d48999a7" +dependencies = [ + "bitflags", + "wepoll-sys", +] + +[[package]] +name = "wepoll-sys" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9082a777aed991f6769e2b654aa0cb29f1c3d615daf009829b07b66c7aff6a24" +dependencies = [ + "cc", +] + [[package]] name = "westend-runtime" version = "0.8.0" @@ -8672,26 +8812,26 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2" dependencies = [ - "proc-macro2 1.0.13", + "proc-macro2 1.0.17", "quote 1.0.6", - "syn 1.0.23", + "syn 1.0.27", "synstructure", ] [[package]] name = "zstd" -version = "0.5.1+zstd.1.4.4" +version = "0.5.2+zstd.1.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5d978b793ae64375b80baf652919b148f6a496ac8802922d9999f5a553194f" +checksum = "644352b10ce7f333d6e0af85bd4f5322dc449416dc1211c6308e95bca8923db4" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "2.0.3+zstd.1.4.4" +version = "2.0.4+zstd.1.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bee25eac9753cfedd48133fa1736cbd23b774e253d89badbeac7d12b23848d3f" +checksum = "7113c0c9aed2c55181f2d9f5b0a36e7d2c0183b11c058ab40b35987479efe4d7" dependencies = [ "libc", "zstd-sys", @@ -8699,11 +8839,12 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "1.4.15+zstd.1.4.4" +version = "1.4.16+zstd.1.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89719b034dc22d240d5b407fb0a3fe6d29952c181cff9a9f95c0bd40b4f8f7d8" +checksum = "c442965efc45353be5a9b9969c9b0872fff6828c7e06d118dda2cb2d0bb11d5a" dependencies = [ "cc", "glob", + "itertools 0.9.0", "libc", ] From 765a50f03b8a9c6208462d755425faf73756c421 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 27 May 2020 14:48:36 +0200 Subject: [PATCH 4/9] Bump --- runtime/kusama/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index c3ff33c5feab..58bb5f7367f1 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -80,7 +80,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, spec_version: 1064, - impl_version: 0, + impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, }; From 3825b38a683b44057f9bf88ac03020e489e8f440 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Wed, 27 May 2020 15:35:36 +0200 Subject: [PATCH 5/9] Update runtime/common/src/lib.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bastian Köcher --- runtime/common/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index efed7089263e..4dbed3d2d6a8 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -59,7 +59,6 @@ parameter_types! { const_assert!(AvailableBlockRatio::get().deconstruct() >= AVERAGE_ON_INITIALIZE_WEIGHT.deconstruct()); - /// Apply a given filter to transactions. pub struct TransactionCallFilter, Call>(PhantomData<(T, Call)>); From 6192d94c7223e687515eca45e5f57b037117c264 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 27 May 2020 17:02:47 +0200 Subject: [PATCH 6/9] remove cleanup --- runtime/common/src/lib.rs | 9 +++++++++ runtime/kusama/src/lib.rs | 5 +++++ runtime/polkadot/src/lib.rs | 5 +++++ runtime/test-runtime/src/lib.rs | 6 ++++++ runtime/westend/src/lib.rs | 5 +++++ 5 files changed, 30 insertions(+) diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index efed7089263e..492330c0eff2 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -41,6 +41,15 @@ use frame_support::{ use static_assertions::const_assert; pub use frame_support::weights::constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}; +#[cfg(feature = "std")] +pub use staking::StakerStatus; +#[cfg(any(feature = "std", test))] +pub use sp_runtime::BuildStorage; +pub use timestamp::Call as TimestampCall; +pub use balances::Call as BalancesCall; +pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; +pub use parachains::Call as ParachainsCall; + /// Implementations of some helper traits passed into runtime modules as associated types. pub use impls::{CurrencyToVoteHandler, TargetedFeeAdjustment, ToAuthor}; use sp_runtime::traits::Dispatchable; diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 58bb5f7367f1..28be46c111e5 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -64,6 +64,11 @@ use static_assertions::const_assert; #[cfg(feature = "std")] pub use staking::StakerStatus; +#[cfg(any(feature = "std", test))] +pub use sp_runtime::BuildStorage; +pub use timestamp::Call as TimestampCall; +pub use balances::Call as BalancesCall; +pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; pub use parachains::Call as ParachainsCall; /// Constant values used within the runtime. diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 9009a985a9df..4f0cec12891b 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -67,6 +67,11 @@ use static_assertions::const_assert; #[cfg(feature = "std")] pub use staking::StakerStatus; +#[cfg(any(feature = "std", test))] +pub use sp_runtime::BuildStorage; +pub use timestamp::Call as TimestampCall; +pub use balances::Call as BalancesCall; +pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; use parachains::Call as ParachainsCall; /// Constant values used within the runtime. diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 269ce0b8e39b..a6fd9f9e7afc 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -59,6 +59,12 @@ use session::historical as session_historical; #[cfg(feature = "std")] pub use staking::StakerStatus; +#[cfg(any(feature = "std", test))] +pub use sp_runtime::BuildStorage; +pub use timestamp::Call as TimestampCall; +pub use balances::Call as BalancesCall; +pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; +pub use parachains::Call as ParachainsCall; use parachains::Call as ParachainsCall; /// Constant values used within the runtime. diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 9e6da209a400..3a4b36180baf 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -62,6 +62,11 @@ use session::historical as session_historical; #[cfg(feature = "std")] pub use staking::StakerStatus; +#[cfg(any(feature = "std", test))] +pub use sp_runtime::BuildStorage; +pub use timestamp::Call as TimestampCall; +pub use balances::Call as BalancesCall; +pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; use parachains::Call as ParachainsCall; /// Constant values used within the runtime. From 0705c2b29e8ce4f5182c6e518d5b31cfd6bb891f Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Wed, 27 May 2020 17:04:23 +0200 Subject: [PATCH 7/9] Update runtime/westend/src/lib.rs --- runtime/westend/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 3a4b36180baf..c78bce274271 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -67,7 +67,7 @@ pub use sp_runtime::BuildStorage; pub use timestamp::Call as TimestampCall; pub use balances::Call as BalancesCall; pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; -use parachains::Call as ParachainsCall; +pub use parachains::Call as ParachainsCall; /// Constant values used within the runtime. pub mod constants; From a3a200f7b747081e45c9fd6614cfee9c332b4767 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Wed, 27 May 2020 17:05:12 +0200 Subject: [PATCH 8/9] Apply suggestions from code review --- runtime/polkadot/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 4f0cec12891b..adc189d1492f 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -72,7 +72,7 @@ pub use sp_runtime::BuildStorage; pub use timestamp::Call as TimestampCall; pub use balances::Call as BalancesCall; pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; -use parachains::Call as ParachainsCall; +pub use parachains::Call as ParachainsCall; /// Constant values used within the runtime. pub mod constants; From 83ff3d494185d7530fc9252cb672243b08a65f09 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 27 May 2020 17:23:43 +0200 Subject: [PATCH 9/9] Fix build --- runtime/test-runtime/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index a6fd9f9e7afc..bb89250c2b78 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -65,7 +65,6 @@ pub use timestamp::Call as TimestampCall; pub use balances::Call as BalancesCall; pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; pub use parachains::Call as ParachainsCall; -use parachains::Call as ParachainsCall; /// Constant values used within the runtime. pub mod constants;