From 36502dc6056c0e270f2744d7e320d60e225b3d91 Mon Sep 17 00:00:00 2001 From: Peter Goodspeed-Niklaus Date: Thu, 1 Apr 2021 09:32:05 +0200 Subject: [PATCH 01/31] Companion for Decouple Staking and Election - Part 3: Signed Phase https://github.com/paritytech/substrate/pull/7910 --- runtime/kusama/src/lib.rs | 16 ++++ .../pallet_election_provider_multi_phase.rs | 73 ++++++++++------- runtime/polkadot/src/lib.rs | 16 ++++ .../pallet_election_provider_multi_phase.rs | 81 +++++++++++-------- runtime/westend/src/lib.rs | 20 ++++- .../pallet_election_provider_multi_phase.rs | 75 ++++++++++------- 6 files changed, 187 insertions(+), 94 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 9624c6698392..356dfcfdb6d0 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -310,6 +310,12 @@ parameter_types! { pub const SignedPhase: u32 = 0; pub const UnsignedPhase: u32 = EPOCH_DURATION_IN_BLOCKS / 4; + // signed config + pub const SignedMaxSubmissions: u32 = 0; + pub const SignedRewardBase: Balance = 1 * DOLLARS; + pub const SignedDepositBase: Balance = 1 * DOLLARS; + pub const SignedDepositByte: Balance = 1 * CENTS; + // fallback: run election on-chain. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = pallet_election_provider_multi_phase::FallbackStrategy::OnChain; @@ -333,6 +339,16 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type Currency = Balances; type SignedPhase = SignedPhase; type UnsignedPhase = UnsignedPhase; + type SignedMaxSubmissions = SignedMaxSubmissions; + type SignedRewardBase = SignedRewardBase; + type SignedDepositBase = SignedDepositBase; + type SignedDepositByte = SignedDepositByte; + type SignedRewardFactor = (); // no score-based reward + type SignedRewardMax = SignedRewardBase; + type SignedDepositWeight = (); + type SignedMaxWeight = Self::MinerMaxWeight; + type SlashHandler = (); // burn slashes + type RewardHandler = (); // nothing to do upon rewards type SolutionImprovementThreshold = SolutionImprovementThreshold; type MinerMaxIterations = MinerMaxIterations; type MinerMaxWeight = OffchainSolutionWeightLimit; // For now use the one from staking. diff --git a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs index e0aecc26e01e..fcc1d6771f4d 100644 --- a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs @@ -43,53 +43,68 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_election_provider_multi_phase. pub struct WeightInfo(PhantomData); impl pallet_election_provider_multi_phase::WeightInfo for WeightInfo { - fn on_initialize_nothing() -> Weight { - (21_275_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) - } - fn on_initialize_open_signed() -> Weight { - (105_345_000 as Weight) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) - } - fn on_initialize_open_unsigned_with_snapshot() -> Weight { - (104_974_000 as Weight) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) - } fn on_initialize_open_unsigned_without_snapshot() -> Weight { - (18_915_000 as Weight) + (21_039_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn elect_queued() -> Weight { - (7_459_479_000 as Weight) + (7_362_949_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { + fn submit(c: u32, ) -> Weight { + (84_430_000 as Weight) + // Standard Error: 146_000 + .saturating_add((2_758_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 20_000 - .saturating_add((4_075_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 69_000 - .saturating_add((17_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 20_000 - .saturating_add((13_902_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 104_000 - .saturating_add((3_805_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 21_000 + .saturating_add((3_933_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 21_000 + .saturating_add((13_520_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 107_000 + .saturating_add((2_880_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) // Standard Error: 10_000 - .saturating_add((4_208_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((4_069_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 36_000 - .saturating_add((587_000 as Weight).saturating_mul(t as Weight)) + .saturating_add((503_000 as Weight).saturating_mul(t as Weight)) // Standard Error: 10_000 - .saturating_add((10_207_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((10_000_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 54_000 - .saturating_add((3_984_000 as Weight).saturating_mul(d as Weight)) + .saturating_add((3_734_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) } + fn on_initialize_nothing() -> Weight { + (24_128_000 as Weight) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + } + fn on_initialize_open_signed() -> Weight { + (80_951_000 as Weight) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn on_initialize_open_unsigned_with_snapshot() -> Weight { + (79_888_000 as Weight) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn finalize_signed_phase_accept_solution() -> Weight { + (47_783_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } + fn finalize_signed_phase_reject_solution() -> Weight { + (21_277_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 5db5d37f97e5..ed5a1042301d 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -320,6 +320,12 @@ parameter_types! { pub const SignedPhase: u32 = 0; pub const UnsignedPhase: u32 = EPOCH_DURATION_IN_BLOCKS / 4; + // signed config + pub const SignedMaxSubmissions: u32 = 0; + pub const SignedRewardBase: Balance = 1 * DOLLARS; + pub const SignedDepositBase: Balance = 1 * DOLLARS; + pub const SignedDepositByte: Balance = 1 * CENTS; + // fallback: run election on-chain. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = pallet_election_provider_multi_phase::FallbackStrategy::OnChain; @@ -343,6 +349,16 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type Currency = Balances; type SignedPhase = SignedPhase; type UnsignedPhase = UnsignedPhase; + type SignedMaxSubmissions = SignedMaxSubmissions; + type SignedRewardBase = SignedRewardBase; + type SignedDepositBase = SignedDepositBase; + type SignedDepositByte = SignedDepositByte; + type SignedRewardFactor = (); // no score-based reward + type SignedRewardMax = SignedRewardBase; + type SignedDepositWeight = (); + type SignedMaxWeight = Self::MinerMaxWeight; + type SlashHandler = (); // burn slashes + type RewardHandler = (); // nothing to do upon rewards type SolutionImprovementThreshold = SolutionImprovementThreshold; type MinerMaxIterations = MinerMaxIterations; type MinerMaxWeight = OffchainSolutionWeightLimit; // For now use the one from staking. diff --git a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs index 84478f39f784..fdfe94f8b69b 100644 --- a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs @@ -43,53 +43,68 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_election_provider_multi_phase. pub struct WeightInfo(PhantomData); impl pallet_election_provider_multi_phase::WeightInfo for WeightInfo { - fn on_initialize_nothing() -> Weight { - (21_084_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) - } - fn on_initialize_open_signed() -> Weight { - (103_231_000 as Weight) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) - } - fn on_initialize_open_unsigned_with_snapshot() -> Weight { - (101_898_000 as Weight) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) - } fn on_initialize_open_unsigned_without_snapshot() -> Weight { - (19_074_000 as Weight) + (21_039_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn elect_queued() -> Weight { - (7_945_295_000 as Weight) + (7_362_949_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { + fn submit(c: u32, ) -> Weight { + (84_430_000 as Weight) + // Standard Error: 146_000 + .saturating_add((2_758_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 20_000 - .saturating_add((4_102_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 68_000 - .saturating_add((69_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 20_000 - .saturating_add((14_129_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 103_000 - .saturating_add((3_684_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 21_000 + .saturating_add((3_933_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 21_000 + .saturating_add((13_520_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 107_000 + .saturating_add((2_880_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 11_000 - .saturating_add((4_199_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 38_000 - .saturating_add((591_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 11_000 - .saturating_add((10_479_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 58_000 - .saturating_add((4_108_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 10_000 + .saturating_add((4_069_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 36_000 + .saturating_add((503_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 10_000 + .saturating_add((10_000_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 54_000 + .saturating_add((3_734_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) } + fn on_initialize_nothing() -> Weight { + (24_128_000 as Weight) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + } + fn on_initialize_open_signed() -> Weight { + (80_951_000 as Weight) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn on_initialize_open_unsigned_with_snapshot() -> Weight { + (79_888_000 as Weight) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn finalize_signed_phase_accept_solution() -> Weight { + (47_783_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } + fn finalize_signed_phase_reject_solution() -> Weight { + (21_277_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 9709366306d5..a4e75d9e4d43 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -297,10 +297,16 @@ impl pallet_session::historical::Config for Runtime { } parameter_types! { - // no signed phase for now, just unsigned. - pub const SignedPhase: u32 = 0; + // phase durations. 1/4 of the last session for each. + pub const SignedPhase: u32 = EPOCH_DURATION_IN_BLOCKS / 4; pub const UnsignedPhase: u32 = EPOCH_DURATION_IN_BLOCKS / 4; + // signed config + pub const SignedMaxSubmissions: u32 = 128; + pub const SignedRewardBase: Balance = 1 * DOLLARS; + pub const SignedDepositBase: Balance = 1 * DOLLARS; + pub const SignedDepositByte: Balance = 1 * CENTS; + // fallback: run election on-chain. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = pallet_election_provider_multi_phase::FallbackStrategy::OnChain; @@ -325,6 +331,16 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type Currency = Balances; type SignedPhase = SignedPhase; type UnsignedPhase = UnsignedPhase; + type SignedMaxSubmissions = SignedMaxSubmissions; + type SignedRewardBase = SignedRewardBase; + type SignedDepositBase = SignedDepositBase; + type SignedDepositByte = SignedDepositByte; + type SignedRewardFactor = (); // no score-based reward + type SignedRewardMax = SignedRewardBase; + type SignedDepositWeight = (); + type SignedMaxWeight = Self::MinerMaxWeight; + type SlashHandler = (); // burn slashes + type RewardHandler = (); // nothing to do upon rewards type SolutionImprovementThreshold = SolutionImprovementThreshold; type MinerMaxIterations = MinerMaxIterations; type MinerMaxWeight = OffchainSolutionWeightLimit; // For now use the one from staking. diff --git a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs index a37e10da611b..9d55b80b2595 100644 --- a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs @@ -43,53 +43,68 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_election_provider_multi_phase. pub struct WeightInfo(PhantomData); impl pallet_election_provider_multi_phase::WeightInfo for WeightInfo { - fn on_initialize_nothing() -> Weight { - (21_348_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) - } - fn on_initialize_open_signed() -> Weight { - (106_372_000 as Weight) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) - } - fn on_initialize_open_unsigned_with_snapshot() -> Weight { - (105_981_000 as Weight) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) - } fn on_initialize_open_unsigned_without_snapshot() -> Weight { - (18_168_000 as Weight) + (21_039_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn elect_queued() -> Weight { - (7_948_966_000 as Weight) + (7_362_949_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { + fn submit(c: u32, ) -> Weight { + (84_430_000 as Weight) + // Standard Error: 146_000 + .saturating_add((2_758_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) // Standard Error: 21_000 - .saturating_add((4_060_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 70_000 - .saturating_add((19_000 as Weight).saturating_mul(t as Weight)) + .saturating_add((3_933_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 21_000 - .saturating_add((14_215_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 106_000 - .saturating_add((3_698_000 as Weight).saturating_mul(d as Weight)) + .saturating_add((13_520_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 107_000 + .saturating_add((2_880_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 11_000 - .saturating_add((4_190_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 10_000 + .saturating_add((4_069_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 36_000 - .saturating_add((572_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 11_000 - .saturating_add((10_490_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 55_000 - .saturating_add((3_740_000 as Weight).saturating_mul(d as Weight)) + .saturating_add((503_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 10_000 + .saturating_add((10_000_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 54_000 + .saturating_add((3_734_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) } + fn on_initialize_nothing() -> Weight { + (24_128_000 as Weight) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + } + fn on_initialize_open_signed() -> Weight { + (80_951_000 as Weight) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn on_initialize_open_unsigned_with_snapshot() -> Weight { + (79_888_000 as Weight) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn finalize_signed_phase_accept_solution() -> Weight { + (47_783_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } + fn finalize_signed_phase_reject_solution() -> Weight { + (21_277_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } } From 271d3510732a36dc5a3947b6f8808b53ed5788fb Mon Sep 17 00:00:00 2001 From: kianenigma Date: Sat, 29 May 2021 16:00:08 +0200 Subject: [PATCH 02/31] Template added --- Cargo.lock | 2252 +++++++++-------- Cargo.toml | 1 + bridges/bin/millau/node/Cargo.toml | 52 +- bridges/bin/millau/runtime/Cargo.toml | 52 +- bridges/bin/rialto/node/Cargo.toml | 52 +- bridges/bin/rialto/runtime/Cargo.toml | 56 +- bridges/bin/runtime-common/Cargo.toml | 12 +- bridges/fuzz/storage-proof/Cargo.toml | 18 +- bridges/modules/currency-exchange/Cargo.toml | 14 +- bridges/modules/dispatch/Cargo.toml | 12 +- .../ethereum-contract-builtin/Cargo.toml | 10 +- bridges/modules/ethereum/Cargo.toml | 12 +- bridges/modules/grandpa/Cargo.toml | 16 +- bridges/modules/messages/Cargo.toml | 16 +- .../modules/shift-session-manager/Cargo.toml | 14 +- bridges/primitives/chain-kusama/Cargo.toml | 4 +- bridges/primitives/chain-millau/Cargo.toml | 16 +- bridges/primitives/chain-polkadot/Cargo.toml | 4 +- bridges/primitives/chain-rialto/Cargo.toml | 12 +- bridges/primitives/chain-rococo/Cargo.toml | 8 +- bridges/primitives/chain-westend/Cargo.toml | 8 +- bridges/primitives/chain-wococo/Cargo.toml | 8 +- .../primitives/currency-exchange/Cargo.toml | 6 +- bridges/primitives/ethereum-poa/Cargo.toml | 8 +- bridges/primitives/header-chain/Cargo.toml | 10 +- .../primitives/message-dispatch/Cargo.toml | 4 +- bridges/primitives/messages/Cargo.toml | 6 +- bridges/primitives/polkadot-core/Cargo.toml | 14 +- bridges/primitives/runtime/Cargo.toml | 16 +- bridges/primitives/test-utils/Cargo.toml | 8 +- bridges/relays/bin-ethereum/Cargo.toml | 18 +- bridges/relays/bin-substrate/Cargo.toml | 14 +- bridges/relays/client-ethereum/Cargo.toml | 2 +- bridges/relays/client-kusama/Cargo.toml | 12 +- bridges/relays/client-millau/Cargo.toml | 12 +- bridges/relays/client-polkadot/Cargo.toml | 12 +- bridges/relays/client-rialto/Cargo.toml | 12 +- bridges/relays/client-rococo/Cargo.toml | 12 +- bridges/relays/client-substrate/Cargo.toml | 22 +- bridges/relays/client-westend/Cargo.toml | 12 +- bridges/relays/client-wococo/Cargo.toml | 12 +- bridges/relays/utils/Cargo.toml | 2 +- cli/Cargo.toml | 16 +- core-primitives/Cargo.toml | 6 +- erasure-coding/Cargo.toml | 4 +- node/collation-generation/Cargo.toml | 4 +- node/core/approval-voting/Cargo.toml | 22 +- node/core/av-store/Cargo.toml | 4 +- node/core/backing/Cargo.toml | 12 +- node/core/bitfield-signing/Cargo.toml | 2 +- node/core/candidate-selection/Cargo.toml | 4 +- node/core/candidate-validation/Cargo.toml | 6 +- node/core/chain-api/Cargo.toml | 4 +- node/core/parachains-inherent/Cargo.toml | 6 +- node/core/provisioner/Cargo.toml | 4 +- node/core/pvf/Cargo.toml | 14 +- node/core/runtime-api/Cargo.toml | 10 +- node/jaeger/Cargo.toml | 4 +- node/network/approval-distribution/Cargo.toml | 2 +- .../availability-distribution/Cargo.toml | 16 +- node/network/availability-recovery/Cargo.toml | 8 +- node/network/bitfield-distribution/Cargo.toml | 6 +- node/network/bridge/Cargo.toml | 10 +- node/network/collator-protocol/Cargo.toml | 10 +- node/network/gossip-support/Cargo.toml | 10 +- node/network/protocol/Cargo.toml | 2 +- .../network/statement-distribution/Cargo.toml | 18 +- node/overseer/Cargo.toml | 6 +- node/primitives/Cargo.toml | 12 +- node/service/Cargo.toml | 94 +- node/subsystem-test-helpers/Cargo.toml | 4 +- node/subsystem-util/Cargo.toml | 10 +- node/subsystem/Cargo.toml | 6 +- node/test/client/Cargo.toml | 28 +- node/test/service/Cargo.toml | 62 +- parachain/Cargo.toml | 6 +- parachain/test-parachains/Cargo.toml | 2 +- parachain/test-parachains/adder/Cargo.toml | 4 +- .../test-parachains/adder/collator/Cargo.toml | 14 +- primitives/Cargo.toml | 32 +- rpc/Cargo.toml | 46 +- runtime/common/Cargo.toml | 66 +- runtime/common/slot_range_helper/Cargo.toml | 4 +- runtime/kusama/Cargo.toml | 126 +- runtime/kusama/src/lib.rs | 3 +- runtime/parachains/Cargo.toml | 60 +- runtime/polkadot/Cargo.toml | 118 +- runtime/polkadot/src/lib.rs | 3 +- runtime/rococo/Cargo.toml | 84 +- runtime/test-runtime/Cargo.toml | 80 +- runtime/westend/Cargo.toml | 120 +- runtime/westend/src/lib.rs | 3 +- statement-table/Cargo.toml | 2 +- xcm/pallet-xcm/Cargo.toml | 10 +- xcm/xcm-builder/Cargo.toml | 14 +- xcm/xcm-executor/Cargo.toml | 12 +- 96 files changed, 2088 insertions(+), 2010 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6bf618976a42..ba3b27651f00 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,7 +1,5 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 - [[package]] name = "Inflector" version = "0.11.4" @@ -18,14 +16,23 @@ version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7" dependencies = [ - "gimli", + "gimli 0.23.0", +] + +[[package]] +name = "addr2line" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03345e98af8f3d786b6d9f656ccfa6ac316d954e92bc4841f0bba20789d5fb5a" +dependencies = [ + "gimli 0.24.0", ] [[package]] name = "adler" -version = "0.2.2" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccc9a9dd069569f212bc4330af9f17c4afb5e8ce185e83dbb14f1349dda18b10" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aead" @@ -38,9 +45,9 @@ dependencies = [ [[package]] name = "aes" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7001367fde4c768a19d1029f0a8be5abd9308e1119846d5bd9ad26297b8faf5" +checksum = "dd2bc6d3f370b5666245ff421e231cba4353df936e26986d2918e61a8fd6aef6" dependencies = [ "aes-soft", "aesni", @@ -49,53 +56,64 @@ dependencies = [ [[package]] name = "aes-gcm" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f5007801316299f922a6198d1d09a0bae95786815d066d5880d13f7c45ead1" +checksum = "0301c9e9c443494d970a07885e8cf3e587bae8356a1d5abd0999068413f7205f" dependencies = [ "aead", "aes", "block-cipher", "ghash", - "subtle 2.2.3", + "subtle 2.4.0", ] [[package]] name = "aes-soft" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4925647ee64e5056cf231608957ce7c81e12d6d6e316b9ce1404778cc1d35fa7" +checksum = "63dd91889c49327ad7ef3b500fd1109dbd3c509a03db0d4a9ce413b79f575cb6" dependencies = [ "block-cipher", "byteorder", - "opaque-debug 0.2.3", + "opaque-debug 0.3.0", ] [[package]] name = "aesni" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d050d39b0b7688b3a3254394c3e30a9d66c41dcf9b05b0e2dbdc623f6505d264" +checksum = "0a6fe808308bb07d393e2ea47780043ec47683fcf19cf5efc8ca51c50cc8c68a" dependencies = [ "block-cipher", - "opaque-debug 0.2.3", + "opaque-debug 0.3.0", ] [[package]] name = "ahash" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6789e291be47ace86a60303502173d84af8327e3627ecf334356ee0f87a164c" +checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e" [[package]] name = "aho-corasick" -version = "0.7.13" +version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86" +checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" dependencies = [ "memchr", ] +[[package]] +name = "alga" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f823d037a7ec6ea2197046bafd4ae150e6bc36f9ca347404f46a46823fa84f2" +dependencies = [ + "approx 0.3.2", + "num-complex 0.2.4", + "num-traits", +] + [[package]] name = "always-assert" version = "0.1.2" @@ -122,9 +140,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.39" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cddc5f91628367664cc7c69714ff08deee8a3efc54623011c772544d7b2767" +checksum = "28b2cd92db5cbd74e8e5028f7e27dd7aa3090e89e4f2a197cc7c8dfb69c7063b" [[package]] name = "approx" @@ -136,10 +154,13 @@ dependencies = [ ] [[package]] -name = "arc-swap" -version = "0.4.7" +name = "approx" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d25d88fd6b8041580a654f9d0c581a047baee2b3efee13275f2fc392fc75034" +checksum = "3f2a05fd1bd10b2527e20a2cd32d8873d115b8b39fe219ee25f42a8aca6ba278" +dependencies = [ + "num-traits", +] [[package]] name = "arrayref" @@ -176,10 +197,11 @@ checksum = "9d6e24d2cce90c53b948c46271bfb053e4bdc2db9b5d3f65e20f8cf28a1b7fc3" [[package]] name = "assert_cmd" -version = "1.0.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dc1679af9a1ab4bea16f228b05d18f8363f8327b1fa8db00d2760cfafc6b61e" +checksum = "8f57fec1ac7e4de72dcc69811795f1a7172ed06012f80a5d1ee651b62484f588" dependencies = [ + "bstr", "doc-comment", "predicates", "predicates-core", @@ -205,9 +227,9 @@ dependencies = [ [[package]] name = "async-channel" -version = "1.5.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59740d83946db6a5af71ae25ddf9562c2b176b2ca42cf99a455f09f4a220d6b9" +checksum = "2114d64672151c0c5eaa5e131ec84a74f06e1e559830dabba01ca30605d66319" dependencies = [ "concurrent-queue", "event-listener", @@ -246,20 +268,20 @@ dependencies = [ [[package]] name = "async-io" -version = "1.3.1" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9315f8f07556761c3e48fec2e6b276004acf426e6dc068b2c2251854d65ee0fd" +checksum = "4bbfd5cf2794b1e908ea8457e6c45f8f8f1f6ec5f74617bf4662623f47503c3b" dependencies = [ "concurrent-queue", "fastrand", "futures-lite", "libc", "log", - "nb-connect", "once_cell", "parking", "polling", - "vec-arena", + "slab", + "socket2 0.4.0", "waker-fn", "winapi 0.3.9", ] @@ -284,15 +306,16 @@ dependencies = [ [[package]] name = "async-process" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c8cea09c1fb10a317d1b5af8024eeba256d6554763e85ecd90ff8df31c7bbda" +checksum = "a8f38756dd9ac84671c428afbf7c9f7495feff9ec5b0710f17100098e5b354ac" dependencies = [ "async-io", "blocking", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "event-listener", "futures-lite", + "libc", "once_cell", "signal-hook", "winapi 0.3.9", @@ -310,7 +333,7 @@ dependencies = [ "async-io", "async-lock", "async-process", - "crossbeam-utils 0.8.1", + "crossbeam-utils 0.8.4", "futures-channel", "futures-core", "futures-io", @@ -321,7 +344,7 @@ dependencies = [ "memchr", "num_cpus", "once_cell", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", "pin-utils", "slab", "wasm-bindgen-futures", @@ -329,9 +352,9 @@ dependencies = [ [[package]] name = "async-std-resolver" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665c56111e244fe38e7708ee10948a4356ad6a548997c21f5a63a0f4e0edc4d" +checksum = "ed4e2c3da14d8ad45acb1e3191db7a918e9505b6f155b218e70a7c9a1a48c638" dependencies = [ "async-std", "async-trait", @@ -355,16 +378,16 @@ checksum = "2f23d769dbf1838d5df5156e7b1ad404f4c463d1ac2c6aeb6cd943630f8a8400" dependencies = [ "futures-core", "futures-io", - "rustls 0.19.0", - "webpki 0.21.3", + "rustls 0.19.1", + "webpki 0.21.4", "webpki-roots", ] [[package]] name = "async-trait" -version = "0.1.48" +version = "0.1.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36ea56748e10732c49404c153638a15ec3d6211ec5ff35d9bb20e13b93576adf" +checksum = "0b98e84bbb4cbcdd97da190ba0c58a1bb0de2c1fdf67d159e192ed766aeca722" dependencies = [ "proc-macro2", "quote", @@ -381,7 +404,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", ] [[package]] @@ -394,7 +417,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", ] [[package]] @@ -425,21 +448,22 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" +checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "backtrace" -version = "0.3.56" +version = "0.3.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d117600f438b1707d4e4ae15d3595657288f8235a0eb593e80ecc98ab34e1bc" +checksum = "4717cfcbfaa661a0fd48f8453951837ae7e8f81e481fbb136e3202d72805a744" dependencies = [ - "addr2line", + "addr2line 0.15.1", + "cc", "cfg-if 1.0.0", "libc", "miniz_oxide", - "object", + "object 0.24.0", "rustc-demangle", ] @@ -455,12 +479,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5024ee8015f02155eee35c711107ddd9a9bf3cb689cf2a9089c97e79b6e1ae83" -[[package]] -name = "base64" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" - [[package]] name = "base64" version = "0.12.3" @@ -482,10 +500,10 @@ checksum = "6736e2428df2ca2848d846c43e88745121a6654696e349ce0054a420815a7409" [[package]] name = "beefy-gadget" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#6008d67f94262f955017fad3c1648e3206756a60" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#892f757e7d4c45097162451dc5f58154b19513ee" dependencies = [ "beefy-primitives", - "futures 0.3.14", + "futures 0.3.15", "hex", "log", "parity-scale-codec", @@ -510,11 +528,11 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#6008d67f94262f955017fad3c1648e3206756a60" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#892f757e7d4c45097162451dc5f58154b19513ee" dependencies = [ "beefy-gadget", "beefy-primitives", - "futures 0.3.14", + "futures 0.3.15", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -531,7 +549,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#6008d67f94262f955017fad3c1648e3206756a60" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#892f757e7d4c45097162451dc5f58154b19513ee" dependencies = [ "parity-scale-codec", "sp-api", @@ -543,11 +561,10 @@ dependencies = [ [[package]] name = "bincode" -version = "1.3.1" +version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f30d3a39baa26f9651f17b375061f3233dde33424a8b72b0dbe93a68a0bc896d" +checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" dependencies = [ - "byteorder", "serde", ] @@ -578,9 +595,9 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" [[package]] name = "bitvec" -version = "0.20.1" +version = "0.20.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5011ffc90248764d7005b0e10c7294f5aa1bd87d9dd7248f4ad475b347c294d" +checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848" dependencies = [ "funty", "radium", @@ -590,15 +607,13 @@ dependencies = [ [[package]] name = "blake2" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84ce5b6108f8e154604bd4eb76a2f726066c3464d5a552a4229262a18c9bb471" +checksum = "10a5720225ef5daecf08657f23791354e1685a8c91a4c60c7f3d3b2892f978f4" dependencies = [ - "byte-tools", - "byteorder", "crypto-mac 0.8.0", "digest 0.9.0", - "opaque-debug 0.2.3", + "opaque-debug 0.3.0", ] [[package]] @@ -613,9 +628,9 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "0.5.10" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8fb2d74254a3a0b5cac33ac9f8ed0e44aa50378d9dbb2e5d83bd21ed1dc2c8a" +checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587" dependencies = [ "arrayref", "arrayvec 0.5.2", @@ -635,9 +650,9 @@ dependencies = [ [[package]] name = "blake3" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9ff35b701f3914bdb8fad3368d822c766ef2858b2583198e41639b936f09d3f" +checksum = "b64485778c4f16a6a5a9d335e80d449ac6c70cdd6a06d2af18a6f6f775a125b3" dependencies = [ "arrayref", "arrayvec 0.5.2", @@ -657,7 +672,7 @@ dependencies = [ "block-padding 0.1.5", "byte-tools", "byteorder", - "generic-array 0.12.3", + "generic-array 0.12.4", ] [[package]] @@ -672,9 +687,9 @@ dependencies = [ [[package]] name = "block-cipher" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa136449e765dc7faa244561ccae839c394048667929af599b5d931ebe7b7f10" +checksum = "f337a3e6da609650eb74e02bc9fac7b735049f7623ab12f2e4c719316fcc7e80" dependencies = [ "generic-array 0.14.4", ] @@ -819,11 +834,13 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "0.2.13" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931" +checksum = "90682c8d613ad3373e66de8c6411e0ae2ab2571e879d2efbf73558cc66f21279" dependencies = [ + "lazy_static", "memchr", + "regex-automata", ] [[package]] @@ -837,9 +854,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.4.0" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" +checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631" [[package]] name = "byte-slice-cast" @@ -855,9 +872,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "byteorder" -version = "1.3.4" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" @@ -888,23 +905,33 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba" +[[package]] +name = "cargo-platform" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0226944a63d1bf35a3b5f948dd7c59e263db83695c9e8bffc4037de02e30f1d7" +dependencies = [ + "serde", +] + [[package]] name = "cargo_metadata" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83f95cf4bf0dda0ac2e65371ae7215d0dce3c187613a9dbf23aaa9374186f97a" +checksum = "7714a157da7991e23d90686b9524b9e12e0407a108647f52e9328f4b3d51ac7f" dependencies = [ + "cargo-platform", "semver 0.11.0", - "semver-parser 0.10.0", + "semver-parser 0.10.2", "serde", "serde_json", ] [[package]] name = "cc" -version = "1.0.67" +version = "1.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd" +checksum = "4a72c244c1ff497a746a7e1fb3d14bd08420ecda70c8f25c7112f2781652d787" dependencies = [ "jobserver", ] @@ -938,9 +965,9 @@ checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" [[package]] name = "chacha20" -version = "0.4.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "086c0f07ac275808b7bf9a39f2fd013aae1498be83632814c8c4e0bd53f2dc58" +checksum = "244fbce0d47e97e8ef2f63b81d5e05882cb518c68531eb33194990d7b7e85845" dependencies = [ "stream-cipher", "zeroize", @@ -948,9 +975,9 @@ dependencies = [ [[package]] name = "chacha20poly1305" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18b0c90556d8e3fec7cf18d84a2f53d27b21288f2fe481b830fadcf809e48205" +checksum = "9bf18d374d66df0c05cdddd528a7db98f78c28e2519b120855c4f84c5027b1f5" dependencies = [ "aead", "chacha20", @@ -976,9 +1003,9 @@ dependencies = [ [[package]] name = "cid" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d88f30b1e74e7063df5711496f3ee6e74a9735d62062242d70cddf77717f18e" +checksum = "ff0e3bc0b6446b3f9663c1a6aba6ef06c5aeaa1bc92bd18077be337198ab9768" dependencies = [ "multibase", "multihash", @@ -1038,20 +1065,11 @@ dependencies = [ "bitflags", ] -[[package]] -name = "cloudabi" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4344512281c643ae7638bbabc3af17a11307803ec8f0fcad9fae512a8bf36467" -dependencies = [ - "bitflags", -] - [[package]] name = "color-eyre" -version = "0.5.10" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b29030875fd8376e4a28ef497790d5b4a7843d8d1396bf08ce46f5eec562c5c" +checksum = "1f1885697ee8a177096d42f158922251a41973117f6d8a234cee94b9509157b7" dependencies = [ "backtrace", "color-spantrace", @@ -1099,6 +1117,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + [[package]] name = "core-foundation" version = "0.7.0" @@ -1125,11 +1149,20 @@ dependencies = [ "glob", ] +[[package]] +name = "cpufeatures" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed00c67cb5d0a7d64a44f6ad2668db7e7530311dd53ea79bcd4fb022c64911c8" +dependencies = [ + "libc", +] + [[package]] name = "cpuid-bool" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d375c433320f6c5057ae04a04376eef4d04ce2801448cf8863a78da99107be4" +checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" [[package]] name = "cranelift-bforest" @@ -1151,7 +1184,7 @@ dependencies = [ "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-entity", - "gimli", + "gimli 0.23.0", "log", "regalloc", "serde", @@ -1229,11 +1262,21 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1" +checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" +dependencies = [ + "cfg-if 1.0.0", + "crossbeam-utils 0.8.4", ] [[package]] @@ -1242,11 +1285,22 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" dependencies = [ - "crossbeam-epoch", + "crossbeam-epoch 0.8.2", "crossbeam-utils 0.7.2", "maybe-uninit", ] +[[package]] +name = "crossbeam-deque" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9" +dependencies = [ + "cfg-if 1.0.0", + "crossbeam-epoch 0.9.4", + "crossbeam-utils 0.8.4", +] + [[package]] name = "crossbeam-epoch" version = "0.8.2" @@ -1258,7 +1312,20 @@ dependencies = [ "crossbeam-utils 0.7.2", "lazy_static", "maybe-uninit", - "memoffset 0.5.5", + "memoffset 0.5.6", + "scopeguard", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52fb27eab85b17fbb9f6fd667089e07d6a2eb8743d02639ee7f6a7a7729c9c94" +dependencies = [ + "cfg-if 1.0.0", + "crossbeam-utils 0.8.4", + "lazy_static", + "memoffset 0.6.4", "scopeguard", ] @@ -1286,9 +1353,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.1" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d" +checksum = "4feb231f0d4d6af81aed15928e58ecf5816aa62a2393e2c82f46973e92a9a278" dependencies = [ "autocfg", "cfg-if 1.0.0", @@ -1307,7 +1374,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" dependencies = [ - "generic-array 0.12.3", + "generic-array 0.12.4", "subtle 1.0.0", ] @@ -1318,7 +1385,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ "generic-array 0.14.4", - "subtle 2.2.3", + "subtle 2.4.0", ] [[package]] @@ -1332,9 +1399,9 @@ dependencies = [ [[package]] name = "ctor" -version = "0.1.16" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fbaabec2c953050352311293be5c6aba8e141ba19d6811862b232d6fd020484" +checksum = "5e98e2ad1a782e33928b96fc3948e7c355e5af34ba4de7670fe8bac2a3b2006d" dependencies = [ "quote", "syn", @@ -1353,27 +1420,27 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "2.1.0" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d85653f070353a16313d0046f173f70d1aadd5b42600a14de626f0dfb3473a5" +checksum = "434e1720189a637d44fe464f4df1e6eb900b4835255b14354497c78af37d9bb8" dependencies = [ "byteorder", "digest 0.8.1", "rand_core 0.5.1", - "subtle 2.2.3", + "subtle 2.4.0", "zeroize", ] [[package]] name = "curve25519-dalek" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8492de420e9e60bc9a1d66e2dbb91825390b738a388606600663fc529b4b307" +checksum = "639891fde0dbea823fc3d798a0fdf9d2f9440a42d64a78ab3488b0ca025117b3" dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle 2.2.3", + "subtle 2.4.0", "zeroize", ] @@ -1385,9 +1452,9 @@ checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" [[package]] name = "data-encoding-macro" -version = "0.1.10" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a94feec3d2ba66c0b6621bca8bc6f68415b1e5c69af3586fdd0af9fd9f29b17" +checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -1395,9 +1462,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f83e699727abca3c56e187945f303389590305ab2f0185ea445aa66e8d5f2a" +checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db" dependencies = [ "data-encoding", "syn", @@ -1416,10 +1483,11 @@ dependencies = [ [[package]] name = "derive_more" -version = "0.99.11" +version = "0.99.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cb0e6161ad61ed084a36ba71fbba9e3ac5aee3606fb607fe08da6acbcf3d8c" +checksum = "5cc7b9cef1e351660e5443924e4f43ab25fbbed3e9a5f052df3677deb4d6b320" dependencies = [ + "convert_case", "proc-macro2", "quote", "syn", @@ -1443,7 +1511,7 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" dependencies = [ - "generic-array 0.12.3", + "generic-array 0.12.4", ] [[package]] @@ -1457,9 +1525,9 @@ dependencies = [ [[package]] name = "directories" -version = "3.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8fed639d60b58d0f53498ab13d26f621fd77569cc6edb031f4cc36a2ad9da0f" +checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7" dependencies = [ "dirs-sys", ] @@ -1476,12 +1544,12 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a" +checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" dependencies = [ "libc", - "redox_users 0.3.4", + "redox_users", "winapi 0.3.9", ] @@ -1492,7 +1560,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ "libc", - "redox_users 0.4.0", + "redox_users", "winapi 0.3.9", ] @@ -1550,15 +1618,15 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c53dc3a653e0f64081026e4bf048d48fec9fce90c66e8326ca7292df0ff2d82" +checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" [[package]] name = "ed25519" -version = "1.0.1" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf038a7b6fd7ef78ad3348b63f3a17550877b0e28f8d68bcc94894d1412158bc" +checksum = "8d0860415b12243916284c67a9be413e044ee6668247b99ba26d94b2bc06c8f6" dependencies = [ "signature", ] @@ -1569,19 +1637,19 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ - "curve25519-dalek 3.0.0", + "curve25519-dalek 3.1.0", "ed25519", "rand 0.7.3", "serde", - "sha2 0.9.2", + "sha2 0.9.5", "zeroize", ] [[package]] name = "either" -version = "1.6.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f" +checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "enum-as-inner" @@ -1641,12 +1709,12 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26ecb66b4bdca6c1409b40fb255eefc2bd4f6d135dab3c3124f80ffa2a9661e" +checksum = "17392a012ea30ef05a610aa97dfb49496e71c9f676b27879922ea5bdf60d9d3f" dependencies = [ "atty", - "humantime 2.0.1", + "humantime 2.1.0", "log", "regex", "termcolor", @@ -1660,18 +1728,18 @@ checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" [[package]] name = "erased-serde" -version = "0.3.12" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ca8b296792113e1500fd935ae487be6e00ce318952a6880555554824d6ebf38" +checksum = "e5b36e6f2295f393f44894c6031f67df4d185b984cd54d08f768ce678007efcd" dependencies = [ "serde", ] [[package]] name = "errno" -version = "0.2.5" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b480f641ccf0faf324e20c1d3e53d81b7484c698b42ea677f6907ae4db195371" +checksum = "fa68f2fb9cae9d37c9b2b3584aba698a2e97f72d7aef7b9f7aa71d8b54ce46fe" dependencies = [ "errno-dragonfly", "libc", @@ -1727,14 +1795,14 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", ] [[package]] name = "eyre" -version = "0.6.2" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534ce924bff9118be8b28b24ede6bf7e96a00b53e4ded25050aa7b526e051e1a" +checksum = "221239d1d5ea86bf5d6f91c9d6bc3646ffe471b08ff9b0f91c44f115ac969d2b" dependencies = [ "indenter", "once_cell", @@ -1776,9 +1844,9 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fastrand" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca5faf057445ce5c9d4329e382b2ce7ca38550ef3b73a5348362d5f24e0c7fe3" +checksum = "77b705829d1e87f762c2df6da140b26af5839e1033aa84aa5f56bb688e4e1bdb" dependencies = [ "instant", ] @@ -1810,9 +1878,9 @@ dependencies = [ [[package]] name = "file-per-thread-logger" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b3937f028664bd0e13df401ba49a4567ccda587420365823242977f06609ed1" +checksum = "4fdbe0d94371f9ce939b555dd342d0686cc4c0cadbcd4b61d70af5ff97eb4126" dependencies = [ "env_logger 0.7.1", "log", @@ -1825,7 +1893,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6447e2f8178843749e8c8003206def83ec124a7859475395777a28b5338647c" dependencies = [ "either", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "log", "num-traits", @@ -1853,11 +1921,11 @@ checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" [[package]] name = "flate2" -version = "1.0.16" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68c90b0fc46cf89d227cc78b40e494ff81287a92dd07631e5af0d06fe3cf885e" +checksum = "cd3aec53de10fe96d7d8c565eb17f2c687bb5518a2ec453b5b1252964526abe0" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "crc32fast", "libc", "libz-sys", @@ -1873,16 +1941,16 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", ] [[package]] name = "form_urlencoded" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00" +checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" dependencies = [ "matches", "percent-encoding 2.1.0", @@ -1891,14 +1959,14 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", "linregress", "log", "parity-scale-codec", - "paste 1.0.4", + "paste", "sp-api", "sp-io", "sp-runtime", @@ -1910,7 +1978,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "Inflector", "chrono", @@ -1933,7 +2001,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -1946,7 +2014,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -1961,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "serde", @@ -1972,7 +2040,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "bitflags", "frame-metadata", @@ -1982,7 +2050,7 @@ dependencies = [ "max-encoded-len", "once_cell", "parity-scale-codec", - "paste 1.0.4", + "paste", "serde", "smallvec 1.6.1", "sp-arithmetic", @@ -1999,7 +2067,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2011,7 +2079,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2023,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "proc-macro2", "quote", @@ -2033,7 +2101,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-metadata", "frame-support", @@ -2053,7 +2121,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2070,7 +2138,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -2084,7 +2152,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "sp-api", @@ -2093,7 +2161,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "parity-scale-codec", @@ -2104,9 +2172,9 @@ dependencies = [ [[package]] name = "fs-err" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd1163ae48bda72a20ae26d66a04d3094135cadab911cff418ae5e33f253431" +checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0" [[package]] name = "fs-swap" @@ -2132,9 +2200,9 @@ dependencies = [ [[package]] name = "fs_extra" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674" +checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" [[package]] name = "fuchsia-cprng" @@ -2166,15 +2234,15 @@ checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" [[package]] name = "futures" -version = "0.1.29" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" +checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" [[package]] name = "futures" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9d5813545e459ad3ca1bff9915e9ad7f1a47dc6a91b627ce321d5863b7dd253" +checksum = "0e7e43a803dae2fa37c1f6a8fe121e1f7bf9548b4dfc0522a42f34145dadfc27" dependencies = [ "futures-channel", "futures-core", @@ -2187,9 +2255,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce79c6a52a299137a6013061e0cf0e688fce5d7f1bc60125f520912fdb29ec25" +checksum = "e682a68b29a882df0545c143dc3646daefe80ba479bcdede94d5a703de2871e2" dependencies = [ "futures-core", "futures-sink", @@ -2197,9 +2265,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "098cd1c6dda6ca01650f1a37a794245eb73181d0d4d4e955e2f3c37db7af1815" +checksum = "0402f765d8a89a26043b889b26ce3c4679d268fa6bb22cd7c6aad98340e179d1" [[package]] name = "futures-cpupool" @@ -2207,7 +2275,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" dependencies = [ - "futures 0.1.29", + "futures 0.1.31", "num_cpus", ] @@ -2217,21 +2285,21 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdcef58a173af8148b182684c9f2d5250875adbcaff7b5794073894f9d8634a9" dependencies = [ - "futures 0.1.29", - "futures 0.3.14", + "futures 0.1.31", + "futures 0.3.15", "lazy_static", "log", "parking_lot 0.9.0", - "pin-project 0.4.23", + "pin-project 0.4.28", "serde", "serde_json", ] [[package]] name = "futures-executor" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f6cb7042eda00f0049b1d2080aa4b93442997ee507eb3828e8bd7577f94c9d" +checksum = "badaa6a909fac9e7236d0620a2f57f7664640c56575b71a7552fbd68deafab79" dependencies = [ "futures-core", "futures-task", @@ -2241,9 +2309,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "365a1a1fb30ea1c03a830fdb2158f5236833ac81fa0ad12fe35b29cddc35cb04" +checksum = "acc499defb3b348f8d8f3f66415835a9131856ff7714bf10dadfc4ec4bdb29a1" [[package]] name = "futures-lite" @@ -2256,16 +2324,17 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", "waker-fn", ] [[package]] name = "futures-macro" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668c6733a182cd7deb4f1de7ba3bf2120823835b3bcfbeacf7d2c4a773c1bb8b" +checksum = "a4c40298486cdf52cc00cd6d6987892ba502c7656a16a4192a9992b1ccedd121" dependencies = [ + "autocfg", "proc-macro-hack", "proc-macro2", "quote", @@ -2279,21 +2348,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b" dependencies = [ "futures-io", - "rustls 0.19.0", - "webpki 0.21.3", + "rustls 0.19.1", + "webpki 0.21.4", ] [[package]] name = "futures-sink" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5629433c555de3d82861a7a4e3794a4c40040390907cfbfd7143a92a426c23" +checksum = "a57bead0ceff0d6dde8f465ecd96c9338121bb7717d3e7b108059531870c4282" [[package]] name = "futures-task" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba7aa51095076f3ba6d9a1f702f74bd05ec65f555d70d2033d55ba8d69f581bc" +checksum = "8a16bef9fc1a4dddb5bee51c989e3fbba26569cbb0e31f5b303c184e3dd33dae" [[package]] name = "futures-timer" @@ -2313,11 +2382,12 @@ dependencies = [ [[package]] name = "futures-util" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c144ad54d60f23927f0a6b6d816e4271278b64f005ad65e4e35291d2de9c025" +checksum = "feb5c238d27e2bf94ffdfd27b2c29e3df4a68c4193bb6427384259e2bf191967" dependencies = [ - "futures 0.1.29", + "autocfg", + "futures 0.1.31", "futures-channel", "futures-core", "futures-io", @@ -2325,7 +2395,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", "pin-utils", "proc-macro-hack", "proc-macro-nested", @@ -2338,33 +2408,20 @@ version = "0.3.55" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" -[[package]] -name = "generator" -version = "0.6.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cdc09201b2e8ca1b19290cf7e65de2246b8e91fb6874279722189c4de7b94dc" -dependencies = [ - "cc", - "libc", - "log", - "rustc_version", - "winapi 0.3.9", -] - [[package]] name = "generic-array" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec" +checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" dependencies = [ "typenum", ] [[package]] name = "generic-array" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed1e761351b56f54eb9dcd0cfaca9fd0daecf93918e1cfc01c8a3d26ee7adcd" +checksum = "f797e67af32588215eaaab8327027ee8e71b9dd0b2b26996aedf20c030fce309" dependencies = [ "typenum", ] @@ -2381,11 +2438,12 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.1.14" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", + "js-sys", "libc", "wasi 0.9.0+wasi-snapshot-preview1", "wasm-bindgen", @@ -2393,9 +2451,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4060f4657be78b8e766215b02b18a2e862d83745545de804638e2b545e81aee6" +checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -2406,10 +2464,11 @@ dependencies = [ [[package]] name = "ghash" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6e27f0689a6e15944bdce7e45425efb87eaa8ab0c6e87f11d0987a9133e2531" +checksum = "97304e4cd182c3846f7575ced3890c53012ce534ad9114046b0a9e00bb30a375" dependencies = [ + "opaque-debug 0.3.0", "polyval", ] @@ -2424,6 +2483,12 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "gimli" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189" + [[package]] name = "glob" version = "0.3.0" @@ -2432,9 +2497,9 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" [[package]] name = "globset" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ad1da430bd7281dde2576f44c84cc3f0f7b475e7202cd503042dff01a8c8120" +checksum = "c152169ef1e421390738366d2f796655fec62621dabbd0fd476f905934061e4a" dependencies = [ "aho-corasick", "bstr", @@ -2465,7 +2530,7 @@ dependencies = [ "byteorder", "bytes 0.4.12", "fnv", - "futures 0.1.29", + "futures 0.1.31", "http 0.1.21", "indexmap", "log", @@ -2476,33 +2541,34 @@ dependencies = [ [[package]] name = "h2" -version = "0.2.5" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79b7246d7e4b979c03fa093da39cfb3617a96bbeee6310af63991668d7e843ff" +checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535" dependencies = [ "bytes 0.5.6", "fnv", "futures-core", "futures-sink", "futures-util", - "http 0.2.1", + "http 0.2.4", "indexmap", - "log", "slab", - "tokio 0.2.21", + "tokio 0.2.25", "tokio-util", + "tracing", + "tracing-futures", ] [[package]] name = "handlebars" -version = "3.5.1" +version = "3.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2764f9796c0ddca4b82c07f25dd2cb3db30b9a8f47940e78e1c883d9e95c3db9" +checksum = "4498fc115fa7d34de968184e473529abb40eeb6be8bc5f7faba3d08c316cb3e3" dependencies = [ "log", "pest", "pest_derive", - "quick-error 2.0.0", + "quick-error 2.0.1", "serde", "serde_json", ] @@ -2533,27 +2599,27 @@ dependencies = [ [[package]] name = "heck" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" +checksum = "87cbf45460356b7deeb5e3415b5563308c0a9b057c85e12b06ad551f98d0a6ac" dependencies = [ "unicode-segmentation", ] [[package]] name = "hermit-abi" -version = "0.1.15" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9" +checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c" dependencies = [ "libc", ] [[package]] name = "hex" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hex-literal" @@ -2594,7 +2660,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6e570451493f10f6581b48cdd530413b63ea9e780f544bfd3bdcaa0d89d1a7b" dependencies = [ "digest 0.8.1", - "generic-array 0.12.3", + "generic-array 0.12.4", "hmac 0.7.1", ] @@ -2622,11 +2688,11 @@ dependencies = [ [[package]] name = "http" -version = "0.2.1" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9" +checksum = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11" dependencies = [ - "bytes 0.5.6", + "bytes 1.0.1", "fnv", "itoa", ] @@ -2638,7 +2704,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "http 0.1.21", "tokio-buf", ] @@ -2650,14 +2716,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" dependencies = [ "bytes 0.5.6", - "http 0.2.1", + "http 0.2.4", ] [[package]] name = "httparse" -version = "1.3.4" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" +checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68" [[package]] name = "httpdate" @@ -2676,18 +2742,18 @@ dependencies = [ [[package]] name = "humantime" -version = "2.0.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.12.35" +version = "0.12.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6" +checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "futures-cpupool", "h2 0.1.26", "http 0.1.21", @@ -2712,23 +2778,23 @@ dependencies = [ [[package]] name = "hyper" -version = "0.13.9" +version = "0.13.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ad767baac13b44d4529fcf58ba2cd0995e36e7b435bc5b039de6f47e880dbf" +checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb" dependencies = [ "bytes 0.5.6", "futures-channel", "futures-core", "futures-util", - "h2 0.2.5", - "http 0.2.1", + "h2 0.2.7", + "http 0.2.4", "http-body 0.3.1", "httparse", "httpdate", "itoa", - "pin-project 1.0.4", - "socket2 0.3.17", - "tokio 0.2.21", + "pin-project 1.0.7", + "socket2 0.3.19", + "tokio 0.2.25", "tower-service", "tracing", "want 0.3.0", @@ -2743,13 +2809,13 @@ dependencies = [ "bytes 0.5.6", "ct-logs", "futures-util", - "hyper 0.13.9", + "hyper 0.13.10", "log", - "rustls 0.18.0", + "rustls 0.18.1", "rustls-native-certs", - "tokio 0.2.21", + "tokio 0.2.25", "tokio-rustls", - "webpki 0.21.3", + "webpki 0.21.4", ] [[package]] @@ -2765,9 +2831,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.2.0" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9" +checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" dependencies = [ "matches", "unicode-bidi", @@ -2797,12 +2863,12 @@ dependencies = [ [[package]] name = "if-watch" -version = "0.2.0" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6d52908d4ea4ab2bc22474ba149bf1011c8e2c3ebc1ff593ae28ac44f494b6" +checksum = "ae8ab7f67bad3240049cb24fb9cb0b4c2c6af4c245840917fbbdededeee91179" dependencies = [ "async-io", - "futures 0.3.14", + "futures 0.3.15", "futures-lite", "if-addrs", "ipnet", @@ -2851,15 +2917,15 @@ dependencies = [ [[package]] name = "indenter" -version = "0.3.0" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0bd112d44d9d870a6819eb505d04dd92b5e4d94bb8c304924a0872ae7016fb5" +checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" [[package]] name = "indexmap" -version = "1.6.1" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb1fa934250de4de8aef298d81c729a7d33d8c239daa3a7575e6b92bfc7313b" +checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3" dependencies = [ "autocfg", "hashbrown", @@ -2868,10 +2934,11 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.6" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485" +checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec" dependencies = [ + "cfg-if 1.0.0", "js-sys", "wasm-bindgen", "web-sys", @@ -2879,15 +2946,18 @@ dependencies = [ [[package]] name = "integer-encoding" -version = "1.1.5" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f4ebd0bd29be0f11973e9b3e219005661042a019fd757798c36a47c87852625" +checksum = "48dc51180a9b377fd75814d0cc02199c20f8e99433d6762f650d39cdbbd3b56f" [[package]] name = "integer-sqrt" -version = "0.1.3" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f65877bf7d44897a473350b1046277941cee20b263397e90869c50b6e766088b" +checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" +dependencies = [ + "num-traits", +] [[package]] name = "intervalier" @@ -2895,7 +2965,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64fa110ec7b8f493f416eed552740d10e7030ad5f63b2308f82c9608ec2df275" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "futures-timer 2.0.2", ] @@ -2920,7 +2990,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7e2f18aece9709094573a9f24f483c4f65caa4298e2f7ae1b71cc65d853fad7" dependencies = [ - "socket2 0.3.17", + "socket2 0.3.19", "widestring", "winapi 0.3.9", "winreg", @@ -2952,9 +3022,9 @@ dependencies = [ [[package]] name = "itoa" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" +checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" [[package]] name = "jemalloc-sys" @@ -2979,18 +3049,18 @@ dependencies = [ [[package]] name = "jobserver" -version = "0.1.21" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c71313ebb9439f74b00d9d2dcec36440beaf57a6aa0623068441dd7cd81a7f2" +checksum = "972f5ae5d1cb9c6ae417789196c803205313edde988685da5e3aae0827b9e7fd" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.50" +version = "0.3.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d99f9e3e84b8f67f846ef5b4cbbc3b1c29f6c759fcbce6f01aa0e73d932a24c" +checksum = "83bdfbace3a0e81a4253f73b49e960b053e396a11012cbd49b9b74d6a2b67062" dependencies = [ "wasm-bindgen", ] @@ -3002,7 +3072,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "489b9c612e60c766f751ab40fcb43cbb55a1e10bb44a9b4307ed510ca598cbd7" dependencies = [ "failure", - "futures 0.1.29", + "futures 0.1.31", "jsonrpc-core", "jsonrpc-pubsub", "log", @@ -3017,7 +3087,7 @@ version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0745a6379e3edc893c84ec203589790774e4247420033e71a76d3ab4687991fa" dependencies = [ - "futures 0.1.29", + "futures 0.1.31", "log", "serde", "serde_derive", @@ -3051,7 +3121,7 @@ version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb5c4513b7b542f42da107942b7b759f27120b5cc894729f88254b28dff44b7" dependencies = [ - "hyper 0.12.35", + "hyper 0.12.36", "jsonrpc-core", "jsonrpc-server-utils", "log", @@ -3117,6 +3187,12 @@ dependencies = [ "slab", ] +[[package]] +name = "jsonrpsee" +version = "0.2.0-alpha.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4e48ecdd757b22fae87e87aad2dbadf11c56499c6509763c8ef20db16ffb0e9" + [[package]] name = "jsonrpsee-proc-macros" version = "0.2.0-alpha.6" @@ -3156,15 +3232,15 @@ dependencies = [ "async-tls", "async-trait", "fnv", - "futures 0.3.14", + "futures 0.3.15", "jsonrpsee-types", "log", - "pin-project 1.0.4", + "pin-project 1.0.7", "serde", "serde_json", "soketto", "thiserror", - "url 2.2.0", + "url 2.2.2", "webpki 0.22.0", ] @@ -3306,9 +3382,9 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34446c373ccc494c2124439281c198c7636ccdc2752c06722bbffd56d459c1e4" +checksum = "94b27cdb788bf1c8ade782289f9dbee626940be2961fd75c7cde993fa2f1ded1" dependencies = [ "fs-swap", "kvdb", @@ -3328,7 +3404,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb1e98ba343d0b35f9009a8844cd2b87fa3192f7e79033ac05b00aeae0f3b0b5" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "js-sys", "kvdb", "kvdb-memorydb", @@ -3348,9 +3424,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "lazycell" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "leb128" @@ -3360,9 +3436,9 @@ checksum = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a" [[package]] name = "libc" -version = "0.2.91" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8916b1f6ca17130ec6568feccee27c156ad12037880833a3b842a823236502e7" +checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36" [[package]] name = "libloading" @@ -3398,7 +3474,7 @@ checksum = "08053fbef67cd777049ef7a95ebaca2ece370b4ed7712c3fa404d69a88cb741b" dependencies = [ "atomic", "bytes 1.0.1", - "futures 0.3.14", + "futures 0.3.15", "lazy_static", "libp2p-core", "libp2p-deflate", @@ -3424,23 +3500,23 @@ dependencies = [ "libp2p-yamux", "parity-multiaddr", "parking_lot 0.11.1", - "pin-project 1.0.4", + "pin-project 1.0.7", "smallvec 1.6.1", "wasm-timer", ] [[package]] name = "libp2p-core" -version = "0.28.2" +version = "0.28.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71dd51b562e14846e65bad00e5808d0644376e6588668c490d3c48e1dfeb4a9a" +checksum = "554d3e7e9e65f939d66b75fd6a4c67f258fe250da61b91f46c545fc4a89b51d9" dependencies = [ "asn1_der", "bs58", "ed25519-dalek", "either", "fnv", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "lazy_static", "libsecp256k1", @@ -3449,13 +3525,13 @@ dependencies = [ "multistream-select", "parity-multiaddr", "parking_lot 0.11.1", - "pin-project 1.0.4", + "pin-project 1.0.7", "prost", "prost-build", "rand 0.7.3", "ring", "rw-stream-sink", - "sha2 0.9.2", + "sha2 0.9.5", "smallvec 1.6.1", "thiserror", "unsigned-varint 0.7.0", @@ -3470,7 +3546,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2181a641cd15f9b6ba71b1335800f309012a0a97a29ffaabbbf40e9d3d58f08" dependencies = [ "flate2", - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", ] @@ -3481,7 +3557,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62e63dab8b5ff35e0c101a3e51e843ba782c07bbb1682f5fd827622e0d02b98b" dependencies = [ "async-std-resolver", - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "log", "smallvec 1.6.1", @@ -3496,7 +3572,7 @@ checksum = "48a9b570f6766301d9c4aa00fce3554cad1598e2f466debbc4dde909028417cf" dependencies = [ "cuckoofilter", "fnv", - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "libp2p-swarm", "log", @@ -3508,16 +3584,16 @@ dependencies = [ [[package]] name = "libp2p-gossipsub" -version = "0.30.0" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73cb9a89a301afde1e588c73f7e9131e12a5388725f290a9047b878862db1b53" +checksum = "e7b0c8506a6ec3344b9e706d7c7a6dba826f8ede735cfe13dde12a8c263c4af9" dependencies = [ "asynchronous-codec 0.6.0", "base64 0.13.0", "byteorder", "bytes 1.0.1", "fnv", - "futures 0.3.14", + "futures 0.3.15", "hex_fmt", "libp2p-core", "libp2p-swarm", @@ -3526,7 +3602,7 @@ dependencies = [ "prost-build", "rand 0.7.3", "regex", - "sha2 0.9.2", + "sha2 0.9.5", "smallvec 1.6.1", "unsigned-varint 0.7.0", "wasm-timer", @@ -3538,7 +3614,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f668f00efd9883e8b7bcc582eaf0164615792608f886f6577da18bcbeea0a46" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "libp2p-swarm", "log", @@ -3559,14 +3635,14 @@ dependencies = [ "bytes 1.0.1", "either", "fnv", - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "libp2p-swarm", "log", "prost", "prost-build", "rand 0.7.3", - "sha2 0.9.2", + "sha2 0.9.5", "smallvec 1.6.1", "uint", "unsigned-varint 0.7.0", @@ -3576,14 +3652,14 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.30.0" +version = "0.30.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c221897b3fd7f215de7ecfec215c5eba598e5b61c605b5f8b56fe8a4fb507724" +checksum = "4efa70c1c3d2d91237f8546e27aeb85e287d62c066a7b4f3ea6a696d43ced714" dependencies = [ "async-io", "data-encoding", "dns-parser", - "futures 0.3.14", + "futures 0.3.15", "if-watch", "lazy_static", "libp2p-core", @@ -3603,7 +3679,7 @@ checksum = "85e9b544335d1ed30af71daa96edbefadef6f19c7a55f078b9fc92c87163105d" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.0.1", - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "log", "nohash-hasher", @@ -3620,18 +3696,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36db0f0db3b0433f5b9463f1c0cd9eadc0a3734a9170439ce501ff99733a88bd" dependencies = [ "bytes 1.0.1", - "curve25519-dalek 3.0.0", - "futures 0.3.14", + "curve25519-dalek 3.1.0", + "futures 0.3.15", "lazy_static", "libp2p-core", "log", "prost", "prost-build", "rand 0.7.3", - "sha2 0.9.2", + "sha2 0.9.5", "snow", "static_assertions", - "x25519-dalek 1.1.0", + "x25519-dalek", "zeroize", ] @@ -3641,7 +3717,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf4bfaffac63bf3c7ec11ed9d8879d455966ddea7e78ee14737f0b6dce0d1cd1" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "libp2p-swarm", "log", @@ -3658,7 +3734,7 @@ checksum = "0c8c37b4d2a075b4be8442760a5f8c037180f0c8dd5b5734b9978ab868b3aa11" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.0.1", - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "log", "prost", @@ -3673,9 +3749,9 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ce3374f3b28162db9d3442c9347c4f14cb01e8290052615c7d341d40eae0599" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "log", - "pin-project 1.0.4", + "pin-project 1.0.7", "rand 0.7.3", "salsa20", "sha3", @@ -3689,12 +3765,12 @@ checksum = "0b8786aca3f18671d8776289706a5521f6c9124a820f69e358de214b9939440d" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.0.1", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "libp2p-core", "libp2p-swarm", "log", - "pin-project 1.0.4", + "pin-project 1.0.7", "prost", "prost-build", "rand 0.7.3", @@ -3712,7 +3788,7 @@ checksum = "1cdbe172f08e6d0f95fa8634e273d4c4268c4063de2e33e7435194b0130c62e3" dependencies = [ "async-trait", "bytes 1.0.1", - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "libp2p-swarm", "log", @@ -3731,7 +3807,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e04d8e1eef675029ec728ba14e8d0da7975d84b6679b699b4ae91a1de9c3a92" dependencies = [ "either", - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "log", "rand 0.7.3", @@ -3757,7 +3833,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b1a27d21c477951799e99d5c105d78868258502ce092988040a808d5a19bbd9" dependencies = [ "async-io", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "if-watch", "ipnet", @@ -3774,18 +3850,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffd6564bb3b7ff203661ccbb69003c2b551e34cef974f2d6c6a28306a12170b5" dependencies = [ "async-std", - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "log", ] [[package]] name = "libp2p-wasm-ext" -version = "0.28.1" +version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cef45d61e43c313531b5e903e4e8415212ff6338e0c54c47da5b9b412b5760de" +checksum = "e2d413e4cf9b8e5dfbcd2a60d3dc5a3391308bdb463684093d4f67137b7113de" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -3800,14 +3876,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cace60995ef6f637e4752cccbb2590f6bc358e8741a0d066307636c69a4b3a74" dependencies = [ "either", - "futures 0.3.14", + "futures 0.3.15", "futures-rustls", "libp2p-core", "log", "quicksink", "rw-stream-sink", "soketto", - "url 2.2.0", + "url 2.2.2", "webpki-roots", ] @@ -3817,7 +3893,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f35da42cfc6d5cb0dcf3ad6881bc68d146cdf38f98655e09e33fbba4d13eabc4" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "libp2p-core", "parking_lot 0.11.1", "thiserror", @@ -3848,44 +3924,43 @@ dependencies = [ "hmac-drbg", "rand 0.7.3", "sha2 0.8.2", - "subtle 2.2.3", + "subtle 2.4.0", "typenum", ] [[package]] name = "libz-sys" -version = "1.0.25" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe" +checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66" dependencies = [ "cc", - "libc", "pkg-config", "vcpkg", ] [[package]] name = "linked-hash-map" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a" +checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" [[package]] name = "linked_hash_set" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c7c91c4c7bbeb4f2f7c4e5be11e6a05bd6830bc37249c47ce1ad86ad453ff9c" +checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588" dependencies = [ "linked-hash-map", ] [[package]] name = "linregress" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d0ad4b5cc8385a881c561fac3501353d63d2a2b7a357b5064d71815c9a92724" +checksum = "b36162d2e1dcbdeb61223cb788f029f8ac9f2ab19969b89c5a8f4517aad4d940" dependencies = [ - "nalgebra", + "nalgebra 0.25.4", "statrs", ] @@ -3900,9 +3975,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.1" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c" +checksum = "0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb" dependencies = [ "scopeguard", ] @@ -3917,19 +3992,6 @@ dependencies = [ "value-bag", ] -[[package]] -name = "loom" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0e8460f2f2121162705187214720353c517b97bdfb3494c0b1e33d83ebe4bed" -dependencies = [ - "cfg-if 0.1.10", - "generator", - "scoped-tls", - "serde", - "serde_json", -] - [[package]] name = "lru" version = "0.6.5" @@ -3986,9 +4048,18 @@ checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" [[package]] name = "matrixmultiply" -version = "0.2.3" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "916806ba0031cd542105d916a97c8572e1fa6dd79c9c51e7eb43a09ec2dd84c1" +dependencies = [ + "rawpointer", +] + +[[package]] +name = "matrixmultiply" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4f7ec66360130972f34830bfad9ef05c6610a43938a467bcc9ab9369ab3478f" +checksum = "5a8a15b776d9dfaecd44b03c5828c2199cddff5247215858aac14624f8d6b741" dependencies = [ "rawpointer", ] @@ -3996,7 +4067,7 @@ dependencies = [ [[package]] name = "max-encoded-len" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "impl-trait-for-tuples", "max-encoded-len-derive", @@ -4007,7 +4078,7 @@ dependencies = [ [[package]] name = "max-encoded-len-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -4023,33 +4094,33 @@ checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" [[package]] name = "memchr" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" +checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" [[package]] name = "memmap2" -version = "0.2.0" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e73be3b7d04a0123e933fea1d50d126cc7196bbc0362c0ce426694f777194eee" +checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4" dependencies = [ "libc", ] [[package]] name = "memoffset" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f" +checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa" dependencies = [ "autocfg", ] [[package]] name = "memoffset" -version = "0.6.1" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87" +checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" dependencies = [ "autocfg", ] @@ -4082,9 +4153,9 @@ checksum = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" [[package]] name = "merlin" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6feca46f4fa3443a01769d768727f10c10a20fdb65e52dc16a81f0c8269bb78" +checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" dependencies = [ "byteorder", "keccak", @@ -4098,7 +4169,7 @@ version = "0.1.0" dependencies = [ "assert_matches", "derive_more", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", ] @@ -4108,25 +4179,25 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c023c3f16109e7f33aa451f773fd61070e265b4977d0b6e344a51049296dd7df" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "rand 0.7.3", "thrift", ] [[package]] name = "minicbor" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea79ce4ab9f445ec6b71833a2290ac0a29c9dde0fa7cae4c481eecae021d9bd9" +checksum = "51aa5bb0ca22415daca596a227b507f880ad1b2318a87fa9325312a5d285ca0d" dependencies = [ "minicbor-derive", ] [[package]] name = "minicbor-derive" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce18b5423c573a13e80cb3046ea0af6379ef725dc3af4886bdb8f4e5093068" +checksum = "7f2b9e8883d58e34b18facd16c4564a77ea50fce028ad3d0ee6753440e37acc8" dependencies = [ "proc-macro2", "quote", @@ -4135,18 +4206,19 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.4.0" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be0f75932c1f6cfae3c04000e40114adf955636e19040f9c0a2c380702aa1c7f" +checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" dependencies = [ "adler", + "autocfg", ] [[package]] name = "mio" -version = "0.6.22" +version = "0.6.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430" +checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4" dependencies = [ "cfg-if 0.1.10", "fuchsia-zircon", @@ -4155,7 +4227,7 @@ dependencies = [ "kernel32-sys", "libc", "log", - "miow 0.2.1", + "miow 0.2.2", "net2", "slab", "winapi 0.2.8", @@ -4181,7 +4253,7 @@ checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" dependencies = [ "log", "mio", - "miow 0.3.5", + "miow 0.3.7", "winapi 0.3.9", ] @@ -4198,9 +4270,9 @@ dependencies = [ [[package]] name = "miow" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" +checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d" dependencies = [ "kernel32-sys", "net2", @@ -4210,11 +4282,10 @@ dependencies = [ [[package]] name = "miow" -version = "0.3.5" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07b88fb9795d4d36d62a012dfbf49a8f5cf12751f36d31a9dbe66d528e58979e" +checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" dependencies = [ - "socket2 0.3.17", "winapi 0.3.9", ] @@ -4237,9 +4308,9 @@ dependencies = [ [[package]] name = "multihash" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb63389ee5fcd4df3f8727600f4a0c3df53c541f0ed4e8b50a9ae51a80fc1efe" +checksum = "4dac63698b887d2d929306ea48b63760431ff8a24fac40ddb22f9c7f49fb7cab" dependencies = [ "blake2b_simd", "blake2s_simd", @@ -4247,18 +4318,18 @@ dependencies = [ "digest 0.9.0", "generic-array 0.14.4", "multihash-derive", - "sha2 0.9.2", + "sha2 0.9.5", "sha3", "unsigned-varint 0.5.1", ] [[package]] name = "multihash-derive" -version = "0.7.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f5653449cd45d502a53480ee08d7a599e8f4893d2bacb33c63d65bc20af6c1a" +checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99" dependencies = [ - "proc-macro-crate 0.1.5", + "proc-macro-crate 1.0.0", "proc-macro-error", "proc-macro2", "quote", @@ -4268,66 +4339,73 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.1" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8883adfde9756c1d30b0f519c9b8c502a94b41ac62f696453c37c7fc0a958ce" +checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multistream-select" -version = "0.10.0" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10ddc0eb0117736f19d556355464fc87efc8ad98b29e3fd84f02531eb6e90840" +checksum = "7d91ec0a2440aaff5f78ec35631a7027d50386c6163aa975f7caa0d5da4b6ff8" dependencies = [ "bytes 1.0.1", - "futures 0.3.14", + "futures 0.3.15", "log", - "pin-project 1.0.4", + "pin-project 1.0.7", "smallvec 1.6.1", - "unsigned-varint 0.6.0", + "unsigned-varint 0.7.0", ] [[package]] name = "nalgebra" -version = "0.21.1" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b6147c3d50b4f3cdabfe2ecc94a0191fd3d6ad58aefd9664cf396285883486" +checksum = "0abb021006c01b126a936a8dd1351e0720d83995f4fc942d0d426c654f990745" dependencies = [ - "approx", - "generic-array 0.13.2", - "matrixmultiply", - "num-complex", - "num-rational", + "alga", + "approx 0.3.2", + "generic-array 0.13.3", + "matrixmultiply 0.2.4", + "num-complex 0.2.4", + "num-rational 0.2.4", "num-traits", "rand 0.7.3", "rand_distr", - "simba", "typenum", ] [[package]] -name = "names" -version = "0.11.0" +name = "nalgebra" +version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef320dab323286b50fb5cdda23f61c796a72a89998ab565ca32525c5c556f2da" +checksum = "c70c9e8c5f213c8e93fc8c112ade4edd3ee62062fb897776c23dcebac7932900" dependencies = [ - "rand 0.3.23", + "approx 0.4.0", + "generic-array 0.14.4", + "matrixmultiply 0.3.1", + "num-complex 0.3.1", + "num-rational 0.3.2", + "num-traits", + "serde", + "simba", + "typenum", ] [[package]] -name = "nb-connect" -version = "1.0.2" +name = "names" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8123a81538e457d44b933a02faf885d3fe8408806b23fa700e8f01c6c3a98998" +checksum = "ef320dab323286b50fb5cdda23f61c796a72a89998ab565ca32525c5c556f2da" dependencies = [ - "libc", - "winapi 0.3.9", + "rand 0.3.23", ] [[package]] name = "net2" -version = "0.2.34" +version = "0.2.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ba7c918ac76704fb42afcbbb43891e72731f3dcca3bef2a19786297baf14af7" +checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae" dependencies = [ "cfg-if 0.1.10", "libc", @@ -4389,24 +4467,44 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-complex" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "747d632c0c558b87dbabbe6a82f3b4ae03720d0646ac5b7b4dae89394be5f2c5" +dependencies = [ + "num-traits", +] + [[package]] name = "num-integer" -version = "0.1.43" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" +dependencies = [ + "autocfg", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b" +checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" dependencies = [ "autocfg", + "num-bigint", + "num-integer", "num-traits", ] [[package]] name = "num-rational" -version = "0.2.4" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" +checksum = "12ac428b1cb17fce6f731001d307d351ec70a6d202fc2e60f7d4c5e42d8f4f07" dependencies = [ "autocfg", - "num-bigint", "num-integer", "num-traits", ] @@ -4441,11 +4539,17 @@ dependencies = [ "indexmap", ] +[[package]] +name = "object" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5b3dd1c072ee7963717671d1ca129f1048fda25edea6b752bfc71ac8854170" + [[package]] name = "once_cell" -version = "1.6.0" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad167a2f54e832b82dbe003a046280dceffe5227b5f79e08e363a29638cfddd" +checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3" dependencies = [ "parking_lot 0.11.1", ] @@ -4464,15 +4568,15 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl-probe" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" +checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" [[package]] name = "ordered-float" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3741934be594d77de1c8461ebcbbe866f585ea616a9753aa78f2bdc69f0e4579" +checksum = "3305af35278dd29f46fcdd139e0b1fbfae2153f0e5928b39b035542dd31e37b7" dependencies = [ "num-traits", ] @@ -4497,14 +4601,14 @@ dependencies = [ [[package]] name = "owo-colors" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" +checksum = "2386b4ebe91c2f7f51082d4cefa145d030e33a1842a96b12e4885cc3c01f7a55" [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -4519,7 +4623,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -4533,7 +4637,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4556,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4571,7 +4675,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#6008d67f94262f955017fad3c1648e3206756a60" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#892f757e7d4c45097162451dc5f58154b19513ee" dependencies = [ "beefy-primitives", "frame-support", @@ -4586,7 +4690,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4622,7 +4726,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4638,7 +4742,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4653,7 +4757,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4674,7 +4778,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4691,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4705,7 +4809,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4727,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4742,7 +4846,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4761,7 +4865,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4777,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4792,7 +4896,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4809,7 +4913,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -4825,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4843,7 +4947,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4858,7 +4962,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -4871,7 +4975,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -4887,7 +4991,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4909,7 +5013,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4925,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -4938,7 +5042,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "enumflags2", "frame-support", @@ -4952,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4967,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -4986,7 +5090,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5002,7 +5106,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -5015,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5025,7 +5129,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "paste 1.0.4", + "paste", "rand_chacha 0.2.2", "serde", "sp-application-crypto", @@ -5039,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5050,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "log", "sp-arithmetic", @@ -5059,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -5072,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5090,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5105,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-support", "frame-system", @@ -5121,7 +5225,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5138,7 +5242,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5149,7 +5253,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5165,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5180,7 +5284,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5237,14 +5341,14 @@ dependencies = [ "serde", "static_assertions", "unsigned-varint 0.7.0", - "url 2.2.0", + "url 2.2.2", ] [[package]] name = "parity-scale-codec" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "731f4d179ed52b1c7eeb29baf29c604ea9301b889b23ce93660220a5465d5c6f" +checksum = "e0f518afaa5a47d0d6386229b0a6e01e86427291d643aa4cabb4992219f504f8" dependencies = [ "arrayvec 0.7.0", "bitvec", @@ -5278,11 +5382,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e57fea504fea33f9fbb5f49f378359030e7e026a6ab849bb9e8f0787376f1bf" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "libc", "log", "mio-named-pipes", - "miow 0.3.5", + "miow 0.3.7", "rand 0.7.3", "tokio 0.1.22", "tokio-named-pipes", @@ -5348,9 +5452,9 @@ dependencies = [ "mio", "mio-extras", "rand 0.7.3", - "sha-1", + "sha-1 0.8.2", "slab", - "url 2.2.0", + "url 2.2.2", ] [[package]] @@ -5387,8 +5491,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb" dependencies = [ "instant", - "lock_api 0.4.1", - "parking_lot_core 0.8.0", + "lock_api 0.4.4", + "parking_lot_core 0.8.3", ] [[package]] @@ -5398,11 +5502,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" dependencies = [ "cfg-if 0.1.10", - "cloudabi 0.0.3", + "cloudabi", "libc", - "redox_syscall 0.1.56", + "redox_syscall 0.1.57", "rustc_version", - "smallvec 0.6.13", + "smallvec 0.6.14", "winapi 0.3.9", ] @@ -5413,52 +5517,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3" dependencies = [ "cfg-if 0.1.10", - "cloudabi 0.0.3", + "cloudabi", "libc", - "redox_syscall 0.1.56", + "redox_syscall 0.1.57", "smallvec 1.6.1", "winapi 0.3.9", ] [[package]] name = "parking_lot_core" -version = "0.8.0" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c361aa727dd08437f2f1447be8b59a33b0edd15e0fcee698f935613d9efbca9b" +checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018" dependencies = [ - "cfg-if 0.1.10", - "cloudabi 0.1.0", + "cfg-if 1.0.0", "instant", "libc", - "redox_syscall 0.1.56", + "redox_syscall 0.2.8", "smallvec 1.6.1", "winapi 0.3.9", ] [[package]] name = "paste" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" -dependencies = [ - "paste-impl", - "proc-macro-hack", -] - -[[package]] -name = "paste" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5d65c4d95931acda4498f675e332fcbdc9a06705cd07086c510e9b6009cd1c1" - -[[package]] -name = "paste-impl" -version = "0.1.18" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6" -dependencies = [ - "proc-macro-hack", -] +checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58" [[package]] name = "pbkdf2" @@ -5543,7 +5627,7 @@ checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d" dependencies = [ "maplit", "pest", - "sha-1", + "sha-1 0.8.2", ] [[package]] @@ -5558,27 +5642,27 @@ dependencies = [ [[package]] name = "pin-project" -version = "0.4.23" +version = "0.4.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca4433fff2ae79342e497d9f8ee990d174071408f28f726d6d83af93e58e48aa" +checksum = "918192b5c59119d51e0cd221f4d49dde9112824ba717369e903c97d076083d0f" dependencies = [ - "pin-project-internal 0.4.23", + "pin-project-internal 0.4.28", ] [[package]] name = "pin-project" -version = "1.0.4" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b70b68509f17aa2857863b6fa00bf21fc93674c7a8893de2f469f6aa7ca2f2" +checksum = "c7509cc106041c40a4518d2af7a61530e1eed0e6285296a3d8c5472806ccc4a4" dependencies = [ - "pin-project-internal 1.0.4", + "pin-project-internal 1.0.7", ] [[package]] name = "pin-project-internal" -version = "0.4.23" +version = "0.4.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f" +checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e" dependencies = [ "proc-macro2", "quote", @@ -5587,9 +5671,9 @@ dependencies = [ [[package]] name = "pin-project-internal" -version = "1.0.4" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caa25a6393f22ce819b0f50e0be89287292fda8d425be38ee0ca14c4931d9e71" +checksum = "48c950132583b500556b1efd71d45b319029f2b71518d979fcc208e16b42426f" dependencies = [ "proc-macro2", "quote", @@ -5598,15 +5682,15 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.1.7" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715" +checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827" +checksum = "dc0e1f259c92177c30a4c9d177246edd0a3568b25756a977d0632cf8fa37e905" [[package]] name = "pin-utils" @@ -5616,9 +5700,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677" +checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c" [[package]] name = "platforms" @@ -5632,7 +5716,7 @@ version = "0.9.3" dependencies = [ "assert_cmd", "color-eyre", - "futures 0.3.14", + "futures 0.3.15", "nix", "parity-util-mem", "polkadot-cli", @@ -5646,8 +5730,8 @@ name = "polkadot-approval-distribution" version = "0.1.0" dependencies = [ "assert_matches", - "env_logger 0.8.2", - "futures 0.3.14", + "env_logger 0.8.3", + "futures 0.3.15", "log", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -5667,8 +5751,8 @@ version = "0.1.0" dependencies = [ "assert_matches", "bitvec", - "env_logger 0.8.2", - "futures 0.3.14", + "env_logger 0.8.3", + "futures 0.3.15", "log", "maplit", "polkadot-node-network-protocol", @@ -5687,7 +5771,7 @@ name = "polkadot-availability-distribution" version = "0.1.0" dependencies = [ "assert_matches", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "lru", "maplit", @@ -5718,8 +5802,8 @@ name = "polkadot-availability-recovery" version = "0.1.0" dependencies = [ "assert_matches", - "env_logger 0.8.2", - "futures 0.3.14", + "env_logger 0.8.3", + "futures 0.3.15", "futures-timer 3.0.2", "log", "lru", @@ -5746,7 +5830,7 @@ name = "polkadot-cli" version = "0.9.3" dependencies = [ "frame-benchmarking-cli", - "futures 0.3.14", + "futures 0.3.15", "log", "polkadot-node-core-pvf", "polkadot-service", @@ -5769,8 +5853,8 @@ version = "0.1.0" dependencies = [ "always-assert", "assert_matches", - "env_logger 0.8.2", - "futures 0.3.14", + "env_logger 0.8.3", + "futures 0.3.15", "futures-timer 3.0.2", "log", "polkadot-node-network-protocol", @@ -5816,7 +5900,7 @@ name = "polkadot-gossip-support" version = "0.1.0" dependencies = [ "assert_matches", - "futures 0.3.14", + "futures 0.3.15", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-test-helpers", @@ -5836,7 +5920,7 @@ version = "0.1.0" dependencies = [ "assert_matches", "async-trait", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "parity-scale-codec", "parking_lot 0.11.1", @@ -5858,7 +5942,7 @@ dependencies = [ name = "polkadot-node-collation-generation" version = "0.1.0" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-primitives", @@ -5879,7 +5963,7 @@ dependencies = [ "assert_matches", "bitvec", "derive_more", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "kvdb", "kvdb-memorydb", @@ -5916,8 +6000,8 @@ version = "0.1.0" dependencies = [ "assert_matches", "bitvec", - "env_logger 0.8.2", - "futures 0.3.14", + "env_logger 0.8.3", + "futures 0.3.15", "futures-timer 3.0.2", "kvdb", "kvdb-memorydb", @@ -5943,7 +6027,7 @@ version = "0.1.0" dependencies = [ "assert_matches", "bitvec", - "futures 0.3.14", + "futures 0.3.15", "polkadot-erasure-coding", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -5965,7 +6049,7 @@ dependencies = [ name = "polkadot-node-core-bitfield-signing" version = "0.1.0" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "polkadot-node-subsystem", "polkadot-node-subsystem-test-helpers", "polkadot-node-subsystem-util", @@ -5980,7 +6064,7 @@ dependencies = [ name = "polkadot-node-core-candidate-selection" version = "0.1.0" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-test-helpers", @@ -5998,7 +6082,7 @@ version = "0.1.0" dependencies = [ "assert_matches", "async-trait", - "futures 0.3.14", + "futures 0.3.15", "parity-scale-codec", "polkadot-node-core-pvf", "polkadot-node-primitives", @@ -6017,7 +6101,7 @@ dependencies = [ name = "polkadot-node-core-chain-api" version = "0.1.0" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "maplit", "polkadot-node-subsystem", "polkadot-node-subsystem-test-helpers", @@ -6033,7 +6117,7 @@ name = "polkadot-node-core-parachains-inherent" version = "0.1.0" dependencies = [ "async-trait", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "polkadot-node-subsystem", "polkadot-overseer", @@ -6050,7 +6134,7 @@ name = "polkadot-node-core-provisioner" version = "0.1.0" dependencies = [ "bitvec", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "polkadot-node-subsystem", "polkadot-node-subsystem-test-helpers", @@ -6070,12 +6154,12 @@ dependencies = [ "assert_matches", "async-process", "async-std", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "hex-literal", "libc", "parity-scale-codec", - "pin-project 1.0.4", + "pin-project 1.0.7", "polkadot-core-primitives", "polkadot-parachain", "rand 0.8.3", @@ -6098,7 +6182,7 @@ dependencies = [ name = "polkadot-node-core-runtime-api" version = "0.1.0" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "memory-lru", "parity-util-mem", "polkadot-node-primitives", @@ -6134,7 +6218,7 @@ dependencies = [ name = "polkadot-node-network-protocol" version = "0.1.0" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -6148,7 +6232,7 @@ dependencies = [ name = "polkadot-node-primitives" version = "0.1.0" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "parity-scale-codec", "polkadot-parachain", "polkadot-primitives", @@ -6173,14 +6257,14 @@ dependencies = [ "async-std", "async-trait", "derive_more", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "lazy_static", "log", "mick-jaeger", "parity-scale-codec", "parking_lot 0.11.1", - "pin-project 1.0.4", + "pin-project 1.0.7", "polkadot-node-jaeger", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -6201,11 +6285,11 @@ name = "polkadot-node-subsystem-test-helpers" version = "0.1.0" dependencies = [ "async-trait", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "parity-scale-codec", "parking_lot 0.11.1", - "pin-project 1.0.4", + "pin-project 1.0.7", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -6224,15 +6308,15 @@ version = "0.1.0" dependencies = [ "assert_matches", "async-trait", - "env_logger 0.8.2", - "futures 0.3.14", + "env_logger 0.8.3", + "futures 0.3.15", "futures-timer 3.0.2", "log", "lru", "metered-channel", "parity-scale-codec", "parking_lot 0.11.1", - "pin-project 1.0.4", + "pin-project 1.0.7", "polkadot-node-jaeger", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -6257,7 +6341,7 @@ dependencies = [ "assert_matches", "async-trait", "femme", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "kv-log-macro", "polkadot-node-network-protocol", @@ -6516,7 +6600,7 @@ dependencies = [ "frame-support", "frame-support-test", "frame-system", - "futures 0.3.14", + "futures 0.3.15", "hex-literal", "libsecp256k1", "log", @@ -6563,10 +6647,10 @@ version = "0.9.3" dependencies = [ "beefy-gadget", "beefy-primitives", - "env_logger 0.8.2", + "env_logger 0.8.3", "frame-benchmarking", "frame-system-rpc-runtime-api", - "futures 0.3.14", + "futures 0.3.15", "hex-literal", "kusama-runtime", "kvdb", @@ -6656,7 +6740,7 @@ version = "0.1.0" dependencies = [ "arrayvec 0.5.2", "assert_matches", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "indexmap", "parity-scale-codec", @@ -6691,7 +6775,7 @@ dependencies = [ name = "polkadot-test-client" version = "0.9.3" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "parity-scale-codec", "polkadot-node-subsystem", "polkadot-primitives", @@ -6781,8 +6865,8 @@ version = "0.9.3" dependencies = [ "frame-benchmarking", "frame-system", - "futures 0.1.29", - "futures 0.3.14", + "futures 0.1.31", + "futures 0.3.15", "hex", "pallet-balances", "pallet-staking", @@ -6825,17 +6909,17 @@ dependencies = [ "substrate-test-client", "substrate-test-utils", "tempfile", - "tokio 0.2.21", + "tokio 0.2.25", "tracing", ] [[package]] name = "polling" -version = "2.0.2" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2a7bc6b2a29e632e45451c941832803a18cce6781db04de8a04696cdca8bde4" +checksum = "4fc12d774e799ee9ebae13f4076ca003b40d18a11ac0f3641e6f899618580b7b" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "libc", "log", "wepoll-sys", @@ -6844,34 +6928,36 @@ dependencies = [ [[package]] name = "poly1305" -version = "0.6.0" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b42192ab143ed7619bf888a7f9c6733a9a2153b218e2cd557cfdb52fbf9bb1" +checksum = "4b7456bc1ad2d4cf82b3a016be4c2ac48daf11bf990c1603ebd447fe6f30fca8" dependencies = [ + "cpuid-bool", "universal-hash", ] [[package]] name = "polyval" -version = "0.4.0" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9a50142b55ab3ed0e9f68dfb3709f1d90d29da24e91033f28b96330643107dc" +checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd" dependencies = [ - "cfg-if 0.1.10", + "cpuid-bool", + "opaque-debug 0.3.0", "universal-hash", ] [[package]] name = "ppv-lite86" -version = "0.2.8" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea" +checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" [[package]] name = "predicates" -version = "1.0.4" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "347a1b6f0b21e636bc9872fb60b83b8e185f6f5516298b8238699f7f9a531030" +checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df" dependencies = [ "difference", "predicates-core", @@ -6879,15 +6965,15 @@ dependencies = [ [[package]] name = "predicates-core" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06075c3a3e92559ff8929e7a280684489ea27fe44805174c3ebd9328dcb37178" +checksum = "57e35a3326b75e49aa85f5dc6ec15b41108cf5aee58eabb1f274dd18b73c2451" [[package]] name = "predicates-tree" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e63c4859013b38a76eca2414c64911fba30def9e3202ac461a2d22831220124" +checksum = "15f553275e5721409451eb85e15fd9a860a6e5ab4496eb215987502b5f5391f2" dependencies = [ "predicates-core", "treeline", @@ -6981,15 +7067,15 @@ checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" [[package]] name = "proc-macro-nested" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a" +checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" [[package]] name = "proc-macro2" -version = "1.0.24" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" +checksum = "f0d8caf72986c1a598726adc988bb5984792ef84f5ee5aa50209145ee8077038" dependencies = [ "unicode-xid", ] @@ -7061,9 +7147,9 @@ dependencies = [ [[package]] name = "psm" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3abf49e5417290756acfd26501536358560c4a5cc4a0934d390939acb3e7083a" +checksum = "21ff0279b4a85e576b97e4a21d13e437ebcd56612706cde5d3f0d5c9399490c0" dependencies = [ "cc", ] @@ -7087,9 +7173,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quick-error" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ac73b1112776fc109b2e61909bc46c7e1bf0d7f690ffb1676553acce16d5cda" +checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" [[package]] name = "quicksink" @@ -7099,7 +7185,7 @@ checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" dependencies = [ "futures-core", "futures-sink", - "pin-project-lite 0.1.7", + "pin-project-lite 0.1.12", ] [[package]] @@ -7146,7 +7232,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ - "getrandom 0.1.14", + "getrandom 0.1.16", "libc", "rand_chacha 0.2.2", "rand_core 0.5.1", @@ -7162,7 +7248,7 @@ checksum = "0ef9e7e66b4468674bfcb0c81af8b7fa0bb154fa9f28eb840da5c447baeb8d7e" dependencies = [ "libc", "rand_chacha 0.3.0", - "rand_core 0.6.1", + "rand_core 0.6.2", "rand_hc 0.3.0", ] @@ -7183,7 +7269,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d" dependencies = [ "ppv-lite86", - "rand_core 0.6.1", + "rand_core 0.6.2", ] [[package]] @@ -7207,16 +7293,16 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" dependencies = [ - "getrandom 0.1.14", + "getrandom 0.1.16", ] [[package]] name = "rand_core" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c026d7df8b298d90ccbbc5190bd04d85e159eaf5576caeacf8741da93ccbd2e5" +checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7" dependencies = [ - "getrandom 0.2.1", + "getrandom 0.2.3", ] [[package]] @@ -7243,7 +7329,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73" dependencies = [ - "rand_core 0.6.1", + "rand_core 0.6.2", ] [[package]] @@ -7263,25 +7349,25 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.3.1" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f02856753d04e03e26929f820d0a0a337ebe71f849801eea335d464b349080" +checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" dependencies = [ "autocfg", - "crossbeam-deque", + "crossbeam-deque 0.8.0", "either", "rayon-core", ] [[package]] name = "rayon-core" -version = "1.7.1" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e92e15d89083484e11353891f1af602cc661426deb9564c298b270c726973280" +checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" dependencies = [ - "crossbeam-deque", - "crossbeam-queue", - "crossbeam-utils 0.7.2", + "crossbeam-channel", + "crossbeam-deque 0.8.0", + "crossbeam-utils 0.8.4", "lazy_static", "num_cpus", ] @@ -7297,38 +7383,27 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.1.56" +version = "0.1.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" +checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" [[package]] name = "redox_syscall" -version = "0.2.4" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ec8ca9416c5ea37062b502703cd7fcb207736bc294f6e0cf367ac6fc234570" +checksum = "742739e41cd49414de871ea5e549afb7e2a3ac77b589bcbebe8c82fab37147fc" dependencies = [ "bitflags", ] -[[package]] -name = "redox_users" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b23093265f8d200fa7b4c2c76297f47e681c655f6f1285a8780d6a022f7431" -dependencies = [ - "getrandom 0.1.14", - "redox_syscall 0.1.56", - "rust-argon2", -] - [[package]] name = "redox_users" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" dependencies = [ - "getrandom 0.2.1", - "redox_syscall 0.2.4", + "getrandom 0.2.3", + "redox_syscall 0.2.8", ] [[package]] @@ -7346,18 +7421,18 @@ dependencies = [ [[package]] name = "ref-cast" -version = "1.0.2" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "745c1787167ddae5569661d5ffb8b25ae5fedbf46717eaa92d652221cec72623" +checksum = "300f2a835d808734ee295d45007adacb9ebb29dd3ae2424acfa17930cae541da" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.2" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d21b475ab879ef0e315ad99067fa25778c3b0377f57f1b00207448dac1a3144" +checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2" dependencies = [ "proc-macro2", "quote", @@ -7378,14 +7453,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.4.2" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c" +checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" dependencies = [ "aho-corasick", "memchr", "regex-syntax", - "thread_local", ] [[package]] @@ -7400,9 +7474,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.21" +version = "0.6.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189" +checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" [[package]] name = "region" @@ -7419,14 +7493,15 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "env_logger 0.8.2", - "hex-literal", + "env_logger 0.8.3", + "hex", "jsonrpsee-proc-macros", "jsonrpsee-ws-client", "log", "parity-scale-codec", + "serde_json", "sp-core", "sp-io", "sp-runtime", @@ -7453,9 +7528,9 @@ dependencies = [ [[package]] name = "retain_mut" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53552c6c49e1e13f1a203ef0080ab3bbef0beb570a528993e83df057a9d9bba1" +checksum = "e9c17925a9027d298a4603d286befe3f9dc0e8ed02523141914eb628798d6e5b" [[package]] name = "ring" @@ -7484,9 +7559,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d83c02c429044d58474eaf5ae31e062d0de894e21125b47437ec0edc1397e6" +checksum = "c749134fda8bfc90d0de643d59bfc841dcb3ac8a1062e12b6754bd60235c48b3" dependencies = [ "libc", "librocksdb-sys", @@ -7560,31 +7635,19 @@ dependencies = [ [[package]] name = "rpassword" -version = "5.0.0" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d755237fc0f99d98641540e66abac8bc46a0652f19148ac9e21de2da06b326c9" +checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb" dependencies = [ "libc", "winapi 0.3.9", ] -[[package]] -name = "rust-argon2" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017" -dependencies = [ - "base64 0.11.0", - "blake2b_simd", - "constant_time_eq", - "crossbeam-utils 0.7.2", -] - [[package]] name = "rustc-demangle" -version = "0.1.16" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" +checksum = "410f7acf3cb3a44527c5d9546bad4bf4e6c460915d5f9f2fc524498bfe8f70ce" [[package]] name = "rustc-hash" @@ -7609,28 +7672,28 @@ dependencies = [ [[package]] name = "rustls" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cac94b333ee2aac3284c5b8a1b7fb4dd11cba88c244e3fe33cdbd047af0eb693" +checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81" dependencies = [ "base64 0.12.3", "log", "ring", "sct", - "webpki 0.21.3", + "webpki 0.21.4", ] [[package]] name = "rustls" -version = "0.19.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "064fd21ff87c6e87ed4506e68beb42459caa4a0e2eb144932e6776768556980b" +checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ "base64 0.13.0", "log", "ring", "sct", - "webpki 0.21.3", + "webpki 0.21.4", ] [[package]] @@ -7640,16 +7703,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "629d439a7672da82dd955498445e496ee2096fe2117b9f796558a43fdb9e59b8" dependencies = [ "openssl-probe", - "rustls 0.18.0", + "rustls 0.18.1", "schannel", "security-framework", ] [[package]] name = "rustversion" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb5d2a036dc6d2d8fd16fde3498b04306e29bd193bf306a57427019b823d5acd" +checksum = "61b3909d758bb75c79f23d4736fac9433868679d3ad2ea7a61e3c25cfda9a088" [[package]] name = "ruzstd" @@ -7667,8 +7730,8 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" dependencies = [ - "futures 0.3.14", - "pin-project 0.4.23", + "futures 0.3.15", + "pin-project 0.4.28", "static_assertions", ] @@ -7708,12 +7771,12 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "derive_more", "either", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "ip_network", "libp2p", @@ -7737,9 +7800,9 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "log", "parity-scale-codec", @@ -7760,7 +7823,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7776,7 +7839,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7797,7 +7860,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -7808,11 +7871,11 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "chrono", "fdlimit", - "futures 0.3.14", + "futures 0.3.15", "hex", "libp2p", "log", @@ -7840,17 +7903,17 @@ dependencies = [ "structopt", "thiserror", "tiny-bip39", - "tokio 0.2.21", + "tokio 0.2.25", ] [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "derive_more", "fnv", - "futures 0.3.14", + "futures 0.3.15", "hash-db", "kvdb", "lazy_static", @@ -7880,7 +7943,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "blake2-rfc", "hash-db", @@ -7910,7 +7973,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parking_lot 0.11.1", "sc-client-api", @@ -7922,17 +7985,17 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "derive_more", "fork-tree", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "log", "merlin", "num-bigint", - "num-rational", + "num-rational 0.2.4", "num-traits", "parity-scale-codec", "parking_lot 0.11.1", @@ -7968,10 +8031,10 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "derive_more", - "futures 0.3.14", + "futures 0.3.15", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -7992,7 +8055,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8005,10 +8068,10 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "impl-trait-for-tuples", "log", @@ -8033,7 +8096,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "sc-client-api", "sp-authorship", @@ -8044,7 +8107,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "derive_more", "lazy_static", @@ -8073,7 +8136,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "derive_more", "parity-scale-codec", @@ -8090,7 +8153,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "log", "parity-scale-codec", @@ -8105,7 +8168,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "log", "parity-scale-codec", @@ -8122,20 +8185,20 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "derive_more", "dyn-clone", "finality-grandpa", "fork-tree", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "linked-hash-map", "log", "parity-scale-codec", "parking_lot 0.11.1", - "pin-project 1.0.4", + "pin-project 1.0.7", "rand 0.7.3", "sc-block-builder", "sc-client-api", @@ -8163,11 +8226,11 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "derive_more", "finality-grandpa", - "futures 0.3.14", + "futures 0.3.15", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -8187,10 +8250,10 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "derive_more", - "futures 0.3.14", + "futures 0.3.15", "log", "num-traits", "parity-scale-codec", @@ -8208,10 +8271,10 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "ansi_term 0.12.1", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "log", "parity-util-mem", @@ -8226,11 +8289,11 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "derive_more", - "futures 0.3.14", + "futures 0.3.15", "futures-util", "hex", "merlin", @@ -8240,13 +8303,13 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-keystore", - "subtle 2.2.3", + "subtle 2.4.0", ] [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "hash-db", "lazy_static", @@ -8265,7 +8328,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-std", "async-trait", @@ -8279,7 +8342,7 @@ dependencies = [ "erased-serde", "fnv", "fork-tree", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "hex", "ip_network", @@ -8291,7 +8354,7 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.11.1", - "pin-project 1.0.4", + "pin-project 1.0.7", "prost", "prost-build", "rand 0.7.3", @@ -8318,9 +8381,9 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "libp2p", "log", @@ -8335,14 +8398,14 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "bytes 0.5.6", "fnv", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "hex", - "hyper 0.13.9", + "hyper 0.13.10", "hyper-rustls", "log", "num_cpus", @@ -8363,9 +8426,9 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "libp2p", "log", "serde_json", @@ -8376,7 +8439,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8385,9 +8448,9 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "hash-db", "jsonrpc-core", "jsonrpc-pubsub", @@ -8420,10 +8483,10 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "derive_more", - "futures 0.3.14", + "futures 0.3.15", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -8445,9 +8508,9 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.1.29", + "futures 0.1.31", "jsonrpc-core", "jsonrpc-http-server", "jsonrpc-ipc-server", @@ -8463,13 +8526,13 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.1.29", - "futures 0.3.14", + "futures 0.1.31", + "futures 0.3.15", "futures-timer 3.0.2", "hash-db", "jsonrpc-core", @@ -8479,7 +8542,7 @@ dependencies = [ "parity-scale-codec", "parity-util-mem", "parking_lot 0.11.1", - "pin-project 1.0.4", + "pin-project 1.0.7", "rand 0.7.3", "sc-block-builder", "sc-chain-spec", @@ -8527,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "log", "parity-scale-codec", @@ -8542,7 +8605,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8562,14 +8625,14 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "chrono", - "futures 0.3.14", + "futures 0.3.15", "libp2p", "log", "parking_lot 0.11.1", - "pin-project 1.0.4", + "pin-project 1.0.7", "rand 0.7.3", "serde", "serde_json", @@ -8582,7 +8645,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8619,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8630,10 +8693,10 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "derive_more", - "futures 0.3.14", + "futures 0.3.15", "linked-hash-map", "log", "parity-util-mem", @@ -8652,9 +8715,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "futures-diagnose", "intervalier", "log", @@ -8693,14 +8756,14 @@ checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" dependencies = [ "arrayref", "arrayvec 0.5.2", - "curve25519-dalek 2.1.0", - "getrandom 0.1.14", + "curve25519-dalek 2.1.2", + "getrandom 0.1.16", "merlin", "rand 0.7.3", "rand_core 0.5.1", "serde", "sha2 0.8.2", - "subtle 2.2.3", + "subtle 2.4.0", "zeroize", ] @@ -8718,18 +8781,18 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "scroll" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb2332cb595d33f7edd5700f4cbf94892e680c7f0ae56adab58a35190b66cb1" +checksum = "fda28d4b4830b807a8b43f7b0e6b5df875311b3e7621d84577188c175b6ec1ec" dependencies = [ "scroll_derive", ] [[package]] name = "scroll_derive" -version = "0.10.2" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e367622f934864ffa1c704ba2b82280aab856e3d8213c84c5720257eb34b15b9" +checksum = "aaaae8f38bb311444cfb7f1979af0bc9240d95795f75f9ceddf6a59b79ceffa0" dependencies = [ "proc-macro2", "quote", @@ -8738,9 +8801,9 @@ dependencies = [ [[package]] name = "sct" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c" +checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" dependencies = [ "ring", "untrusted", @@ -8802,7 +8865,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" dependencies = [ - "semver-parser 0.10.0", + "semver-parser 0.10.2", "serde", ] @@ -8814,12 +8877,11 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "semver-parser" -version = "0.10.0" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e012c6c5380fb91897ba7b9261a0f565e624e869d42fe1a1d03fa0d68a083d5" +checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" dependencies = [ "pest", - "pest_derive", ] [[package]] @@ -8842,18 +8904,18 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5" [[package]] name = "serde" -version = "1.0.125" +version = "1.0.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171" +checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.125" +version = "1.0.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d" +checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43" dependencies = [ "proc-macro2", "quote", @@ -8883,6 +8945,19 @@ dependencies = [ "opaque-debug 0.2.3", ] +[[package]] +name = "sha-1" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c4cfa741c5832d0ef7fab46cabed29c2aae926db0b11bb2069edd8db5e64e16" +dependencies = [ + "block-buffer 0.9.0", + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.9.0", + "opaque-debug 0.3.0", +] + [[package]] name = "sha2" version = "0.8.2" @@ -8897,13 +8972,13 @@ dependencies = [ [[package]] name = "sha2" -version = "0.9.2" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e7aab86fe2149bad8c507606bdb3f4ef5e7b2380eb92350f56122cca72a42a8" +checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpuid-bool", + "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.0", ] @@ -8922,12 +8997,11 @@ dependencies = [ [[package]] name = "sharded-slab" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4921be914e16899a80adefb821f8ddb7974e3f1250223575a44ed994882127" +checksum = "79c719719ee05df97490f80a45acfc99e5a30ce98a1e4fb67aee422745ae14e3" dependencies = [ "lazy_static", - "loom", ] [[package]] @@ -8938,9 +9012,9 @@ checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" [[package]] name = "signal-hook" -version = "0.1.16" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604508c1418b99dfe1925ca9224829bb2a8a9a04dda655cc01fcad46f4ab05ed" +checksum = "ef33d6d0cd06e0840fba9985aab098c147e67e05cee14d412d3345ed14ff30ac" dependencies = [ "libc", "signal-hook-registry", @@ -8948,37 +9022,36 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41" +checksum = "16f1d0fef1604ba8f7a073c7e701f213e056707210e9020af4528e0101ce11a6" dependencies = [ - "arc-swap", "libc", ] [[package]] name = "signature" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65211b7b6fc3f14ff9fc7a2011a434e3e6880585bd2e9e9396315ae24cbf7852" +checksum = "0f0242b8e50dd9accdd56170e94ca1ebd223b098eb9c83539a6e367d0f36ae68" [[package]] name = "simba" -version = "0.1.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb931b1367faadea6b1ab1c306a860ec17aaa5fa39f367d0c744e69d971a1fb2" +checksum = "5132a955559188f3d13c9ba831e77c802ddc8782783f050ed0c52f5988b95f4c" dependencies = [ - "approx", - "num-complex", + "approx 0.4.0", + "num-complex 0.3.1", "num-traits", - "paste 0.1.18", + "paste", ] [[package]] name = "slab" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" +checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527" [[package]] name = "slog" @@ -8995,25 +9068,25 @@ version = "0.9.3" dependencies = [ "enumn", "parity-scale-codec", - "paste 1.0.4", + "paste", "sp-runtime", "sp-std", ] [[package]] name = "slotmap" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab3003725ae562cf995f3dc82bb99e70926e09000396816765bb6d7adbe740b1" +checksum = "585cd5dffe4e9e06f6dfdf66708b70aca3f781bed561f4f667b2d9c0d4559e36" dependencies = [ "version_check", ] [[package]] name = "smallvec" -version = "0.6.13" +version = "0.6.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6" +checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" dependencies = [ "maybe-uninit", ] @@ -9026,9 +9099,9 @@ checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" [[package]] name = "snow" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32bf8474159a95551661246cda4976e89356999e3cbfef36f493dacc3fae1e8e" +checksum = "795dd7aeeee24468e5a32661f6d27f7b5cbed802031b2d7640c7b10f8fb2dd50" dependencies = [ "aes-gcm", "blake2", @@ -9037,20 +9110,19 @@ dependencies = [ "rand_core 0.5.1", "ring", "rustc_version", - "sha2 0.9.2", - "subtle 2.2.3", - "x25519-dalek 0.6.0", + "sha2 0.9.5", + "subtle 2.4.0", + "x25519-dalek", ] [[package]] name = "socket2" -version = "0.3.17" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c29947abdee2a218277abeca306f25789c938e500ea5a9d4b12a5a504466902" +checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.1.56", "winapi 0.3.9", ] @@ -9066,24 +9138,24 @@ dependencies = [ [[package]] name = "soketto" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85457366ae0c6ce56bf05a958aef14cd38513c236568618edbcd9a8c52cb80b0" +checksum = "b5c71ed3d54db0a699f4948e1bb3e45b450fa31fe602621dee6680361d569c88" dependencies = [ "base64 0.12.3", "bytes 0.5.6", "flate2", - "futures 0.3.14", + "futures 0.3.15", "httparse", "log", "rand 0.7.3", - "sha-1", + "sha-1 0.9.6", ] [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "log", "sp-core", @@ -9095,7 +9167,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "hash-db", "log", @@ -9112,7 +9184,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9124,7 +9196,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "max-encoded-len", "parity-scale-codec", @@ -9137,7 +9209,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "integer-sqrt", "num-traits", @@ -9151,7 +9223,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "sp-api", @@ -9163,7 +9235,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "parity-scale-codec", @@ -9175,7 +9247,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "sp-api", @@ -9187,9 +9259,9 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "log", "lru", "parity-scale-codec", @@ -9205,7 +9277,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "serde", "serde_json", @@ -9214,10 +9286,10 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "libp2p", "log", @@ -9241,7 +9313,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "merlin", @@ -9263,7 +9335,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9273,7 +9345,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9285,14 +9357,14 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "base58", "blake2-rfc", "byteorder", "dyn-clonable", "ed25519-dalek", - "futures 0.3.14", + "futures 0.3.15", "hash-db", "hash256-std-hasher", "hex", @@ -9312,7 +9384,7 @@ dependencies = [ "schnorrkel", "secrecy", "serde", - "sha2 0.9.2", + "sha2 0.9.5", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", @@ -9330,7 +9402,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9339,7 +9411,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "proc-macro2", "quote", @@ -9349,7 +9421,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "environmental", "parity-scale-codec", @@ -9360,7 +9432,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "finality-grandpa", "log", @@ -9377,7 +9449,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9391,9 +9463,9 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "hash-db", "libsecp256k1", "log", @@ -9416,7 +9488,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "lazy_static", "sp-core", @@ -9427,11 +9499,11 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "derive_more", - "futures 0.3.14", + "futures 0.3.15", "merlin", "parity-scale-codec", "parking_lot 0.11.1", @@ -9444,7 +9516,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "ruzstd", "zstd", @@ -9453,7 +9525,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "serde", @@ -9466,7 +9538,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9477,7 +9549,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "sp-api", "sp-core", @@ -9487,7 +9559,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "backtrace", ] @@ -9495,7 +9567,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "rustc-hash", "serde", @@ -9506,7 +9578,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "either", "hash256-std-hasher", @@ -9515,7 +9587,7 @@ dependencies = [ "max-encoded-len", "parity-scale-codec", "parity-util-mem", - "paste 1.0.4", + "paste", "rand 0.7.3", "serde", "sp-application-crypto", @@ -9528,7 +9600,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9545,7 +9617,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9557,7 +9629,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "serde", "serde_json", @@ -9566,7 +9638,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "sp-api", @@ -9579,7 +9651,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9589,7 +9661,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "hash-db", "log", @@ -9612,12 +9684,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9630,7 +9702,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "log", "sp-core", @@ -9643,7 +9715,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9660,7 +9732,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "erased-serde", "log", @@ -9678,10 +9750,10 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "derive_more", - "futures 0.3.14", + "futures 0.3.15", "log", "parity-scale-codec", "serde", @@ -9694,7 +9766,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "hash-db", "memory-db", @@ -9708,9 +9780,9 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "futures-core", "futures-timer 3.0.2", "lazy_static", @@ -9720,7 +9792,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9733,7 +9805,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -9745,7 +9817,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9761,9 +9833,36 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "stable_deref_trait" -version = "1.1.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "staking-miner" +version = "0.9.0" +dependencies = [ + "env_logger 0.8.3", + "frame-election-provider-support", + "hex", + "jsonrpsee", + "jsonrpsee-types", + "jsonrpsee-ws-client", + "kusama-runtime", + "log", + "pallet-election-provider-multi-phase", + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-runtime", + "remote-externalities", + "serde_json", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "structopt", + "tokio 0.2.25", + "westend-runtime", +] [[package]] name = "static_assertions" @@ -9798,27 +9897,29 @@ dependencies = [ [[package]] name = "statrs" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cce16f6de653e88beca7bd13780d08e09d4489dbca1f9210e041bc4852481382" +checksum = "1e34b58a8f9b7462b6922e0b4e3c83d1b3c2075f7f996a56d6c66afa81590064" dependencies = [ + "nalgebra 0.19.0", "rand 0.7.3", ] [[package]] name = "stream-cipher" -version = "0.4.1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09f8ed9974042b8c3672ff3030a69fcc03b74c47c3d1ecb7755e8a3626011e88" +checksum = "c80e15f898d8d8f25db24c253ea615cc14acf418ff307822995814e7d42cfa89" dependencies = [ + "block-cipher", "generic-array 0.14.4", ] [[package]] name = "streamunordered" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9394ee1338fee8370bee649f8a7170b3a56917903a0956467ad192dcf8699ca" +checksum = "e68576e37c8a37f5372796df15202190349dd80e7ed6a79544c0232213e90e35" dependencies = [ "futures-core", "futures-sink", @@ -9902,14 +10003,14 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "chrono", "console_error_panic_hook", - "futures 0.1.29", - "futures 0.3.14", + "futures 0.1.31", + "futures 0.3.15", "futures-timer 3.0.2", - "getrandom 0.2.1", + "getrandom 0.2.3", "js-sys", "kvdb-web", "libp2p-wasm-ext", @@ -9928,7 +10029,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "platforms", ] @@ -9936,10 +10037,10 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-system-rpc-runtime-api", - "futures 0.3.14", + "futures 0.3.15", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -9959,25 +10060,25 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-std", "derive_more", "futures-util", - "hyper 0.13.9", + "hyper 0.13.10", "log", "prometheus", - "tokio 0.2.21", + "tokio 0.2.25", ] [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "async-trait", - "futures 0.1.29", - "futures 0.3.14", + "futures 0.1.31", + "futures 0.3.15", "hash-db", "hex", "parity-scale-codec", @@ -10002,17 +10103,17 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "substrate-test-utils-derive", - "tokio 0.2.21", + "tokio 0.2.25", ] [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -10043,15 +10144,15 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" [[package]] name = "subtle" -version = "2.2.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "502d53007c02d7605a05df1c1a73ee436952781653da5d0bf57ad608f66932c1" +checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2" [[package]] name = "syn" -version = "1.0.67" +version = "1.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6498a9efc342871f91cc2d0d694c674368b4ceb40f62b65a7a08c3792935e702" +checksum = "a1e8cdbefb79a9a5a65e0db8b47b723ee907b7c7f8496c76a1770b5c310bab82" dependencies = [ "proc-macro2", "quote", @@ -10078,15 +10179,15 @@ checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" [[package]] name = "tap" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36474e732d1affd3a6ed582781b3683df3d0563714c59c39591e8ff707cf078e" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.11.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee5a98e506fb7231a304c3a1bd7c132a55016cf65001e0282480665870dfcb9" +checksum = "422045212ea98508ae3d28025bc5aaa2bd4a9cdaecd442a08da2ee620ee9ea95" [[package]] name = "tempfile" @@ -10097,16 +10198,16 @@ dependencies = [ "cfg-if 1.0.0", "libc", "rand 0.8.3", - "redox_syscall 0.2.4", + "redox_syscall 0.2.8", "remove_dir_all", "winapi 0.3.9", ] [[package]] name = "termcolor" -version = "1.1.0" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f" +checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" dependencies = [ "winapi-util", ] @@ -10128,7 +10229,7 @@ dependencies = [ name = "test-parachain-adder-collator" version = "0.9.3" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "futures-timer 3.0.2", "log", "parity-scale-codec", @@ -10148,7 +10249,7 @@ dependencies = [ "structopt", "substrate-test-utils", "test-parachain-adder", - "tokio 0.2.21", + "tokio 0.2.25", ] [[package]] @@ -10181,18 +10282,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e" +checksum = "fa6f76457f59514c7eeb4e59d891395fab0b2fd1d40723ae737d64153392e9c6" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0" +checksum = "8a36768c0fbf1bb15eca10defa29526bda730a2376c2ab4393ccfa16fb1a318d" dependencies = [ "proc-macro2", "quote", @@ -10232,11 +10333,12 @@ dependencies = [ [[package]] name = "time" -version = "0.1.43" +version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" +checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" dependencies = [ "libc", + "wasi 0.10.0+wasi-snapshot-preview1", "winapi 0.3.9", ] @@ -10252,7 +10354,7 @@ dependencies = [ "pbkdf2 0.4.0", "rand 0.7.3", "rustc-hash", - "sha2 0.9.2", + "sha2 0.9.5", "thiserror", "unicode-normalization", "zeroize", @@ -10269,15 +10371,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53953d2d3a5ad81d9f844a32f14ebb121f50b650cd59d0ee2a07cf13c617efed" - -[[package]] -name = "tinyvec" -version = "1.1.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317cca572a0e89c3ce0ca1f1bdc9369547fe318a683418e42ac8f59d14701023" +checksum = "5b5220f05bb7de7f3f53c7c065e1199b3172696fe2db9f9c4d8ad9b4ee74c342" dependencies = [ "tinyvec_macros", ] @@ -10295,7 +10391,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "mio", "num_cpus", "tokio-codec", @@ -10314,9 +10410,9 @@ dependencies = [ [[package]] name = "tokio" -version = "0.2.21" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d099fa27b9702bed751524694adbe393e18b36b204da91eb1cbbbbb4a5ee2d58" +checksum = "6703a273949a90131b290be1fe7b039d0fc884aa1935860dfcbe056f28cd8092" dependencies = [ "bytes 0.5.6", "fnv", @@ -10328,7 +10424,7 @@ dependencies = [ "mio", "mio-uds", "num_cpus", - "pin-project-lite 0.1.7", + "pin-project-lite 0.1.12", "signal-hook-registry", "slab", "tokio-macros", @@ -10343,7 +10439,7 @@ checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46" dependencies = [ "bytes 0.4.12", "either", - "futures 0.1.29", + "futures 0.1.31", ] [[package]] @@ -10353,7 +10449,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "tokio-io", ] @@ -10363,7 +10459,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" dependencies = [ - "futures 0.1.29", + "futures 0.1.31", "tokio-executor", ] @@ -10374,7 +10470,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" dependencies = [ "crossbeam-utils 0.7.2", - "futures 0.1.29", + "futures 0.1.31", ] [[package]] @@ -10383,7 +10479,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4" dependencies = [ - "futures 0.1.29", + "futures 0.1.31", "tokio-io", "tokio-threadpool", ] @@ -10395,15 +10491,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "log", ] [[package]] name = "tokio-macros" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c3acc6aa564495a0f2e1d59fab677cd7f81a19994cfc7f3ad0e64301560389" +checksum = "e44da00bfc73a25f814cd8d7e57a68a5c31b74b3152a0a1d1f590c97ed06265a" dependencies = [ "proc-macro2", "quote", @@ -10417,7 +10513,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "mio", "mio-named-pipes", "tokio 0.1.22", @@ -10430,7 +10526,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" dependencies = [ "crossbeam-utils 0.7.2", - "futures 0.1.29", + "futures 0.1.31", "lazy_static", "log", "mio", @@ -10444,14 +10540,14 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "228139ddd4fea3fa345a29233009635235833e52807af7ea6448ead03890d6a9" +checksum = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a" dependencies = [ "futures-core", - "rustls 0.18.0", - "tokio 0.2.21", - "webpki 0.21.3", + "rustls 0.18.1", + "tokio 0.2.25", + "webpki 0.21.4", ] [[package]] @@ -10460,7 +10556,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162" dependencies = [ - "futures 0.1.29", + "futures 0.1.31", ] [[package]] @@ -10470,7 +10566,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee" dependencies = [ "fnv", - "futures 0.1.29", + "futures 0.1.31", ] [[package]] @@ -10480,7 +10576,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "iovec", "mio", "tokio-io", @@ -10493,10 +10589,10 @@ version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" dependencies = [ - "crossbeam-deque", + "crossbeam-deque 0.7.3", "crossbeam-queue", "crossbeam-utils 0.7.2", - "futures 0.1.29", + "futures 0.1.31", "lazy_static", "log", "num_cpus", @@ -10511,7 +10607,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" dependencies = [ "crossbeam-utils 0.7.2", - "futures 0.1.29", + "futures 0.1.31", "slab", "tokio-executor", ] @@ -10523,7 +10619,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "log", "mio", "tokio-codec", @@ -10538,7 +10634,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0" dependencies = [ "bytes 0.4.12", - "futures 0.1.29", + "futures 0.1.31", "iovec", "libc", "log", @@ -10559,24 +10655,24 @@ dependencies = [ "futures-core", "futures-sink", "log", - "pin-project-lite 0.1.7", - "tokio 0.2.21", + "pin-project-lite 0.1.12", + "tokio 0.2.25", ] [[package]] name = "toml" -version = "0.5.6" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a" +checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" dependencies = [ "serde", ] [[package]] name = "tower-service" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" +checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" [[package]] name = "tracing" @@ -10586,7 +10682,7 @@ checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d" dependencies = [ "cfg-if 1.0.0", "log", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", "tracing-attributes", "tracing-core", ] @@ -10623,19 +10719,19 @@ dependencies = [ [[package]] name = "tracing-futures" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c" +checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" dependencies = [ - "pin-project 0.4.23", + "pin-project 1.0.7", "tracing", ] [[package]] name = "tracing-log" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0f8c7178e13481ff6765bd169b33e8d554c5d2bbede5e32c356194be02b9b9" +checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3" dependencies = [ "lazy_static", "log", @@ -10654,9 +10750,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.2.15" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1fa8f0c8f4c594e4fc9debc1990deab13238077271ba84dd853d54902ee3401" +checksum = "aa5553bf0883ba7c9cbe493b085c29926bd41b66afc31ff72cf17ff4fb60dcd5" dependencies = [ "ansi_term 0.12.1", "chrono", @@ -10682,9 +10778,9 @@ checksum = "a7f741b240f1a48843f9b8e0444fb55fb2a4ff67293b50a9179dfd5ea67f8d41" [[package]] name = "trie-db" -version = "0.22.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec051edf7f0fc9499a2cb0947652cab2148b9d7f61cee7605e312e9f970dacaf" +checksum = "cd81fe0c8bc2b528a51c9d2c31dae4483367a26a723a3c9a4a8120311d7774e3" dependencies = [ "hash-db", "hashbrown", @@ -10704,9 +10800,9 @@ dependencies = [ [[package]] name = "trust-dns-proto" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d57e219ba600dd96c2f6d82eb79645068e14edbc5c7e27514af40436b88150c" +checksum = "ad0d7f5db438199a6e2609debe3f69f808d074e0a2888ee0bccb45fe234d03f4" dependencies = [ "async-trait", "cfg-if 1.0.0", @@ -10715,22 +10811,22 @@ dependencies = [ "futures-channel", "futures-io", "futures-util", - "idna 0.2.0", + "idna 0.2.3", "ipnet", "lazy_static", "log", "rand 0.8.3", "smallvec 1.6.1", "thiserror", - "tinyvec 1.1.1", - "url 2.2.0", + "tinyvec", + "url 2.2.2", ] [[package]] name = "trust-dns-resolver" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0437eea3a6da51acc1e946545ff53d5b8fb2611ff1c3bed58522dde100536ae" +checksum = "f6ad17b608a64bd0735e67bde16b0636f8aa8591f831a25d18443ed00a699770" dependencies = [ "cfg-if 1.0.0", "futures-util", @@ -10747,14 +10843,14 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" +checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6a63f282a5c0fb608569137ed464a23583d2d7de" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" dependencies = [ "frame-try-runtime", "log", @@ -10775,9 +10871,9 @@ dependencies = [ [[package]] name = "trybuild" -version = "1.0.41" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99471a206425fba51842a9186315f32d91c56eadc21ea4c21f847b59cf778f8b" +checksum = "1768998d9a3b179411618e377dbb134c58a88cda284b0aa71c42c40660127d46" dependencies = [ "glob", "lazy_static", @@ -10800,9 +10896,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" +checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06" [[package]] name = "ucd-trie" @@ -10833,27 +10929,27 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" +checksum = "eeb8be209bb1c96b7c177c7420d26e04eccacb0eeae6b980e35fcb74678107e0" dependencies = [ "matches", ] [[package]] name = "unicode-normalization" -version = "0.1.13" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977" +checksum = "33717dca7ac877f497014e10d73f3acf948c342bee31b5ca7892faf94ccc6b49" dependencies = [ - "tinyvec 0.3.3", + "tinyvec", ] [[package]] name = "unicode-segmentation" -version = "1.6.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" +checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796" [[package]] name = "unicode-width" @@ -10863,9 +10959,9 @@ checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" [[package]] name = "unicode-xid" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" +checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" [[package]] name = "universal-hash" @@ -10874,7 +10970,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8326b2c654932e3e4f9196e69d08fdf7cfd718e1dc6f66b347e6024a0c961402" dependencies = [ "generic-array 0.14.4", - "subtle 2.2.3", + "subtle 2.4.0", ] [[package]] @@ -10926,36 +11022,31 @@ dependencies = [ [[package]] name = "url" -version = "2.2.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e" +checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" dependencies = [ "form_urlencoded", - "idna 0.2.0", + "idna 0.2.3", "matches", "percent-encoding 2.1.0", ] [[package]] name = "value-bag" -version = "1.0.0-alpha.6" +version = "1.0.0-alpha.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b676010e055c99033117c2343b33a40a30b91fecd6c49055ac9cd2d6c305ab1" +checksum = "dd320e1520f94261153e96f7534476ad869c14022aee1e59af7c778075d840ae" dependencies = [ "ctor", + "version_check", ] [[package]] name = "vcpkg" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c" - -[[package]] -name = "vec-arena" -version = "1.0.0" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eafc1b9b2dfc6f5529177b62cf806484db55b32dc7c9658a118e11bbeb33061d" +checksum = "025ce40a007e1907e58d5bc1a594def78e5573bb0b1160bc389634e8f12e4faa" [[package]] name = "vec_map" @@ -10965,9 +11056,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "version_check" -version = "0.9.2" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" +checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" [[package]] name = "void" @@ -10992,9 +11083,9 @@ checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" [[package]] name = "walkdir" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d" +checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" dependencies = [ "same-file", "winapi 0.3.9", @@ -11007,7 +11098,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230" dependencies = [ - "futures 0.1.29", + "futures 0.1.31", "log", "try-lock", ] @@ -11036,9 +11127,9 @@ checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" [[package]] name = "wasm-bindgen" -version = "0.2.73" +version = "0.2.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83240549659d187488f91f33c0f8547cbfef0b2088bc470c116d1d260ef623d9" +checksum = "d54ee1d4ed486f78874278e63e4069fc1ab9f6a18ca492076ffb90c5eb2997fd" dependencies = [ "cfg-if 1.0.0", "serde", @@ -11048,9 +11139,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.73" +version = "0.2.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae70622411ca953215ca6d06d3ebeb1e915f0f6613e3b495122878d7ebec7dae" +checksum = "3b33f6a0694ccfea53d94db8b2ed1c3a8a4c86dd936b13b9f0a15ec4a451b900" dependencies = [ "bumpalo", "lazy_static", @@ -11063,9 +11154,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.19" +version = "0.4.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fe9756085a84584ee9457a002b7cdfe0bfff169f45d2591d8be1345a6780e35" +checksum = "5fba7978c679d53ce2d0ac80c8c175840feb849a161664365d1287b41f2e67f1" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -11075,9 +11166,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.73" +version = "0.2.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e734d91443f177bfdb41969de821e15c516931c3c3db3d318fa1b68975d0f6f" +checksum = "088169ca61430fe1e58b8096c24975251700e7b1f6fd91cc9d59b04fb9b18bd4" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -11085,9 +11176,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.73" +version = "0.2.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53739ff08c8a68b0fdbcd54c372b8ab800b1449ab3c9d706503bc7dd1621b2c" +checksum = "be2241542ff3d9f241f5e2cb6dd09b37efe786df8851c54957683a49f0987a97" dependencies = [ "proc-macro2", "quote", @@ -11098,9 +11189,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.73" +version = "0.2.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9a543ae66aa233d14bb765ed9af4a33e81b8b58d1584cf1b47ff8cd0b9e4489" +checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f" [[package]] name = "wasm-gc-api" @@ -11119,7 +11210,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "js-sys", "parking_lot 0.11.1", "pin-utils", @@ -11137,7 +11228,7 @@ dependencies = [ "downcast-rs", "libc", "memory_units", - "num-rational", + "num-rational 0.2.4", "num-traits", "parity-wasm 0.42.2", "wasmi-validation", @@ -11172,7 +11263,7 @@ dependencies = [ "indexmap", "libc", "log", - "paste 1.0.4", + "paste", "region", "rustc-demangle", "serde", @@ -11204,7 +11295,7 @@ dependencies = [ "libc", "log", "serde", - "sha2 0.9.2", + "sha2 0.9.5", "toml", "winapi 0.3.9", "zstd", @@ -11231,9 +11322,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "382eecd6281c6c1d1f3c904c3c143e671fc1a9573820cbfa777fba45ce2eda9c" dependencies = [ "anyhow", - "gimli", + "gimli 0.23.0", "more-asserts", - "object", + "object 0.23.0", "target-lexicon", "thiserror", "wasmparser", @@ -11251,7 +11342,7 @@ dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-wasm", - "gimli", + "gimli 0.23.0", "indexmap", "log", "more-asserts", @@ -11277,7 +11368,7 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b5f649623859a12d361fe4cc4793de44f7c3ff34c322c5714289787e89650bb" dependencies = [ - "addr2line", + "addr2line 0.14.1", "anyhow", "cfg-if 1.0.0", "cranelift-codegen", @@ -11285,10 +11376,10 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli", + "gimli 0.23.0", "log", "more-asserts", - "object", + "object 0.23.0", "rayon", "region", "serde", @@ -11312,7 +11403,7 @@ checksum = "ef2e99cd9858f57fd062e9351e07881cedfc8597928385e02a48d9333b9e15a1" dependencies = [ "anyhow", "more-asserts", - "object", + "object 0.23.0", "target-lexicon", "wasmtime-debug", "wasmtime-environ", @@ -11326,10 +11417,10 @@ checksum = "e46c0a590e49278ba7f79ef217af9db4ecc671b50042c185093e22d73524abb2" dependencies = [ "anyhow", "cfg-if 1.0.0", - "gimli", + "gimli 0.23.0", "lazy_static", "libc", - "object", + "object 0.23.0", "scroll", "serde", "target-lexicon", @@ -11350,7 +11441,7 @@ dependencies = [ "lazy_static", "libc", "log", - "memoffset 0.6.1", + "memoffset 0.6.4", "more-asserts", "psm", "region", @@ -11361,9 +11452,9 @@ dependencies = [ [[package]] name = "wast" -version = "35.0.1" +version = "35.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a5800e9f86a1eae935e38bea11e60fd253f6d514d153fb39b3e5535a7b37b56" +checksum = "2ef140f1b49946586078353a453a1d28ba90adfc54dde75710bc1931de204d68" dependencies = [ "leb128", ] @@ -11379,9 +11470,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.46" +version = "0.3.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222b1ef9334f92a21d3fb53dc3fd80f30836959a90f9274a626d7e06315ba3c3" +checksum = "e828417b379f3df7111d3a2a9e5753706cae29c41f7c4029ee9fd77f3e09e582" dependencies = [ "js-sys", "wasm-bindgen", @@ -11389,9 +11480,9 @@ dependencies = [ [[package]] name = "webpki" -version = "0.21.3" +version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae" +checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" dependencies = [ "ring", "untrusted", @@ -11409,11 +11500,11 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.21.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82015b7e0b8bad8185994674a13a93306bea76cf5a16c5a181382fd3a5ec2376" +checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940" dependencies = [ - "webpki 0.21.3", + "webpki 0.21.4", ] [[package]] @@ -11514,12 +11605,12 @@ dependencies = [ [[package]] name = "which" -version = "4.0.2" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87c14ef7e1b8b8ecfc75d5eca37949410046e66f15d185c01d70824f1f8111ef" +checksum = "b55551e42cbdf2ce2bedd2203d0cc08dba002c27510f86dab6d0ce304cba3dfe" dependencies = [ + "either", "libc", - "thiserror", ] [[package]] @@ -11598,22 +11689,11 @@ checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" [[package]] name = "x25519-dalek" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637ff90c9540fa3073bb577e65033069e4bae7c79d49d74aa3ffdf5342a53217" -dependencies = [ - "curve25519-dalek 2.1.0", - "rand_core 0.5.1", - "zeroize", -] - -[[package]] -name = "x25519-dalek" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc614d95359fd7afc321b66d2107ede58b246b844cf5d8a0adcca413e439f088" +checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" dependencies = [ - "curve25519-dalek 3.0.0", + "curve25519-dalek 3.1.0", "rand_core 0.5.1", "zeroize", ] @@ -11667,7 +11747,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7d9028f208dd5e63c614be69f115c1b53cacc1111437d4c765185856666c107" dependencies = [ - "futures 0.3.14", + "futures 0.3.15", "log", "nohash-hasher", "parking_lot 0.11.1", @@ -11677,18 +11757,18 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81a974bcdd357f0dca4d41677db03436324d45a4c9ed2d0b873a5a360ce41c36" +checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" dependencies = [ "zeroize_derive", ] [[package]] name = "zeroize_derive" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2" +checksum = "a2c1e130bebaeab2f23886bf9acbaca14b092408c452543c857f66399cd6dab1" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 7661ffc67a11..b835a6a2805f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,6 +78,7 @@ members = [ "parachain/test-parachains", "parachain/test-parachains/adder", "parachain/test-parachains/adder/collator", + "utils/staking-miner", ] # We want to be able to build the bridge relayer without pulling it (and all of its diff --git a/bridges/bin/millau/node/Cargo.toml b/bridges/bin/millau/node/Cargo.toml index 4c5f081e1506..9253d8976514 100644 --- a/bridges/bin/millau/node/Cargo.toml +++ b/bridges/bin/millau/node/Cargo.toml @@ -24,35 +24,35 @@ pallet-bridge-messages = { path = "../../../modules/messages" } # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -node-inspect = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["wasmtime"] } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +node-inspect = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "kiz-staking-miner" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [build-dependencies] substrate-build-script-utils = "3.0.0" -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [features] default = [] diff --git a/bridges/bin/millau/runtime/Cargo.toml b/bridges/bin/millau/runtime/Cargo.toml index 240b079d110f..a5bcbca3bad7 100644 --- a/bridges/bin/millau/runtime/Cargo.toml +++ b/bridges/bin/millau/runtime/Cargo.toml @@ -28,32 +28,32 @@ pallet-shift-session-manager = { path = "../../../modules/shift-session-manager" # Substrate Dependencies -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [build-dependencies] substrate-wasm-builder = "3.0.0" diff --git a/bridges/bin/rialto/node/Cargo.toml b/bridges/bin/rialto/node/Cargo.toml index 38272cd8c786..906de6062439 100644 --- a/bridges/bin/rialto/node/Cargo.toml +++ b/bridges/bin/rialto/node/Cargo.toml @@ -25,35 +25,35 @@ rialto-runtime = { path = "../runtime" } # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -node-inspect = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["wasmtime"] } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +node-inspect = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "kiz-staking-miner" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [build-dependencies] substrate-build-script-utils = "3.0.0" -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [features] default = [] diff --git a/bridges/bin/rialto/runtime/Cargo.toml b/bridges/bin/rialto/runtime/Cargo.toml index 63a48a255bd4..646d4cbf7e66 100644 --- a/bridges/bin/rialto/runtime/Cargo.toml +++ b/bridges/bin/rialto/runtime/Cargo.toml @@ -34,34 +34,34 @@ pallet-shift-session-manager = { path = "../../../modules/shift-session-manager" # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] diff --git a/bridges/bin/runtime-common/Cargo.toml b/bridges/bin/runtime-common/Cargo.toml index 83803d06deb5..88e086dfd45c 100644 --- a/bridges/bin/runtime-common/Cargo.toml +++ b/bridges/bin/runtime-common/Cargo.toml @@ -23,12 +23,12 @@ pallet-bridge-messages = { path = "../../modules/messages", default-features = f # Substrate dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/fuzz/storage-proof/Cargo.toml b/bridges/fuzz/storage-proof/Cargo.toml index 05456114e6b2..e2c1454b8c90 100644 --- a/bridges/fuzz/storage-proof/Cargo.toml +++ b/bridges/fuzz/storage-proof/Cargo.toml @@ -23,12 +23,12 @@ bp-test-utils = { path = "../../primitives/test-utils" } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/modules/currency-exchange/Cargo.toml b/bridges/modules/currency-exchange/Cargo.toml index 8094f0f2b6ee..eff724e27664 100644 --- a/bridges/modules/currency-exchange/Cargo.toml +++ b/bridges/modules/currency-exchange/Cargo.toml @@ -18,15 +18,15 @@ bp-header-chain = { path = "../../primitives/header-chain", default-features = f # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/modules/dispatch/Cargo.toml b/bridges/modules/dispatch/Cargo.toml index 6170af272ad9..a83f6b47e818 100644 --- a/bridges/modules/dispatch/Cargo.toml +++ b/bridges/modules/dispatch/Cargo.toml @@ -17,14 +17,14 @@ bp-runtime = { path = "../../primitives/runtime", default-features = false } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } serde = "1.0" [features] diff --git a/bridges/modules/ethereum-contract-builtin/Cargo.toml b/bridges/modules/ethereum-contract-builtin/Cargo.toml index 82e287a3abdc..415b1b3e0ff4 100644 --- a/bridges/modules/ethereum-contract-builtin/Cargo.toml +++ b/bridges/modules/ethereum-contract-builtin/Cargo.toml @@ -19,10 +19,10 @@ rialto-runtime = { path = "../../bin/rialto/runtime" } # Substrate Dependencies -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/modules/ethereum/Cargo.toml b/bridges/modules/ethereum/Cargo.toml index fdd93ed73311..ad69882713d7 100644 --- a/bridges/modules/ethereum/Cargo.toml +++ b/bridges/modules/ethereum/Cargo.toml @@ -18,12 +18,12 @@ bp-eth-poa = { path = "../../primitives/ethereum-poa", default-features = false # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] libsecp256k1 = { version = "0.3.4", features = ["hmac"] } diff --git a/bridges/modules/grandpa/Cargo.toml b/bridges/modules/grandpa/Cargo.toml index 810dce3dd5a4..adc2a33556e8 100644 --- a/bridges/modules/grandpa/Cargo.toml +++ b/bridges/modules/grandpa/Cargo.toml @@ -21,19 +21,19 @@ bp-header-chain = { path = "../../primitives/header-chain", default-features = f # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } # Optional Benchmarking Dependencies bp-test-utils = { path = "../../primitives/test-utils", default-features = false, optional = true } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/modules/messages/Cargo.toml b/bridges/modules/messages/Cargo.toml index 4a75fa8181f8..52ebce51c6be 100644 --- a/bridges/modules/messages/Cargo.toml +++ b/bridges/modules/messages/Cargo.toml @@ -20,18 +20,18 @@ bp-runtime = { path = "../../primitives/runtime", default-features = false } # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] hex = "0.4" hex-literal = "0.3" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/modules/shift-session-manager/Cargo.toml b/bridges/modules/shift-session-manager/Cargo.toml index 6dac97ddde60..aea66763dec6 100644 --- a/bridges/modules/shift-session-manager/Cargo.toml +++ b/bridges/modules/shift-session-manager/Cargo.toml @@ -11,15 +11,15 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } serde = "1.0" [features] diff --git a/bridges/primitives/chain-kusama/Cargo.toml b/bridges/primitives/chain-kusama/Cargo.toml index 70ff3b844df0..ebe0659abb2e 100644 --- a/bridges/primitives/chain-kusama/Cargo.toml +++ b/bridges/primitives/chain-kusama/Cargo.toml @@ -14,8 +14,8 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/chain-millau/Cargo.toml b/bridges/primitives/chain-millau/Cargo.toml index 67db08c20860..e205935d8de7 100644 --- a/bridges/primitives/chain-millau/Cargo.toml +++ b/bridges/primitives/chain-millau/Cargo.toml @@ -21,14 +21,14 @@ serde = { version = "1.0.101", optional = true, features = ["derive"] } # Substrate Based Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/chain-polkadot/Cargo.toml b/bridges/primitives/chain-polkadot/Cargo.toml index 22ded41b9145..99034f098201 100644 --- a/bridges/primitives/chain-polkadot/Cargo.toml +++ b/bridges/primitives/chain-polkadot/Cargo.toml @@ -15,8 +15,8 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/chain-rialto/Cargo.toml b/bridges/primitives/chain-rialto/Cargo.toml index 7e039a40acd9..d8258b38d3ea 100644 --- a/bridges/primitives/chain-rialto/Cargo.toml +++ b/bridges/primitives/chain-rialto/Cargo.toml @@ -15,12 +15,12 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/chain-rococo/Cargo.toml b/bridges/primitives/chain-rococo/Cargo.toml index b97e8d9d1ab1..fb101c962c1f 100644 --- a/bridges/primitives/chain-rococo/Cargo.toml +++ b/bridges/primitives/chain-rococo/Cargo.toml @@ -16,10 +16,10 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/chain-westend/Cargo.toml b/bridges/primitives/chain-westend/Cargo.toml index d5fda1ccef05..5e2b573b6b0d 100644 --- a/bridges/primitives/chain-westend/Cargo.toml +++ b/bridges/primitives/chain-westend/Cargo.toml @@ -16,10 +16,10 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/chain-wococo/Cargo.toml b/bridges/primitives/chain-wococo/Cargo.toml index ecf783a51eeb..c3f47001dada 100644 --- a/bridges/primitives/chain-wococo/Cargo.toml +++ b/bridges/primitives/chain-wococo/Cargo.toml @@ -16,10 +16,10 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/currency-exchange/Cargo.toml b/bridges/primitives/currency-exchange/Cargo.toml index 43367ba7992b..32f26cbef0ea 100644 --- a/bridges/primitives/currency-exchange/Cargo.toml +++ b/bridges/primitives/currency-exchange/Cargo.toml @@ -11,9 +11,9 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/ethereum-poa/Cargo.toml b/bridges/primitives/ethereum-poa/Cargo.toml index cd2c3a97a0f3..d96e46b8ccda 100644 --- a/bridges/primitives/ethereum-poa/Cargo.toml +++ b/bridges/primitives/ethereum-poa/Cargo.toml @@ -24,10 +24,10 @@ triehash = { version = "0.8.2", default-features = false } # Substrate Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] hex-literal = "0.2" diff --git a/bridges/primitives/header-chain/Cargo.toml b/bridges/primitives/header-chain/Cargo.toml index dc58dafb979e..14cd2e2f8a02 100644 --- a/bridges/primitives/header-chain/Cargo.toml +++ b/bridges/primitives/header-chain/Cargo.toml @@ -13,11 +13,11 @@ serde = { version = "1.0", optional = true } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] bp-test-utils = { path = "../test-utils" } diff --git a/bridges/primitives/message-dispatch/Cargo.toml b/bridges/primitives/message-dispatch/Cargo.toml index 84fa48553a21..a3bd1d5c50ed 100644 --- a/bridges/primitives/message-dispatch/Cargo.toml +++ b/bridges/primitives/message-dispatch/Cargo.toml @@ -12,8 +12,8 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/messages/Cargo.toml b/bridges/primitives/messages/Cargo.toml index 9cb037a34ce8..f7237fda1eed 100644 --- a/bridges/primitives/messages/Cargo.toml +++ b/bridges/primitives/messages/Cargo.toml @@ -15,9 +15,9 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/primitives/polkadot-core/Cargo.toml b/bridges/primitives/polkadot-core/Cargo.toml index 995f948e5d47..3c3861261af8 100644 --- a/bridges/primitives/polkadot-core/Cargo.toml +++ b/bridges/primitives/polkadot-core/Cargo.toml @@ -16,13 +16,13 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] hex = "0.4" diff --git a/bridges/primitives/runtime/Cargo.toml b/bridges/primitives/runtime/Cargo.toml index 17fa96b2c908..f9a177c0ac7f 100644 --- a/bridges/primitives/runtime/Cargo.toml +++ b/bridges/primitives/runtime/Cargo.toml @@ -13,16 +13,16 @@ num-traits = { version = "0.2", default-features = false } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [features] diff --git a/bridges/primitives/test-utils/Cargo.toml b/bridges/primitives/test-utils/Cargo.toml index 5adb2c2b55f5..050056c956d7 100644 --- a/bridges/primitives/test-utils/Cargo.toml +++ b/bridges/primitives/test-utils/Cargo.toml @@ -10,10 +10,10 @@ bp-header-chain = { path = "../header-chain", default-features = false } ed25519-dalek = { version = "1.0", default-features = false, features = ["u64_backend"] } finality-grandpa = { version = "0.14.0", default-features = false } parity-scale-codec = { version = "2.0.0", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/bridges/relays/bin-ethereum/Cargo.toml b/bridges/relays/bin-ethereum/Cargo.toml index efd9c0194b28..722a105daf32 100644 --- a/bridges/relays/bin-ethereum/Cargo.toml +++ b/bridges/relays/bin-ethereum/Cargo.toml @@ -12,9 +12,9 @@ async-trait = "0.1.42" clap = { version = "2.33.3", features = ["yaml"] } codec = { package = "parity-scale-codec", version = "2.0.0" } env_logger = "0.8.3" -ethabi = { git = "https://github.com/paritytech/ethabi", branch = "td-eth-types-11" } -ethabi-contract = { git = "https://github.com/paritytech/ethabi", branch = "td-eth-types-11" } -ethabi-derive = { git = "https://github.com/paritytech/ethabi", branch = "td-eth-types-11" } +ethabi = { git = "https://github.com/paritytech/ethabi", branch = "kiz-staking-miner" } +ethabi-contract = { git = "https://github.com/paritytech/ethabi", branch = "kiz-staking-miner" } +ethabi-derive = { git = "https://github.com/paritytech/ethabi", branch = "kiz-staking-miner" } futures = "0.3.12" hex = "0.4" hex-literal = "0.3" @@ -40,9 +40,9 @@ rialto-runtime = { path = "../../bin/rialto/runtime" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/relays/bin-substrate/Cargo.toml b/bridges/relays/bin-substrate/Cargo.toml index fc61d138fde0..9c3f01627b49 100644 --- a/bridges/relays/bin-substrate/Cargo.toml +++ b/bridges/relays/bin-substrate/Cargo.toml @@ -51,13 +51,13 @@ rialto-runtime = { path = "../../bin/rialto/runtime" } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } hex-literal = "0.3" diff --git a/bridges/relays/client-ethereum/Cargo.toml b/bridges/relays/client-ethereum/Cargo.toml index da4e7ef59efe..1f73d2f5ada5 100644 --- a/bridges/relays/client-ethereum/Cargo.toml +++ b/bridges/relays/client-ethereum/Cargo.toml @@ -15,4 +15,4 @@ jsonrpsee-ws-client = "=0.2.0-alpha.6" libsecp256k1 = { version = "0.3.4", default-features = false, features = ["hmac"] } log = "0.4.11" relay-utils = { path = "../utils" } -web3 = { version = "0.15", git = "https://github.com/tomusdrw/rust-web3", branch ="td-ethabi", default-features = false } +web3 = { version = "0.15", git = "https://github.com/tomusdrw/rust-web3", default-features = false , branch = "kiz-staking-miner" } diff --git a/bridges/relays/client-kusama/Cargo.toml b/bridges/relays/client-kusama/Cargo.toml index b9c397bca6c0..108375527faf 100644 --- a/bridges/relays/client-kusama/Cargo.toml +++ b/bridges/relays/client-kusama/Cargo.toml @@ -17,9 +17,9 @@ bp-kusama = { path = "../../primitives/chain-kusama" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/relays/client-millau/Cargo.toml b/bridges/relays/client-millau/Cargo.toml index e16f06f8528b..ceb321683bdd 100644 --- a/bridges/relays/client-millau/Cargo.toml +++ b/bridges/relays/client-millau/Cargo.toml @@ -17,9 +17,9 @@ millau-runtime = { path = "../../bin/millau/runtime" } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/relays/client-polkadot/Cargo.toml b/bridges/relays/client-polkadot/Cargo.toml index b148745f5a98..68550b3acb24 100644 --- a/bridges/relays/client-polkadot/Cargo.toml +++ b/bridges/relays/client-polkadot/Cargo.toml @@ -17,9 +17,9 @@ bp-polkadot = { path = "../../primitives/chain-polkadot" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/relays/client-rialto/Cargo.toml b/bridges/relays/client-rialto/Cargo.toml index 88e8e12add40..2f59eb6359cc 100644 --- a/bridges/relays/client-rialto/Cargo.toml +++ b/bridges/relays/client-rialto/Cargo.toml @@ -17,9 +17,9 @@ rialto-runtime = { path = "../../bin/rialto/runtime" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/relays/client-rococo/Cargo.toml b/bridges/relays/client-rococo/Cargo.toml index 095f365374a8..98c125b9025c 100644 --- a/bridges/relays/client-rococo/Cargo.toml +++ b/bridges/relays/client-rococo/Cargo.toml @@ -15,9 +15,9 @@ relay-utils = { path = "../utils" } bp-rococo = { path = "../../primitives/chain-rococo" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/relays/client-substrate/Cargo.toml b/bridges/relays/client-substrate/Cargo.toml index 699c3da400ff..3af8062516a6 100644 --- a/bridges/relays/client-substrate/Cargo.toml +++ b/bridges/relays/client-substrate/Cargo.toml @@ -26,17 +26,17 @@ relay-utils = { path = "../utils" } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } #[dev-dependencies] futures = "0.3.7" diff --git a/bridges/relays/client-westend/Cargo.toml b/bridges/relays/client-westend/Cargo.toml index a408ae3a46da..6eb723190c2d 100644 --- a/bridges/relays/client-westend/Cargo.toml +++ b/bridges/relays/client-westend/Cargo.toml @@ -17,9 +17,9 @@ bp-westend = { path = "../../primitives/chain-westend" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/relays/client-wococo/Cargo.toml b/bridges/relays/client-wococo/Cargo.toml index 22d710ca3d7b..33fa6a1a8096 100644 --- a/bridges/relays/client-wococo/Cargo.toml +++ b/bridges/relays/client-wococo/Cargo.toml @@ -15,9 +15,9 @@ relay-utils = { path = "../utils" } bp-wococo = { path = "../../primitives/chain-wococo" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/bridges/relays/utils/Cargo.toml b/bridges/relays/utils/Cargo.toml index ff80cab53381..2131c5a02169 100644 --- a/bridges/relays/utils/Cargo.toml +++ b/bridges/relays/utils/Cargo.toml @@ -22,4 +22,4 @@ time = "0.2" # Substrate dependencies -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 2b124f2ff215..c7db7eeaea1f 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -24,19 +24,19 @@ futures = "0.3.12" service = { package = "polkadot-service", path = "../node/service", default-features = false, optional = true } polkadot-node-core-pvf = { path = "../node/core/pvf", optional = true } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } +sc-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } +sc-service = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } +browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } # this crate is used only to enable `trie-memory-tracker` feature # see https://github.com/paritytech/substrate/pull/6745 -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [features] default = [ "wasmtime", "db", "cli", "full-node", "trie-memory-tracker" ] diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index b5a019de5a63..ef2c68e40e7e 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -5,9 +5,9 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] } parity-util-mem = { version = "0.9.0", default-features = false, optional = true } diff --git a/erasure-coding/Cargo.toml b/erasure-coding/Cargo.toml index 7aabbe864249..f6a484c364b8 100644 --- a/erasure-coding/Cargo.toml +++ b/erasure-coding/Cargo.toml @@ -9,6 +9,6 @@ polkadot-primitives = { path = "../primitives" } polkadot-node-primitives = { package = "polkadot-node-primitives", path = "../node/primitives" } novelpoly = { package = "reed-solomon-novelpoly", version = "1.0.0" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["std", "derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } thiserror = "1.0.23" diff --git a/node/collation-generation/Cargo.toml b/node/collation-generation/Cargo.toml index 155cc1cfe4af..842c56672d3f 100644 --- a/node/collation-generation/Cargo.toml +++ b/node/collation-generation/Cargo.toml @@ -12,8 +12,8 @@ polkadot-node-primitives = { path = "../primitives" } polkadot-node-subsystem = { path = "../subsystem" } polkadot-node-subsystem-util = { path = "../subsystem-util" } polkadot-primitives = { path = "../../primitives" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } thiserror = "1.0.23" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index 53b6a354ace6..5a607b5d1d5f 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -22,21 +22,21 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-jaeger = { path = "../../jaeger" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["full_crypto"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sc-client-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-consensus = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-consensus-slots = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["full_crypto"] , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] parking_lot = "0.11.1" rand_core = "0.5.1" # should match schnorrkel -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } maplit = "1.0.2" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } assert_matches = "1.4.0" diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index 7fb72cb98a2a..2aec94ea83b3 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -26,8 +26,8 @@ env_logger = "0.8.2" assert_matches = "1.4.0" kvdb-memorydb = "0.9.0" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } parking_lot = "0.11.1" diff --git a/node/core/backing/Cargo.toml b/node/core/backing/Cargo.toml index 7ea51e305029..122e61ff3379 100644 --- a/node/core/backing/Cargo.toml +++ b/node/core/backing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] futures = "0.3.12" -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } @@ -18,11 +18,11 @@ tracing = "0.1.26" thiserror = "1.0.23" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = { version = "0.3.12", features = ["thread-pool"] } assert_matches = "1.4.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/core/bitfield-signing/Cargo.toml b/node/core/bitfield-signing/Cargo.toml index de68072221f5..974b146342d9 100644 --- a/node/core/bitfield-signing/Cargo.toml +++ b/node/core/bitfield-signing/Cargo.toml @@ -10,7 +10,7 @@ tracing = "0.1.26" polkadot-primitives = { path = "../../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } wasm-timer = "0.2.5" thiserror = "1.0.23" diff --git a/node/core/candidate-selection/Cargo.toml b/node/core/candidate-selection/Cargo.toml index be9be709da70..56c55c33757e 100644 --- a/node/core/candidate-selection/Cargo.toml +++ b/node/core/candidate-selection/Cargo.toml @@ -9,7 +9,7 @@ futures = "0.3.12" tracing = "0.1.26" thiserror = "1.0.23" -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-primitives = { path = "../../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } @@ -17,5 +17,5 @@ polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/core/candidate-validation/Cargo.toml b/node/core/candidate-validation/Cargo.toml index 61960f95b010..c8311f7124bb 100644 --- a/node/core/candidate-validation/Cargo.toml +++ b/node/core/candidate-validation/Cargo.toml @@ -9,7 +9,7 @@ async-trait = "0.1.42" futures = "0.3.12" tracing = "0.1.26" -sp-maybe-compressed-blob = { package = "sp-maybe-compressed-blob", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-maybe-compressed-blob = { package = "sp-maybe-compressed-blob", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } polkadot-primitives = { path = "../../../primitives" } @@ -22,8 +22,8 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-core-pvf = { path = "../pvf" } [dev-dependencies] -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = { version = "0.3.12", features = ["thread-pool"] } assert_matches = "1.4.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/node/core/chain-api/Cargo.toml b/node/core/chain-api/Cargo.toml index 0ea61dd59108..f42f3062ca2c 100644 --- a/node/core/chain-api/Cargo.toml +++ b/node/core/chain-api/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" [dependencies] futures = "0.3.12" tracing = "0.1.26" -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-primitives = { path = "../../../primitives" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } @@ -16,4 +16,4 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" } futures = { version = "0.3.12", features = ["thread-pool"] } maplit = "1.0.2" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/node/core/parachains-inherent/Cargo.toml b/node/core/parachains-inherent/Cargo.toml index a4156008dbbf..f5ba148d6b60 100644 --- a/node/core/parachains-inherent/Cargo.toml +++ b/node/core/parachains-inherent/Cargo.toml @@ -13,6 +13,6 @@ async-trait = "0.1.47" polkadot-node-subsystem = { path = "../../subsystem" } polkadot-overseer = { path = "../../overseer" } polkadot-primitives = { path = "../../../primitives" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/node/core/provisioner/Cargo.toml b/node/core/provisioner/Cargo.toml index 492f37c51d69..037d70b219cb 100644 --- a/node/core/provisioner/Cargo.toml +++ b/node/core/provisioner/Cargo.toml @@ -15,6 +15,6 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" } futures-timer = "3.0.2" [dev-dependencies] -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index 32978652b414..09f1711ac4f5 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -23,13 +23,13 @@ rand = "0.8.3" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } polkadot-parachain = { path = "../../../parachain" } polkadot-core-primitives = { path = "../../../core-primitives" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor-wasmtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-executor-wasmtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] adder = { package = "test-parachain-adder", path = "../../../parachain/test-parachains/adder" } diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index 320c6240eb19..6901d34e4234 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -10,17 +10,17 @@ tracing = "0.1.26" memory-lru = "0.1.0" parity-util-mem = { version = "0.9.0", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-primitives = { path = "../../../primitives" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = { version = "0.3.12", features = ["thread-pool"] } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } polkadot-node-primitives = { path = "../../primitives" } diff --git a/node/jaeger/Cargo.toml b/node/jaeger/Cargo.toml index 4bbcb0541473..214018586686 100644 --- a/node/jaeger/Cargo.toml +++ b/node/jaeger/Cargo.toml @@ -12,8 +12,8 @@ lazy_static = "1.4" parking_lot = "0.11.1" polkadot-primitives = { path = "../../primitives" } polkadot-node-primitives = { path = "../primitives" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } thiserror = "1.0.23" log = "0.4.13" parity-scale-codec = { version = "2.0.0", default-features = false } diff --git a/node/network/approval-distribution/Cargo.toml b/node/network/approval-distribution/Cargo.toml index 9b9f19a69587..ca7795529a15 100644 --- a/node/network/approval-distribution/Cargo.toml +++ b/node/network/approval-distribution/Cargo.toml @@ -15,7 +15,7 @@ futures = "0.3.8" tracing = "0.1.26" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/network/availability-distribution/Cargo.toml b/node/network/availability-distribution/Cargo.toml index cc6e45100d3e..9873cbd5df4c 100644 --- a/node/network/availability-distribution/Cargo.toml +++ b/node/network/availability-distribution/Cargo.toml @@ -15,20 +15,20 @@ polkadot-node-network-protocol = { path = "../../network/protocol" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-core-runtime-api = { path = "../../core/runtime-api" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } thiserror = "1.0.23" rand = "0.8.3" lru = "0.6.5" [dev-dependencies] polkadot-subsystem-testhelpers = { package = "polkadot-node-subsystem-test-helpers", path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures-timer = "3.0.2" assert_matches = "1.4.0" maplit = "1.0" diff --git a/node/network/availability-recovery/Cargo.toml b/node/network/availability-recovery/Cargo.toml index 222a4579e91c..791933d8a17a 100644 --- a/node/network/availability-recovery/Cargo.toml +++ b/node/network/availability-recovery/Cargo.toml @@ -26,9 +26,9 @@ futures-timer = "3.0.2" log = "0.4.11" smallvec = "1.5.1" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-subsystem-testhelpers = { package = "polkadot-node-subsystem-test-helpers", path = "../../subsystem-test-helpers" } diff --git a/node/network/bitfield-distribution/Cargo.toml b/node/network/bitfield-distribution/Cargo.toml index 1f4c88bd2aa9..731ea36749c0 100644 --- a/node/network/bitfield-distribution/Cargo.toml +++ b/node/network/bitfield-distribution/Cargo.toml @@ -15,9 +15,9 @@ polkadot-node-network-protocol = { path = "../../network/protocol" } [dev-dependencies] polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } maplit = "1.0.2" log = "0.4.13" env_logger = "0.8.2" diff --git a/node/network/bridge/Cargo.toml b/node/network/bridge/Cargo.toml index 7737a2c2f115..38cf151404da 100644 --- a/node/network/bridge/Cargo.toml +++ b/node/network/bridge/Cargo.toml @@ -10,9 +10,9 @@ futures = "0.3.12" tracing = "0.1.26" polkadot-primitives = { path = "../../../primitives" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-network-protocol = { path = "../protocol" } polkadot-node-subsystem-util = { path = "../../subsystem-util"} @@ -22,6 +22,6 @@ parking_lot = "0.11.1" [dev-dependencies] assert_matches = "1.4.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures-timer = "3" diff --git a/node/network/collator-protocol/Cargo.toml b/node/network/collator-protocol/Cargo.toml index 6d21989ec5f1..beb066dbefc9 100644 --- a/node/network/collator-protocol/Cargo.toml +++ b/node/network/collator-protocol/Cargo.toml @@ -11,9 +11,9 @@ futures-timer = "3" thiserror = "1.0.23" tracing = "0.1.26" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-primitives = { path = "../../../primitives" } polkadot-node-network-protocol = { path = "../../network/protocol" } @@ -26,7 +26,7 @@ log = "0.4.13" env_logger = "0.8.2" assert_matches = "1.4.0" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-subsystem-testhelpers = { package = "polkadot-node-subsystem-test-helpers", path = "../../subsystem-test-helpers" } diff --git a/node/network/gossip-support/Cargo.toml b/node/network/gossip-support/Cargo.toml index b52e9464dcf5..c8ad5ed6ec3f 100644 --- a/node/network/gossip-support/Cargo.toml +++ b/node/network/gossip-support/Cargo.toml @@ -5,8 +5,8 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-node-network-protocol = { path = "../protocol" } polkadot-node-subsystem = { path = "../../subsystem" } @@ -17,9 +17,9 @@ futures = "0.3.8" tracing = "0.1.26" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/network/protocol/Cargo.toml b/node/network/protocol/Cargo.toml index 6f32c346e53b..b96ee4e9f963 100644 --- a/node/network/protocol/Cargo.toml +++ b/node/network/protocol/Cargo.toml @@ -10,7 +10,7 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-jaeger = { path = "../../jaeger" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } strum = { version = "0.20", features = ["derive"] } futures = "0.3.12" thiserror = "1.0.23" diff --git a/node/network/statement-distribution/Cargo.toml b/node/network/statement-distribution/Cargo.toml index 51b1877b8123..c34aa55a0b97 100644 --- a/node/network/statement-distribution/Cargo.toml +++ b/node/network/statement-distribution/Cargo.toml @@ -9,9 +9,9 @@ edition = "2018" futures = "0.3.12" tracing = "0.1.26" polkadot-primitives = { path = "../../../primitives" } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } @@ -24,10 +24,10 @@ thiserror = "1.0.23" [dev-dependencies] polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } assert_matches = "1.4.0" -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures-timer = "3.0.2" diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index c9b23b5e7062..b812841b62a7 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" [dependencies] async-trait = "0.1.42" -client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = "0.3.12" futures-timer = "3.0.2" polkadot-node-primitives = { package = "polkadot-node-primitives", path = "../primitives" } @@ -18,7 +18,7 @@ polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../subsystem tracing = "0.1.26" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-node-network-protocol = { path = "../network/protocol" } futures = { version = "0.3.12", features = ["thread-pool"] } femme = "2.1.1" diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index e8b01dea00f9..fc27f39cfc51 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -10,12 +10,12 @@ futures = "0.3.12" polkadot-primitives = { path = "../../primitives" } polkadot-statement-table = { path = "../../statement-table" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-vrf = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" } +runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-vrf = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-parachain = { path = "../../parachain", default-features = false } schnorrkel = "0.9.1" thiserror = "1.0.22" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index cacca92ef40f..385c9c471f5c 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -6,59 +6,59 @@ edition = "2018" [dependencies] # Substrate Client -sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } -babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } -beefy-gadget = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } -grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } -sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-uncles = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa-warp-sync = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } -service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -telemetry = { package = "sc-telemetry", git = "https://github.com/paritytech/substrate", branch = "master" } +sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } +beefy-gadget = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } +grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus-uncles = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-finality-grandpa-warp-sync = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +service = { package = "sc-service", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +telemetry = { package = "sc-telemetry", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } # Substrate Primitives -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } -consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "master" } -grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } # Substrate Pallets -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } # Substrate Other -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } # External Crates futures = "0.3.12" diff --git a/node/subsystem-test-helpers/Cargo.toml b/node/subsystem-test-helpers/Cargo.toml index a6502d3e31ce..4fe722accc85 100644 --- a/node/subsystem-test-helpers/Cargo.toml +++ b/node/subsystem-test-helpers/Cargo.toml @@ -18,9 +18,9 @@ polkadot-node-subsystem = { path = "../subsystem" } polkadot-node-subsystem-util = { path = "../subsystem-util" } polkadot-primitives = { path = "../../primitives" } polkadot-statement-table = { path = "../../statement-table" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } smallvec = "1.6.1" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] polkadot-overseer = { path = "../overseer" } diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index 4554b58b58d2..5d8fe736ae32 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -25,11 +25,11 @@ polkadot-node-network-protocol = { path = "../network/protocol" } polkadot-primitives = { path = "../../primitives" } metered-channel = { path = "../metered-channel"} -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] assert_matches = "1.4.0" diff --git a/node/subsystem/Cargo.toml b/node/subsystem/Cargo.toml index 770cca5a059a..6b0bc285ec29 100644 --- a/node/subsystem/Cargo.toml +++ b/node/subsystem/Cargo.toml @@ -23,10 +23,10 @@ polkadot-primitives = { path = "../../primitives" } polkadot-statement-table = { path = "../../statement-table" } polkadot-node-jaeger = { path = "../jaeger" } polkadot-procmacro-subsystem-dispatch-gen = { path = "dispatch-gen" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } smallvec = "1.6.1" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } thiserror = "1.0.23" log = "0.4.13" diff --git a/node/test/client/Cargo.toml b/node/test/client/Cargo.toml index de1069f67f0f..3e6978f4eafa 100644 --- a/node/test/client/Cargo.toml +++ b/node/test/client/Cargo.toml @@ -14,20 +14,20 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } # Substrate dependencies -substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = "0.3.12" diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index 487f50416f0c..80ded8069c2b 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -25,38 +25,38 @@ polkadot-test-runtime = { path = "../../../runtime/test-runtime" } polkadot-runtime-parachains = { path = "../../../runtime/parachains" } # Substrate dependencies -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } -babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" } -consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "master" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } -grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +service = { package = "sc-service", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } serde_json = "1.0.61" -substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } tokio = { version = "0.2", features = ["macros"] } diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index 73ec9ca13a01..5d26402abef7 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -11,9 +11,9 @@ edition = "2018" # various unnecessary Substrate-specific endpoints. parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] } parity-util-mem = { version = "0.9.0", optional = true } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } polkadot-core-primitives = { path = "../core-primitives", default-features = false } derive_more = "0.99.11" diff --git a/parachain/test-parachains/Cargo.toml b/parachain/test-parachains/Cargo.toml index d1659aa6d715..67f9a3f290c5 100644 --- a/parachain/test-parachains/Cargo.toml +++ b/parachain/test-parachains/Cargo.toml @@ -14,7 +14,7 @@ adder = { package = "test-parachain-adder", path = "adder" } halt = { package = "test-parachain-halt", path = "halt" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [features] default = [ "std" ] diff --git a/parachain/test-parachains/adder/Cargo.toml b/parachain/test-parachains/adder/Cargo.toml index 89745ec1172a..60b25c3ecae5 100644 --- a/parachain/test-parachains/adder/Cargo.toml +++ b/parachain/test-parachains/adder/Cargo.toml @@ -9,12 +9,12 @@ build = "build.rs" [dependencies] parachain = { package = "polkadot-parachain", path = "../../", default-features = false, features = [ "wasm-api" ] } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } tiny-keccak = { version = "2.0.2", features = ["keccak"] } dlmalloc = { version = "0.2.1", features = [ "global" ] } # We need to make sure the global allocator is disabled until we have support of full substrate externalities -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = [ "disable_allocator" ] } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, features = [ "disable_allocator" ] , branch = "kiz-staking-miner" } [build-dependencies] substrate-wasm-builder = "3.0.0" diff --git a/parachain/test-parachains/adder/collator/Cargo.toml b/parachain/test-parachains/adder/collator/Cargo.toml index dad80eeb3688..6fc759d6520a 100644 --- a/parachain/test-parachains/adder/collator/Cargo.toml +++ b/parachain/test-parachains/adder/collator/Cargo.toml @@ -27,10 +27,10 @@ polkadot-service = { path = "../../../../node/service" } polkadot-node-primitives = { path = "../../../../node/primitives" } polkadot-node-subsystem = { path = "../../../../node/subsystem" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } # This one is tricky. Even though it is not used directly by the collator, we still need it for the # `puppet_worker` binary, which is required for the integration test. However, this shouldn't be @@ -41,8 +41,8 @@ polkadot-node-core-pvf = { path = "../../../../node/core/pvf" } polkadot-parachain = { path = "../../.." } polkadot-test-service = { path = "../../../../node/test/service" } -substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } tokio = { version = "0.2", features = ["macros"] } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index bb1d350a5ea6..89ff00baef14 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -7,30 +7,30 @@ edition = "2018" [dependencies] serde = { version = "1.0.123", optional = true, features = ["derive"] } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } -primitives = { package = "sp-core", 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 } -application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-consensus-slots = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } polkadot-parachain = { path = "../parachain", default-features = false } polkadot-core-primitives = { path = "../core-primitives", default-features = false } -trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } hex-literal = "0.3.1" parity-util-mem = { version = "0.9.0", default-features = false, optional = true } thiserror = "1.0.23" [dev-dependencies] -sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } pretty_assertions = "0.7.2" [features] diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 1d64cca51fa3..9905dbf5c793 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -7,27 +7,27 @@ edition = "2018" [dependencies] jsonrpc-core = "15.1.0" polkadot-primitives = { path = "../primitives" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-sync-state-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -txpool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master" } -frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-mmr-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus-babe-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-sync-state-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +txpool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-mmr-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } parity-scale-codec = { version = "2.0.0", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -beefy-gadget = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } -beefy-gadget-rpc = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +beefy-gadget = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } +beefy-gadget-rpc = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 2cf297af5bba..8e15c49c0e44 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -14,33 +14,33 @@ serde = { version = "1.0.123", default-features = false } serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } -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 } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } -pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features=false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features=false, optional = true , branch = "kiz-staking-miner" } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } libsecp256k1 = { version = "0.3.5", default-features = false } @@ -51,15 +51,15 @@ xcm = { path = "../../xcm", default-features = false } [dev-dependencies] hex-literal = "0.3.1" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } trie-db = "0.22.3" serde_json = "1.0.61" libsecp256k1 = "0.3.5" diff --git a/runtime/common/slot_range_helper/Cargo.toml b/runtime/common/slot_range_helper/Cargo.toml index 12f96b082ba9..6fd619cb83a5 100644 --- a/runtime/common/slot_range_helper/Cargo.toml +++ b/runtime/common/slot_range_helper/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" paste = "1.0" enumn = "0.1.3" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [features] default = ["std"] diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 00ecea9d83d0..bfb1623f0b6e 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -15,69 +15,69 @@ serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" smallvec = "1.6.1" -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 } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } -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 } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-arithmetic = { package = "sp-arithmetic", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-arithmetic = { package = "sp-arithmetic", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-gilt = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-gilt = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } hex-literal = { version = "0.3.1", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } @@ -88,14 +88,14 @@ xcm = { package = "xcm", path = "../../xcm", default-features = false } xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false } xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } [dev-dependencies] hex-literal = "0.3.1" libsecp256k1 = "0.3.5" tiny-keccak = "2.0.2" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } separator = "0.4.1" serde_json = "1.0.61" diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index e78c16202241..1ed5ed292e17 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -100,6 +100,7 @@ pub use pallet_staking::StakerStatus; pub use sp_runtime::BuildStorage; pub use pallet_timestamp::Call as TimestampCall; pub use pallet_balances::Call as BalancesCall; +pub use pallet_election_provider_multi_phase::Call as EPMCall; /// Constant values used within the runtime. pub mod constants; @@ -376,8 +377,6 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type SignedRewardBase = SignedRewardBase; type SignedDepositBase = SignedDepositBase; type SignedDepositByte = SignedDepositByte; - type SignedRewardFactor = (); // no score-based reward - type SignedRewardMax = SignedRewardBase; type SignedDepositWeight = (); type SignedMaxWeight = Self::MinerMaxWeight; type SlashHandler = (); // burn slashes diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index 38bda09be9df..ffd427bfba1d 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -12,27 +12,27 @@ rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0.123", features = [ "derive" ], optional = true } derive_more = "0.99.11" -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 } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } xcm = { package = "xcm", path = "../../xcm", default-features = false } xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false } @@ -45,18 +45,18 @@ rand_chacha = { version = "0.3.0", default-features = false } [dev-dependencies] futures = "0.3.12" hex-literal = "0.3.1" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } serde_json = "1.0.61" libsecp256k1 = "0.3.5" -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [features] diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 8561fa7447a6..70b88fa144a8 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -15,77 +15,77 @@ serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" smallvec = "1.6.1" -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 } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } -block-builder-api = { package = "sp-block-builder", 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 } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } hex-literal = { version = "0.3.1", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] hex-literal = "0.3.1" libsecp256k1 = "0.3.5" tiny-keccak = "2.0.2" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } trie-db = "0.22.3" serde_json = "1.0.61" separator = "0.4.1" diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 9c62f0b34bc1..34ee769fe262 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -76,6 +76,7 @@ pub use pallet_staking::StakerStatus; pub use sp_runtime::BuildStorage; pub use pallet_timestamp::Call as TimestampCall; pub use pallet_balances::Call as BalancesCall; +pub use pallet_election_provider_multi_phase::Call as EPMCall; /// Constant values used within the runtime. pub mod constants; @@ -358,8 +359,6 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type SignedRewardBase = SignedRewardBase; type SignedDepositBase = SignedDepositBase; type SignedDepositByte = SignedDepositByte; - type SignedRewardFactor = (); // no score-based reward - type SignedRewardMax = SignedRewardBase; type SignedDepositWeight = (); type SignedMaxWeight = Self::MinerMaxWeight; type SlashHandler = (); // burn slashes diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index 22a2a107e38e..cb1f048c6ec3 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -13,50 +13,50 @@ smallvec = "1.6.1" hex-literal = "0.3.1" log = { version = "0.4.14", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -block-builder-api = { package = "sp-block-builder", 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 } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -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", default-features = false , branch = "kiz-staking-miner" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } @@ -73,7 +73,7 @@ bp-rococo = { path = "../../bridges/primitives/chain-rococo", default-features = bp-wococo = { path = "../../bridges/primitives/chain-wococo", default-features = false } pallet-bridge-grandpa = { path = "../../bridges/modules/grandpa", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [build-dependencies] substrate-wasm-builder = "3.0.0" diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index 5fad5cc2a815..9518ced4a85c 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -14,45 +14,45 @@ serde = { version = "1.0.123", default-features = false } serde_derive = { version = "1.0.117", optional = true } smallvec = "1.6.1" -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 } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } -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 } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } @@ -63,8 +63,8 @@ polkadot-runtime-parachains = { path = "../parachains", default-features = false hex-literal = "0.3.1" libsecp256k1 = "0.3.5" tiny-keccak = "2.0.2" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } serde_json = "1.0.61" [build-dependencies] diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 0a192f06f8b1..527a7ec3aa76 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -15,66 +15,66 @@ serde_derive = { version = "1.0.117", optional = true } smallvec = "1.6.1" 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 } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } hex-literal = { version = "0.3.1", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } @@ -86,14 +86,14 @@ xcm = { package = "xcm", path = "../../xcm", default-features = false } xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false } xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } [dev-dependencies] hex-literal = "0.3.1" libsecp256k1 = "0.3.5" tiny-keccak = "2.0.2" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } serde_json = "1.0.61" [build-dependencies] diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 6895d2306dcb..788c28057828 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -98,6 +98,7 @@ pub use pallet_staking::StakerStatus; pub use sp_runtime::BuildStorage; pub use pallet_timestamp::Call as TimestampCall; pub use pallet_balances::Call as BalancesCall; +pub use pallet_election_provider_multi_phase::Call as EPMCall; /// Constant values used within the runtime. pub mod constants; @@ -368,8 +369,6 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type SignedRewardBase = SignedRewardBase; type SignedDepositBase = SignedDepositBase; type SignedDepositByte = SignedDepositByte; - type SignedRewardFactor = (); // no score-based reward - type SignedRewardMax = SignedRewardBase; type SignedDepositWeight = (); type SignedMaxWeight = Self::MinerMaxWeight; type SlashHandler = (); // burn slashes diff --git a/statement-table/Cargo.toml b/statement-table/Cargo.toml index 5102fc29191d..c606e9dcb74f 100644 --- a/statement-table/Cargo.toml +++ b/statement-table/Cargo.toml @@ -6,5 +6,5 @@ edition = "2018" [dependencies] parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } primitives = { package = "polkadot-primitives", path = "../primitives" } diff --git a/xcm/pallet-xcm/Cargo.toml b/xcm/pallet-xcm/Cargo.toml index 75d737ed69cd..f3ab1f507aed 100644 --- a/xcm/pallet-xcm/Cargo.toml +++ b/xcm/pallet-xcm/Cargo.toml @@ -8,10 +8,10 @@ version = "0.1.0" codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } xcm = { path = "..", default-features = false } xcm-executor = { path = "../xcm-executor", default-features = false } @@ -27,4 +27,4 @@ std = [ "frame-system/std", "xcm/std", ] -runtime-benchmarks = [] \ No newline at end of file +runtime-benchmarks = [] diff --git a/xcm/xcm-builder/Cargo.toml b/xcm/xcm-builder/Cargo.toml index b9eae148b1c7..bc5212d8e4fb 100644 --- a/xcm/xcm-builder/Cargo.toml +++ b/xcm/xcm-builder/Cargo.toml @@ -10,13 +10,13 @@ impl-trait-for-tuples = "0.2.0" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } xcm = { path = "..", default-features = false } xcm-executor = { path = "../xcm-executor", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } # Polkadot dependencies polkadot-parachain = { path = "../../parachain", default-features = false } diff --git a/xcm/xcm-executor/Cargo.toml b/xcm/xcm-executor/Cargo.toml index 13ed03f271b4..448140fc1bdb 100644 --- a/xcm/xcm-executor/Cargo.toml +++ b/xcm/xcm-executor/Cargo.toml @@ -9,12 +9,12 @@ version = "0.9.3" impl-trait-for-tuples = "0.2.0" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } xcm = { path = "..", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } log = { version = "0.4.14", default-features = false } [features] From 7e21f248997d98d3a860882ec355579f30bbe7f0 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Sat, 29 May 2021 16:00:30 +0200 Subject: [PATCH 03/31] Add stuff --- utils/staking-miner/Cargo.toml | 33 +++ utils/staking-miner/js/.gitignore | 5 + utils/staking-miner/js/nodemon.json | 6 + utils/staking-miner/js/package.json | 30 +++ utils/staking-miner/js/src/index.ts | 69 ++++++ utils/staking-miner/js/tsconfig.json | 14 ++ utils/staking-miner/key | 1 + utils/staking-miner/src/common.rs | 5 + utils/staking-miner/src/main.rs | 341 +++++++++++++++++++++++++++ 9 files changed, 504 insertions(+) create mode 100644 utils/staking-miner/Cargo.toml create mode 100644 utils/staking-miner/js/.gitignore create mode 100644 utils/staking-miner/js/nodemon.json create mode 100644 utils/staking-miner/js/package.json create mode 100644 utils/staking-miner/js/src/index.ts create mode 100644 utils/staking-miner/js/tsconfig.json create mode 100644 utils/staking-miner/key create mode 100644 utils/staking-miner/src/common.rs create mode 100644 utils/staking-miner/src/main.rs diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml new file mode 100644 index 000000000000..df0b15da0064 --- /dev/null +++ b/utils/staking-miner/Cargo.toml @@ -0,0 +1,33 @@ +[package] +name = "staking-miner" +version = "0.9.0" +authors = ["parity"] +edition = "2018" + +[dependencies] +codec = { package = "parity-scale-codec", version = "2.0.0" } +tokio = { version = "0.2", features = ["macros"] } +log = "0.4.11" +env_logger = "0.8.3" +structopt = "0.3.0" +jsonrpsee-ws-client = { version = "=0.2.0-alpha.6" } +jsonrpsee-types = { version = "=0.2.0-alpha.6" } +jsonrpsee = "=0.2.0-alpha.6" +serde_json = "1.0" +hex = "0.4.0" + +remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } + +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } + +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } + +core-primitives = { package = "polkadot-core-primitives", path = "../../core-primitives" } + +polkadot-runtime = { path = "../../runtime/polkadot" } +kusama-runtime = { path = "../../runtime/kusama" } +westend-runtime = { path = "../../runtime/westend" } diff --git a/utils/staking-miner/js/.gitignore b/utils/staking-miner/js/.gitignore new file mode 100644 index 000000000000..c386d1ae7078 --- /dev/null +++ b/utils/staking-miner/js/.gitignore @@ -0,0 +1,5 @@ +node_modules +yarn.lock +build +key +key1 diff --git a/utils/staking-miner/js/nodemon.json b/utils/staking-miner/js/nodemon.json new file mode 100644 index 000000000000..5f54551d00d0 --- /dev/null +++ b/utils/staking-miner/js/nodemon.json @@ -0,0 +1,6 @@ +{ + "watch": ["src"], + "ext": ".ts,.js", + "ignore": [], + "exec": "ts-node ./src/index.ts" +} diff --git a/utils/staking-miner/js/package.json b/utils/staking-miner/js/package.json new file mode 100644 index 000000000000..7d3d1996c616 --- /dev/null +++ b/utils/staking-miner/js/package.json @@ -0,0 +1,30 @@ +{ + "name": "js-utils", + "version": "1.0.0", + "description": "", + "main": "webpack.config.js", + "scripts": { + "start:dev": "nodemon", + "run": "npm run build && node build/index.js", + "build": "rimraf ./build && tsc" + }, + "author": "", + "license": "ISC", + "devDependencies": { + "@babel/cli": "^7.10.5", + "@babel/core": "^7.11.4", + "@babel/preset-typescript": "^7.10.4", + "@types/node": "^14.6.0", + "nodemon": "^2.0.4", + "rimraf": "^3.0.2", + "ts-loader": "^8.0.2", + "ts-node": "^8.10.2", + "typescript": "^4.0.2", + "webpack": "^4.20.2", + "webpack-cli": "^3.1.2" + }, + "dependencies": { + "@polkadot/api": "2.0.1", + "bn.js": "^5.1.3" + } +} diff --git a/utils/staking-miner/js/src/index.ts b/utils/staking-miner/js/src/index.ts new file mode 100644 index 000000000000..b97062f249f9 --- /dev/null +++ b/utils/staking-miner/js/src/index.ts @@ -0,0 +1,69 @@ +import { readFileSync } from 'fs'; +import { ApiPromise } from "@polkadot/api"; +import { ValidatorIndex, CompactAssignments, ElectionScore, EraIndex, ElectionSize } from "@polkadot/types/interfaces/staking" +import { Keyring } from "@polkadot/keyring" +import { join } from "path" + +const keyring = new Keyring({ type: 'sr25519', ss58Format: 0 }); + + +async function main() { + const api = await ApiPromise.create() + + let solutionPath = join(".", process.argv[2]); + console.log(`++ reading solution binary from path ${solutionPath}`) + + let buffer = readFileSync(solutionPath) + let bytes = new Uint8Array(buffer) + + // @ts-ignore + let [winners_raw, compact_raw, score_raw, era_raw, size_raw]: any[] = api.createType('(Vec, CompactAssignments, ElectionScore, EraIndex, ElectionSize)', bytes); + + let winners: ValidatorIndex[] = winners_raw; + let compact: CompactAssignments = compact_raw; + let score: ElectionScore = score_raw; + let era: EraIndex = era_raw; + let size: ElectionSize = size_raw; + + let call = api.tx.staking.submitElectionSolution(winners, compact, score, era, size) + let info = await api.rpc.payment.queryInfo(call.toJSON()) + const origin = keyring.addFromUri(readFileSync("key_real").toString().trim()); + + console.log(`++ submitting call ${call.meta.name}, weight = ${info.weight.toHuman()}, partialFee = ${info.partialFee.toHuman()}`) + console.log(`++ free balance of sender account (${origin.address}) = ${(await api.query.system.account(origin.address)).data.free.toHuman()}`) + + return 0; + let exitCode = 0; + + try { + let unsubscribe = await call.signAndSend(origin, ({ events = [], status, }) => { + console.log(`Current status is ${status.type}`); + + if (status.isInBlock) { + console.log(`++ Transaction included at blockHash ${status.asInBlock}`); + } + + if (status.isFinalized) { + console.log(`++ Transaction Finalized at blockHash ${status.asFinalized}`); + + events.forEach(({ phase, event: { data, method, section } }) => { + console.log(`\t' ${phase}: ${section}.${method}:: ${data}`); + }); + unsubscribe(); + } + + }) + } catch(err) { + exitCode = 1; + } + + return exitCode +} + + +main().then(outcome => { + process.exit(outcome) +}) +.catch(err => { + console.error("Unexpected error:", err) +}); diff --git a/utils/staking-miner/js/tsconfig.json b/utils/staking-miner/js/tsconfig.json new file mode 100644 index 000000000000..91c121a0e58e --- /dev/null +++ b/utils/staking-miner/js/tsconfig.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "es6", + "module": "commonjs", + "lib": ["es6"], + "allowJs": true, + "outDir": "build", + "rootDir": "src", + "strict": true, + "noImplicitAny": true, + "esModuleInterop": true, + "resolveJsonModule": true + } +} diff --git a/utils/staking-miner/key b/utils/staking-miner/key new file mode 100644 index 000000000000..02d296dd3e66 --- /dev/null +++ b/utils/staking-miner/key @@ -0,0 +1 @@ +0xfffdd80e746fd0a8cbe100c3c01d38968c4664ff0c6e03103a3d17ea04ba5ea6 diff --git a/utils/staking-miner/src/common.rs b/utils/staking-miner/src/common.rs new file mode 100644 index 000000000000..979c422c23a8 --- /dev/null +++ b/utils/staking-miner/src/common.rs @@ -0,0 +1,5 @@ +pub type AccountId = core_primitives::AccountId; +pub type Hash = core_primitives::Hash; +pub type BlockNumber = core_primitives::BlockNumber; +pub type Balance = core_primitives::Balance; +pub type Header = core_primitives::Header; diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs new file mode 100644 index 000000000000..65cdfa757062 --- /dev/null +++ b/utils/staking-miner/src/main.rs @@ -0,0 +1,341 @@ +// ## Staking Miner +// +// things to look out for: +// 1. weight (already taken care of). +// 2. length (already taken care of). +// 3. Important, but hard to do: memory usage of the chain. For this we need to bring in a substrate +// wasm executor. +// +// ### Monitor +// +// 1. wait for a block where phase is signed. +// 2. ensure we don't have any previously submitted blocks. +// 3. store some global data about `MinerProfile` of the miners. +// 4. run an action appropriate to the current `MinerProfile`. +// +// +// ##### Miner States +// +// ```rust +// enum MinerProfile { +// // seq-phragmen -> balancing(round) -> reduce +// WithBalancing(round), +// // seq-phragmen -> reduce +// JustSeqPhragmen, +// // trim the least staked `perbill%` nominators, then seq-phragmen -> reduce +// TrimmedState(Perbill), +// } +// } + +mod common; + +use common::*; +use sp_runtime::traits::Saturating; +use structopt::StructOpt; +use jsonrpsee_ws_client::{ + traits::{SubscriptionClient, Client}, + v2::params::JsonRpcParams, + Subscription, WsClientBuilder, WsClient, +}; +use remote_externalities::{Builder, OnlineConfig, Mode}; +use polkadot_runtime::ElectionProviderMultiPhase as EPMPolkadot; +use pallet_election_provider_multi_phase as EPM; +use std::{ + path::{Path, PathBuf}, +}; +use sp_core::crypto::Pair as _; + +const DEFAULT_URI: &'static str = "wss://rpc.polkadot.io"; +const LOG_TARGET: &'static str = "staking-miner"; + +type EPMPalletPolkadot = EPM::Pallet; +type Ext = sp_io::TestExternalities; +type Pair = sp_core::sr25519::Pair; + +#[derive(codec::Encode, codec::Decode, Clone, Copy, Debug)] +enum MinerProfile { + /// seq-phragmen -> balancing(round) -> reduce + WithBalancing(u32), + /// seq-phragmen -> reduce + JustSeqPhragmen, + /// trim the least staked `perbill%` nominators, then seq-phragmen -> reduce + TrimmedVoters(sp_runtime::Percent), + /// Terminate. There's nothing else that we can do about this. Sorry. + Terminate, +} + +impl MinerProfile { + /// Get the next miner profile to use, should this one fail. + fn next(self) -> Self { + use sp_runtime::Percent; + match self { + MinerProfile::WithBalancing(count) => { + if count > 0 { + MinerProfile::WithBalancing(count.saturating_sub(3)) + } else { + MinerProfile::JustSeqPhragmen + } + } + MinerProfile::JustSeqPhragmen => MinerProfile::TrimmedVoters(Percent::from_percent(90)), + MinerProfile::TrimmedVoters(percent) => { + if percent.is_zero() { + MinerProfile::TrimmedVoters(percent.saturating_sub(Percent::from_percent(10))) + } else { + MinerProfile::Terminate + } + } + MinerProfile::Terminate => panic!("miner profile is to terminate."), + } + } +} + +#[derive(Debug, Clone)] +enum Error { + KeyFileNotFound, + KeyFileNotCorrupt, +} + +#[derive(Debug, Clone, StructOpt)] +enum Command { + /// Monitor for the phase being signed, then compute. + Monitor(MonitorConfig), + /// Just compute a solution now, and don't submit it. + DryRun, +} + +#[derive(Debug, Clone, StructOpt)] +struct MonitorConfig { + #[structopt(long, default_value = "head", possible_values = &["head", "finalized"])] + listen: String, +} + +#[derive(Debug, Clone, StructOpt)] +#[structopt(name = "staking-miner")] +struct Opt { + /// The ws node to connect to. + #[structopt(long, default_value = DEFAULT_URI)] + uri: String, + + #[structopt(subcommand)] + command: Command, +} + +macro_rules! rpc { + ($client:ident<$method:tt, $ret:ty>, $($params:expr),*) => { + { + let mut _params = vec![]; + $( + let param = serde_json::to_value($params).unwrap(); + _params.push(param); + )* + $client.request::<$ret>(stringify!($method), JsonRpcParams::Array(_params)).await + } + } +} + +macro_rules! rpc_decode { + ($client:ident<$method:tt, $ret:ty, $dec:ty>, $($params:expr),*) => { + { + let data = rpc!($client<$method, $ret>, $( $params ),* ).map(|d| d.0).unwrap(); + <$dec as codec::Decode>::decode(&mut &*data).unwrap() + } + } +} + +macro_rules! storage_key { + ($storage:ty) => {{ + let __key = <$storage>::hashed_key(); + sp_core::storage::StorageKey(__key.to_vec()) + }}; +} + +/// Build the `Ext` at `hash` with all the data of `ElectionProviderMultiPhase` and `Staking` +/// stored. +async fn create_election_ext(uri: String, at: Hash) -> Ext { + Builder::::new() + .mode(Mode::Online(OnlineConfig { + transport: uri.into(), + at: Some(at), + modules: vec!["ElectionProviderMultiPhase".to_owned(), "Staking".to_owned()], + ..Default::default() + })) + .build() + .await + .unwrap() +} + +/// Compute the election at the given block number. It expects to NOT be `Phase::Off`. In other +/// words, the snapshot must exists on the given externalities. +fn mine_unchecked(ext: &mut Ext) { + ext.execute_with(|| { + let (raw, _size) = EPMPalletPolkadot::mine_solution(10).unwrap(); + println!("raw score = {:?}", raw.score); + }) +} + +/// Forcefully create the snapshot. This can be used to compute the election at anytime. +fn force_create_snapshot(ext: &mut Ext) { + ext.execute_with(|| { + if >::exists() { + log::info!(target: LOG_TARGET, "snapshot already exists."); + } else { + log::info!(target: LOG_TARGET, "creating a fake snapshot now."); + } + EPMPalletPolkadot::create_snapshot().unwrap(); + }); +} + +async fn ensure_signed_phase(client: &WsClient, at: Hash) -> Result<(), &'static str> { + let key = storage_key!( + pallet_election_provider_multi_phase::CurrentPhase:: + ); + + let phase = rpc_decode!( + client< + state_getStorage, + sp_core::storage::StorageData, + pallet_election_provider_multi_phase::Phase + >, + key, + at + ); + + if phase.is_signed() { + Ok(()) + } else { + Err("Phase is not signed at this point.") + } +} + +/// Some information about the signer. Redundant at this point, but makes life easier. +struct Signer { + account: AccountId, + pair: Pair, + raw_seed_hex: String, +} + +fn read_key_from>(path: P) -> Result { + let uri = std::fs::read_to_string(path).map_err(|_| Error::KeyFileNotFound)?; + let uri = if uri.starts_with("0x") { &uri[2..] } else { &uri }; + let raw_seed_hex = if uri.ends_with("\n") { &uri[..uri.len() - 1] } else { &uri }; + + let bytes = hex::decode(raw_seed_hex.clone()).map_err(|_| Error::KeyFileNotCorrupt)?; + assert_eq!(bytes.len(), 32, "key must be 32 bytes hex; qed."); + let mut seed = [0u8; 32]; + seed.copy_from_slice(&bytes); + let pair = Pair::from_seed(&seed); + let account = AccountId::from(pair.public()); + Ok(Signer { account, pair, raw_seed_hex: raw_seed_hex.to_string() }) +} + +async fn ensure_no_previous_solution( + client: &WsClient, + at: Hash, + us: AccountId, +) -> Result<(), &'static str> { + use pallet_election_provider_multi_phase::{SignedSubmissions, signed::SignedSubmission}; + use polkadot_runtime::NposCompactSolution16; + let key = storage_key!(SignedSubmissions::); + + let queue = rpc_decode!( + client< + state_getStorage, + sp_core::storage::StorageData, + Vec> + >, + key, + at + ); + + // if we have a solution in the queue, then don't do anything. + if queue.iter().any(|ss| ss.who == us) { + Err("We have already submitted a solution for this round.") + } else { + Ok(()) + } +} + +async fn monitor( + client: WsClient, + config: MonitorConfig, + signer: Signer, +) -> Result<(), &'static str> { + let subscription_method = if config.listen == "heads" { + "chain_subscribeNewHeads" + } else { + "chain_subscribeFinalizedHeads" + }; + + log::info!(target: LOG_TARGET, "subscribing to {:?}", subscription_method); + let mut subscription: Subscription
= client + .subscribe(&subscription_method, JsonRpcParams::NoParams, "unsubscribe") + .await + .unwrap(); + + loop { + let now = subscription.next().await.unwrap(); + let hash = now.hash(); + log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number, hash); + + if ensure_signed_phase(&client, hash).await.is_err() { + log::debug!(target: LOG_TARGET, "phase closed, not interested in this block at all."); + continue; + }; + + if ensure_no_previous_solution(&client, hash, signer.account.clone()).await.is_err() { + log::debug!(target: LOG_TARGET, "We already have a solution in this phase, skipping."); + continue; + } + + // mine a new solution, with the exact configuration of the on-chain stuff. + let e + EPMPalletPolkadot + } +} + +async fn dry_run(client: WsClient, _signer: Signer, ws_uri: &str) -> Result<(), &'static str> { + let hash = rpc!(client,).unwrap(); + let mut ext = create_election_ext(ws_uri.to_owned(), hash).await; + force_create_snapshot(&mut ext); + mine_unchecked(&mut ext); + Ok(()) +} + +#[tokio::main] +async fn main() { + env_logger::Builder::from_default_env().format_module_path(true).format_level(true).init(); + let opt = Opt::from_args(); + log::debug!(target: LOG_TARGET, "attempting to connect to {:?}", opt.uri); + sp_core::crypto::set_default_ss58_version(sp_core::crypto::Ss58AddressFormat::PolkadotAccount); + + let client = WsClientBuilder::default() + .connection_timeout(std::time::Duration::new(20, 0)) + .build(&opt.uri) + .await + .unwrap(); + + let signer = read_key_from("./utils/staking-miner/key").unwrap(); + let outcome = match opt.command { + Command::Monitor(c) => monitor(client, c, signer).await, + Command::DryRun => dry_run(client, signer, &opt.uri).await, + }; + + log::info!(target: LOG_TARGET, "execution finished. outcome = {:?}", outcome); +} + +#[cfg(test)] +mod tests { + use super::*; + const TEST_URI: &'static str = DEFAULT_URI; + + #[tokio::test] + async fn can_compute_anytime() { + env_logger::Builder::from_default_env().format_module_path(true).format_level(true).init(); + let client = WsClientBuilder::default().build(TEST_URI).await.unwrap(); + + let hash = rpc!(client,).unwrap(); + let mut ext = create_election_ext(TEST_URI.to_owned(), hash).await; + force_create_snapshot(&mut ext); + mine_unchecked(&mut ext); + } +} From 61cf07093917455adf0a89802795cde040647d58 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Mon, 31 May 2021 16:05:20 +0200 Subject: [PATCH 04/31] First working version --- Cargo.lock | 317 +++++++++++---------- node/service/src/chain_spec.rs | 1 + utils/staking-miner/Cargo.toml | 11 + utils/staking-miner/key | 2 +- utils/staking-miner/src/common.rs | 5 - utils/staking-miner/src/dry_run.rs | 38 +++ utils/staking-miner/src/main.rs | 437 ++++++++++++++++++----------- utils/staking-miner/src/monitor.rs | 206 ++++++++++++++ utils/staking-miner/src/prelude.rs | 30 ++ 9 files changed, 730 insertions(+), 317 deletions(-) delete mode 100644 utils/staking-miner/src/common.rs create mode 100644 utils/staking-miner/src/dry_run.rs create mode 100644 utils/staking-miner/src/monitor.rs create mode 100644 utils/staking-miner/src/prelude.rs diff --git a/Cargo.lock b/Cargo.lock index ba3b27651f00..b08137edf0da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1941,7 +1941,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", ] @@ -1959,7 +1959,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -1978,7 +1978,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "Inflector", "chrono", @@ -2001,7 +2001,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -2014,7 +2014,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "serde", @@ -2040,7 +2040,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "bitflags", "frame-metadata", @@ -2067,7 +2067,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2079,7 +2079,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "proc-macro2", "quote", @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-metadata", "frame-support", @@ -2121,7 +2121,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2138,7 +2138,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -2152,7 +2152,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "sp-api", @@ -2161,7 +2161,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "parity-scale-codec", @@ -4067,7 +4067,7 @@ dependencies = [ [[package]] name = "max-encoded-len" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "impl-trait-for-tuples", "max-encoded-len-derive", @@ -4078,7 +4078,7 @@ dependencies = [ [[package]] name = "max-encoded-len-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -4608,7 +4608,7 @@ checksum = "2386b4ebe91c2f7f51082d4cefa145d030e33a1842a96b12e4885cc3c01f7a55" [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -4623,7 +4623,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -4637,7 +4637,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4660,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4690,7 +4690,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4726,7 +4726,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4742,7 +4742,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4757,7 +4757,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4778,7 +4778,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4809,7 +4809,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4846,7 +4846,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4865,7 +4865,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4881,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4896,7 +4896,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4913,7 +4913,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -4929,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4947,7 +4947,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4962,7 +4962,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -4975,7 +4975,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -4991,7 +4991,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5013,7 +5013,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -5042,7 +5042,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "enumflags2", "frame-support", @@ -5056,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5071,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -5090,7 +5090,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5106,7 +5106,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -5119,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5143,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5154,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "log", "sp-arithmetic", @@ -5163,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -5176,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5194,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5209,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-support", "frame-system", @@ -5225,7 +5225,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5242,7 +5242,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5253,7 +5253,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5284,7 +5284,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7493,7 +7493,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "env_logger 0.8.3", "hex", @@ -7771,7 +7771,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "derive_more", @@ -7800,7 +7800,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -7823,7 +7823,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7839,7 +7839,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7860,7 +7860,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -7871,7 +7871,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "chrono", "fdlimit", @@ -7909,7 +7909,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "derive_more", "fnv", @@ -7943,7 +7943,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "blake2-rfc", "hash-db", @@ -7973,7 +7973,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parking_lot 0.11.1", "sc-client-api", @@ -7985,7 +7985,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "derive_more", @@ -8031,7 +8031,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "derive_more", "futures 0.3.15", @@ -8055,7 +8055,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8068,7 +8068,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "futures 0.3.15", @@ -8096,7 +8096,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "sc-client-api", "sp-authorship", @@ -8107,7 +8107,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "derive_more", "lazy_static", @@ -8136,7 +8136,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "derive_more", "parity-scale-codec", @@ -8153,7 +8153,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "log", "parity-scale-codec", @@ -8168,7 +8168,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "log", "parity-scale-codec", @@ -8185,7 +8185,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "derive_more", @@ -8226,7 +8226,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "derive_more", "finality-grandpa", @@ -8250,7 +8250,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "derive_more", "futures 0.3.15", @@ -8271,7 +8271,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "ansi_term 0.12.1", "futures 0.3.15", @@ -8289,7 +8289,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "derive_more", @@ -8309,7 +8309,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "hash-db", "lazy_static", @@ -8328,7 +8328,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-std", "async-trait", @@ -8381,7 +8381,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8398,7 +8398,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "bytes 0.5.6", "fnv", @@ -8426,7 +8426,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.3.15", "libp2p", @@ -8439,7 +8439,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8448,7 +8448,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.3.15", "hash-db", @@ -8483,7 +8483,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "derive_more", "futures 0.3.15", @@ -8508,7 +8508,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.1.31", "jsonrpc-core", @@ -8526,7 +8526,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "directories", @@ -8590,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "log", "parity-scale-codec", @@ -8605,7 +8605,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8625,7 +8625,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "chrono", "futures 0.3.15", @@ -8645,7 +8645,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8682,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8693,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "derive_more", "futures 0.3.15", @@ -8715,7 +8715,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.3.15", "futures-diagnose", @@ -9155,7 +9155,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "log", "sp-core", @@ -9167,7 +9167,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "hash-db", "log", @@ -9184,7 +9184,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9196,7 +9196,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "max-encoded-len", "parity-scale-codec", @@ -9209,7 +9209,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "integer-sqrt", "num-traits", @@ -9223,7 +9223,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9235,7 +9235,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9247,7 +9247,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9259,7 +9259,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.3.15", "log", @@ -9277,7 +9277,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "serde", "serde_json", @@ -9286,7 +9286,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "futures 0.3.15", @@ -9313,7 +9313,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "merlin", @@ -9335,7 +9335,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9345,7 +9345,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9357,7 +9357,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "base58", "blake2-rfc", @@ -9402,7 +9402,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9411,7 +9411,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "proc-macro2", "quote", @@ -9421,7 +9421,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "environmental", "parity-scale-codec", @@ -9432,7 +9432,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "finality-grandpa", "log", @@ -9449,7 +9449,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9463,7 +9463,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.3.15", "hash-db", @@ -9488,7 +9488,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "lazy_static", "sp-core", @@ -9499,7 +9499,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "derive_more", @@ -9516,7 +9516,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "ruzstd", "zstd", @@ -9525,7 +9525,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "serde", @@ -9538,7 +9538,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9549,7 +9549,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "sp-api", "sp-core", @@ -9559,7 +9559,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "backtrace", ] @@ -9567,7 +9567,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "rustc-hash", "serde", @@ -9578,7 +9578,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "either", "hash256-std-hasher", @@ -9600,7 +9600,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9617,7 +9617,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9629,7 +9629,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "serde", "serde_json", @@ -9638,7 +9638,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9651,7 +9651,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9661,7 +9661,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "hash-db", "log", @@ -9684,12 +9684,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9702,7 +9702,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "log", "sp-core", @@ -9715,7 +9715,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9732,7 +9732,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "erased-serde", "log", @@ -9750,7 +9750,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "derive_more", "futures 0.3.15", @@ -9766,7 +9766,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "hash-db", "memory-db", @@ -9780,7 +9780,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.3.15", "futures-core", @@ -9792,7 +9792,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9805,7 +9805,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -9817,7 +9817,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9843,22 +9843,31 @@ version = "0.9.0" dependencies = [ "env_logger 0.8.3", "frame-election-provider-support", + "frame-support", + "frame-system", "hex", "jsonrpsee", "jsonrpsee-types", "jsonrpsee-ws-client", "kusama-runtime", + "lazy_static", "log", "pallet-election-provider-multi-phase", + "pallet-staking", + "pallet-transaction-payment", "parity-scale-codec", + "paste", "polkadot-core-primitives", "polkadot-runtime", + "polkadot-runtime-common", "remote-externalities", + "serde", "serde_json", "sp-core", "sp-io", "sp-npos-elections", "sp-runtime", + "sp-version", "structopt", "tokio 0.2.25", "westend-runtime", @@ -10003,7 +10012,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "chrono", "console_error_panic_hook", @@ -10029,7 +10038,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "platforms", ] @@ -10037,7 +10046,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.15", @@ -10060,7 +10069,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-std", "derive_more", @@ -10074,7 +10083,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "async-trait", "futures 0.1.31", @@ -10103,7 +10112,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "futures 0.3.15", "substrate-test-utils-derive", @@ -10113,7 +10122,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -10850,7 +10859,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#ffba40a154cdcb19131dc3a5e85da5ea590bedcf" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" dependencies = [ "frame-try-runtime", "log", diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 0b6b7467816a..65ec75ffa8d4 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -1126,6 +1126,7 @@ pub fn polkadot_testnet_genesis( endowed_accounts: Option>, ) -> polkadot::GenesisConfig { let endowed_accounts: Vec = endowed_accounts.unwrap_or_else(testnet_accounts); + dbg!(&endowed_accounts); const ENDOWMENT: u128 = 1_000_000 * DOT; const STASH: u128 = 100 * DOT; diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index df0b15da0064..513b5399b804 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -14,7 +14,10 @@ jsonrpsee-ws-client = { version = "=0.2.0-alpha.6" } jsonrpsee-types = { version = "=0.2.0-alpha.6" } jsonrpsee = "=0.2.0-alpha.6" serde_json = "1.0" +serde = "1.0.0" hex = "0.4.0" +lazy_static = "1.4.0" +paste = "1.0.5" remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } @@ -23,11 +26,19 @@ sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } core-primitives = { package = "polkadot-core-primitives", path = "../../core-primitives" } +runtime-common = { package = "polkadot-runtime-common", path = "../../runtime/common" } polkadot-runtime = { path = "../../runtime/polkadot" } kusama-runtime = { path = "../../runtime/kusama" } westend-runtime = { path = "../../runtime/westend" } + +[dev-dependencies] +sp-version = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/utils/staking-miner/key b/utils/staking-miner/key index 02d296dd3e66..8801932fdced 100644 --- a/utils/staking-miner/key +++ b/utils/staking-miner/key @@ -1 +1 @@ -0xfffdd80e746fd0a8cbe100c3c01d38968c4664ff0c6e03103a3d17ea04ba5ea6 +bottom drive obey lake curtain smoke basket hold race lonely fit walk//Alice diff --git a/utils/staking-miner/src/common.rs b/utils/staking-miner/src/common.rs deleted file mode 100644 index 979c422c23a8..000000000000 --- a/utils/staking-miner/src/common.rs +++ /dev/null @@ -1,5 +0,0 @@ -pub type AccountId = core_primitives::AccountId; -pub type Hash = core_primitives::Hash; -pub type BlockNumber = core_primitives::BlockNumber; -pub type Balance = core_primitives::Balance; -pub type Header = core_primitives::Header; diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs new file mode 100644 index 000000000000..aef403e87d90 --- /dev/null +++ b/utils/staking-miner/src/dry_run.rs @@ -0,0 +1,38 @@ +use crate::{prelude::*, Signer, SharedConfig, WsClient, Error, rpc, rpc_decode}; +use codec::Encode; + +/// Forcefully create the snapshot. This can be used to compute the election at anytime. +fn force_create_snapshot(ext: &mut Ext) { + ext.execute_with(|| { + if >::exists() { + log::info!(target: LOG_TARGET, "snapshot already exists."); + } else { + log::info!(target: LOG_TARGET, "creating a fake snapshot now."); + } + >::create_snapshot().unwrap(); + }); +} + +macro_rules! dry_run_cmd_for { ($runtime:tt) => { paste::paste! { + pub(crate) async fn []( + client: WsClient, + shared: SharedConfig, + signer: Signer, + ) -> Result<(), Error> { + use $crate::[<$runtime _runtime_exports>]::*; + let hash = rpc!(client::Hash>,).unwrap(); + let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, true).await; + force_create_snapshot::(&mut ext); + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext); + log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); + let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone())); + let bytes = sp_core::Bytes(extrinsic.encode().to_vec()); + let outcome = rpc_decode!(client, bytes); + log::info!(target: LOG_TARGET, "dry-run outcome is {:?}", outcome); + Ok(()) + } +}}} + +dry_run_cmd_for!(polkadot); +dry_run_cmd_for!(kusama); +dry_run_cmd_for!(westend); diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 65cdfa757062..415fcac776db 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -27,30 +27,136 @@ // } // } -mod common; +mod dry_run; +mod monitor; +mod prelude; -use common::*; -use sp_runtime::traits::Saturating; +use prelude::*; +use sp_runtime::traits::{Saturating, Block as BlockT}; use structopt::StructOpt; -use jsonrpsee_ws_client::{ - traits::{SubscriptionClient, Client}, - v2::params::JsonRpcParams, - Subscription, WsClientBuilder, WsClient, -}; +use jsonrpsee_ws_client::{WsClientBuilder, WsClient}; use remote_externalities::{Builder, OnlineConfig, Mode}; -use polkadot_runtime::ElectionProviderMultiPhase as EPMPolkadot; -use pallet_election_provider_multi_phase as EPM; use std::{ path::{Path, PathBuf}, }; use sp_core::crypto::Pair as _; -const DEFAULT_URI: &'static str = "wss://rpc.polkadot.io"; -const LOG_TARGET: &'static str = "staking-miner"; +pub(crate) enum AnyRuntime { + Polkadot, + Kusama, + Westend, +} -type EPMPalletPolkadot = EPM::Pallet; -type Ext = sp_io::TestExternalities; -type Pair = sp_core::sr25519::Pair; +pub(crate) static mut RUNTIME: AnyRuntime = AnyRuntime::Polkadot; + +macro_rules! construct_runtime_prelude { + ($runtime:ident, $npos:ty, $signed_extra:expr) => { + paste::paste! { + #[allow(unused_import)] + pub(crate) mod [<$runtime _runtime_exports>] { + pub(crate) use crate::prelude::EPM; + pub(crate) use [<$runtime _runtime>]::*; + pub(crate) type NposCompactSolution = [<$runtime _runtime>]::$npos; + pub(crate) use crate::monitor::[] as monitor_cmd; + pub(crate) use crate::dry_run::[] as dry_run_cmd; + pub(crate) use private::{[] as create_uxt}; + + mod private { + use super::*; + pub(crate) fn []( + raw_solution: EPM::RawSolution>, + witness: u32, + signer: crate::Signer, + ) -> UncheckedExtrinsic { + use codec::Encode as _; + use sp_core::Pair as _; + use sp_runtime::traits::StaticLookup as _; + + let crate::Signer { account, pair, .. } = signer; + + let local_call = EPMCall::::submit(raw_solution, witness); + // this one is a bit tricky.. for now I just "hope" it does not change. + let call = Call::ElectionProviderMultiPhase(local_call); + + let extra: SignedExtra = $signed_extra; + let raw_payload = SignedPayload::new(call, extra).unwrap(); + let signature = raw_payload.using_encoded(|payload| { + pair.clone().sign(payload) + }); + let (call, extra, _) = raw_payload.deconstruct(); + let address = ::Lookup::unlookup(account.clone()); + let extrinsic = UncheckedExtrinsic::new_signed(call, address, signature.into(), extra); + log::debug!(target: crate::LOG_TARGET, "constructed extrinsic {:?}", extrinsic); + extrinsic + } + } + } + } + }; +} + +construct_runtime_prelude!( + polkadot, + NposCompactSolution16, + ( + frame_system::CheckSpecVersion::::new(), + frame_system::CheckTxVersion::::new(), + frame_system::CheckGenesis::::new(), + frame_system::CheckMortality::::from(sp_runtime::generic::Era::Immortal), + frame_system::CheckNonce::::from(0), + frame_system::CheckWeight::::new(), + pallet_transaction_payment::ChargeTransactionPayment::::from(0), + runtime_common::claims::PrevalidateAttests::::new(), + ) +); +construct_runtime_prelude!( + kusama, + NposCompactSolution24, + ( + frame_system::CheckSpecVersion::::new(), + frame_system::CheckTxVersion::::new(), + frame_system::CheckGenesis::::new(), + frame_system::CheckMortality::::from(sp_runtime::generic::Era::Immortal), + frame_system::CheckNonce::::from(0), + frame_system::CheckWeight::::new(), + pallet_transaction_payment::ChargeTransactionPayment::::from(0), + ) +); +construct_runtime_prelude!( + westend, + NposCompactSolution16, + ( + frame_system::CheckSpecVersion::::new(), + frame_system::CheckTxVersion::::new(), + frame_system::CheckGenesis::::new(), + frame_system::CheckMortality::::from(sp_runtime::generic::Era::Immortal), + frame_system::CheckNonce::::from(0), + frame_system::CheckWeight::::new(), + pallet_transaction_payment::ChargeTransactionPayment::::from(0), + ) +); + +#[macro_export] +macro_rules! any_runtime { + ($($code:tt)*) => { + unsafe { + match $crate::RUNTIME { + $crate::AnyRuntime::Polkadot => { + use $crate::polkadot_runtime_exports::*; + $($code)* + }, + $crate::AnyRuntime::Kusama => { + use $crate::polkadot_runtime_exports::*; + $($code)* + }, + $crate::AnyRuntime::Westend => { + use $crate::polkadot_runtime_exports::*; + $($code)* + } + } + } + } +} #[derive(codec::Encode, codec::Decode, Clone, Copy, Debug)] enum MinerProfile { @@ -92,7 +198,24 @@ impl MinerProfile { #[derive(Debug, Clone)] enum Error { KeyFileNotFound, - KeyFileNotCorrupt, + KeyFileCorrupt, + IncorrectPhase, + AlreadySubmitted, + SnapshotUnavailable, +} + +/// Some information about the signer. Redundant at this point, but makes life easier. +#[derive(Clone)] +struct Signer { + /// The account id. + account: AccountId, + /// The full crypto key-pair. + pair: Pair, + /// The raw uri read from file. + uri: String, + /// The current account nonce. + // TODO: this could be made generic or sth. + nonce: u32, } #[derive(Debug, Clone, StructOpt)] @@ -110,16 +233,28 @@ struct MonitorConfig { } #[derive(Debug, Clone, StructOpt)] -#[structopt(name = "staking-miner")] -struct Opt { +struct SharedConfig { /// The ws node to connect to. #[structopt(long, default_value = DEFAULT_URI)] uri: String, + /// The file from which we read the account seed. + #[structopt(long)] + account_seed: PathBuf, +} + +#[derive(Debug, Clone, StructOpt)] +#[structopt(name = "staking-miner")] +struct Opt { + /// The ws node to connect to. + #[structopt(flatten)] + shared: SharedConfig, + #[structopt(subcommand)] command: Command, } +#[macro_export] macro_rules! rpc { ($client:ident<$method:tt, $ret:ty>, $($params:expr),*) => { { @@ -128,11 +263,21 @@ macro_rules! rpc { let param = serde_json::to_value($params).unwrap(); _params.push(param); )* - $client.request::<$ret>(stringify!($method), JsonRpcParams::Array(_params)).await + < + jsonrpsee_ws_client::WsClient + as + jsonrpsee_ws_client::traits::Client + >::request::<$ret>( + &$client, + stringify!($method), + jsonrpsee_ws_client::v2::params::JsonRpcParams::Array(_params) + ).await } } } +// TODO: these are pretty reusable. Maybe move to remote-ext. +#[macro_export] macro_rules! rpc_decode { ($client:ident<$method:tt, $ret:ty, $dec:ty>, $($params:expr),*) => { { @@ -142,23 +287,42 @@ macro_rules! rpc_decode { } } +#[macro_export] macro_rules! storage_key { ($storage:ty) => {{ - let __key = <$storage>::hashed_key(); - sp_core::storage::StorageKey(__key.to_vec()) - }}; + let __key = <$storage>::hashed_key(); + sp_core::storage::StorageKey(__key.to_vec()) + }}; } /// Build the `Ext` at `hash` with all the data of `ElectionProviderMultiPhase` and `Staking` /// stored. -async fn create_election_ext(uri: String, at: Hash) -> Ext { - Builder::::new() +async fn create_election_ext( + uri: String, + at: B::Hash, + with_staking: bool, +) -> Ext { + use frame_support::storage::generator::StorageMap; + let system_block_hash_key = >::prefix_hash(); + + Builder::::new() .mode(Mode::Online(OnlineConfig { transport: uri.into(), at: Some(at), - modules: vec!["ElectionProviderMultiPhase".to_owned(), "Staking".to_owned()], + modules: if with_staking { + // TODO: would save us some time, if we can also command remote-ext to scrape + // certain maps from staking, not all of it. + // TODO: fancy not hard-coding the name of these. They can be different in different + // runtimes. + // vec![ as frame_system::Config>::PalletInfo::name(), + // "Staking".to_owned()] + vec!["ElectionProviderMultiPhase".to_owned(), "Staking".to_owned()] + } else { + vec!["ElectionProviderMultiPhase".to_owned()] + }, ..Default::default() })) + .raw_prefix(&system_block_hash_key) .build() .await .unwrap() @@ -166,158 +330,96 @@ async fn create_election_ext(uri: String, at: Hash) -> Ext { /// Compute the election at the given block number. It expects to NOT be `Phase::Off`. In other /// words, the snapshot must exists on the given externalities. -fn mine_unchecked(ext: &mut Ext) { +fn mine_unchecked(ext: &mut Ext) -> (EPM::RawSolution>, u32) { ext.execute_with(|| { - let (raw, _size) = EPMPalletPolkadot::mine_solution(10).unwrap(); - println!("raw score = {:?}", raw.score); + let (solution, _) = >::mine_solution(10).unwrap(); + let witness = >::decode_len().unwrap_or_default(); + (solution, witness as u32) }) } -/// Forcefully create the snapshot. This can be used to compute the election at anytime. -fn force_create_snapshot(ext: &mut Ext) { - ext.execute_with(|| { - if >::exists() { - log::info!(target: LOG_TARGET, "snapshot already exists."); - } else { - log::info!(target: LOG_TARGET, "creating a fake snapshot now."); - } - EPMPalletPolkadot::create_snapshot().unwrap(); - }); -} - -async fn ensure_signed_phase(client: &WsClient, at: Hash) -> Result<(), &'static str> { - let key = storage_key!( - pallet_election_provider_multi_phase::CurrentPhase:: - ); - - let phase = rpc_decode!( - client< - state_getStorage, - sp_core::storage::StorageData, - pallet_election_provider_multi_phase::Phase - >, - key, - at - ); - - if phase.is_signed() { - Ok(()) - } else { - Err("Phase is not signed at this point.") - } -} - -/// Some information about the signer. Redundant at this point, but makes life easier. -struct Signer { - account: AccountId, - pair: Pair, - raw_seed_hex: String, -} - -fn read_key_from>(path: P) -> Result { - let uri = std::fs::read_to_string(path).map_err(|_| Error::KeyFileNotFound)?; - let uri = if uri.starts_with("0x") { &uri[2..] } else { &uri }; - let raw_seed_hex = if uri.ends_with("\n") { &uri[..uri.len() - 1] } else { &uri }; - - let bytes = hex::decode(raw_seed_hex.clone()).map_err(|_| Error::KeyFileNotCorrupt)?; - assert_eq!(bytes.len(), 32, "key must be 32 bytes hex; qed."); - let mut seed = [0u8; 32]; - seed.copy_from_slice(&bytes); - let pair = Pair::from_seed(&seed); - let account = AccountId::from(pair.public()); - Ok(Signer { account, pair, raw_seed_hex: raw_seed_hex.to_string() }) -} - -async fn ensure_no_previous_solution( +async fn read_key_from< + P: AsRef, + T: frame_system::Config, +>( + path: P, client: &WsClient, - at: Hash, - us: AccountId, -) -> Result<(), &'static str> { - use pallet_election_provider_multi_phase::{SignedSubmissions, signed::SignedSubmission}; - use polkadot_runtime::NposCompactSolution16; - let key = storage_key!(SignedSubmissions::); - - let queue = rpc_decode!( +) -> Result { + let mut uri = std::fs::read_to_string(path).map_err(|_| Error::KeyFileNotFound)?; + + // trim any trailing garbage. + let len = uri.trim_end_matches(&['\r', '\n'][..]).len(); + uri.truncate(len); + + let pair = Pair::from_string(&uri, None).map_err(|e| { + log::error!(target: LOG_TARGET, "failed to prase key file: {:?}", e); + Error::KeyFileCorrupt + })?; + let account = T::AccountId::from(pair.public()); + log::info!(target: LOG_TARGET, "loaded account {:?}", &account); + + let key = sp_core::storage::StorageKey(>::hashed_key_for(&account)); + let info = rpc_decode!( client< state_getStorage, sp_core::storage::StorageData, - Vec> + frame_system::AccountInfo >, - key, - at + key ); - - // if we have a solution in the queue, then don't do anything. - if queue.iter().any(|ss| ss.who == us) { - Err("We have already submitted a solution for this round.") - } else { - Ok(()) - } -} - -async fn monitor( - client: WsClient, - config: MonitorConfig, - signer: Signer, -) -> Result<(), &'static str> { - let subscription_method = if config.listen == "heads" { - "chain_subscribeNewHeads" - } else { - "chain_subscribeFinalizedHeads" - }; - - log::info!(target: LOG_TARGET, "subscribing to {:?}", subscription_method); - let mut subscription: Subscription
= client - .subscribe(&subscription_method, JsonRpcParams::NoParams, "unsubscribe") - .await - .unwrap(); - - loop { - let now = subscription.next().await.unwrap(); - let hash = now.hash(); - log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number, hash); - - if ensure_signed_phase(&client, hash).await.is_err() { - log::debug!(target: LOG_TARGET, "phase closed, not interested in this block at all."); - continue; - }; - - if ensure_no_previous_solution(&client, hash, signer.account.clone()).await.is_err() { - log::debug!(target: LOG_TARGET, "We already have a solution in this phase, skipping."); - continue; - } - - // mine a new solution, with the exact configuration of the on-chain stuff. - let e - EPMPalletPolkadot - } -} - -async fn dry_run(client: WsClient, _signer: Signer, ws_uri: &str) -> Result<(), &'static str> { - let hash = rpc!(client,).unwrap(); - let mut ext = create_election_ext(ws_uri.to_owned(), hash).await; - force_create_snapshot(&mut ext); - mine_unchecked(&mut ext); - Ok(()) + Ok(Signer { account, pair, uri, nonce: info.nonce }) } #[tokio::main] async fn main() { env_logger::Builder::from_default_env().format_module_path(true).format_level(true).init(); - let opt = Opt::from_args(); - log::debug!(target: LOG_TARGET, "attempting to connect to {:?}", opt.uri); - sp_core::crypto::set_default_ss58_version(sp_core::crypto::Ss58AddressFormat::PolkadotAccount); + let Opt { shared, command } = Opt::from_args(); + log::debug!(target: LOG_TARGET, "attempting to connect to {:?}", shared.uri); let client = WsClientBuilder::default() .connection_timeout(std::time::Duration::new(20, 0)) - .build(&opt.uri) + .build(&shared.uri) .await .unwrap(); - let signer = read_key_from("./utils/staking-miner/key").unwrap(); - let outcome = match opt.command { - Command::Monitor(c) => monitor(client, c, signer).await, - Command::DryRun => dry_run(client, signer, &opt.uri).await, + let chain = rpc!(client,).unwrap(); + match chain.to_lowercase().as_str() { + "polkadot" | "development" => { + sp_core::crypto::set_default_ss58_version( + sp_core::crypto::Ss58AddressFormat::PolkadotAccount, + ); + unsafe { + RUNTIME = AnyRuntime::Polkadot; + } + } + "kusama" | "kusama-dev" => { + sp_core::crypto::set_default_ss58_version( + sp_core::crypto::Ss58AddressFormat::KusamaAccount, + ); + unsafe { + RUNTIME = AnyRuntime::Kusama; + } + } + "westend" => { + sp_core::crypto::set_default_ss58_version( + sp_core::crypto::Ss58AddressFormat::PolkadotAccount, + ); + unsafe { + RUNTIME = AnyRuntime::Westend; + } + } + _ => panic!("unexpected chain: {:?}", chain), + } + log::info!(target: LOG_TARGET, "connected to chain {:?}", chain); + + let outcome = any_runtime! { + let signer = read_key_from::<_, Runtime>(&shared.account_seed, &client).await.unwrap(); + match command { + Command::Monitor(c) => monitor_cmd(client, shared, c, signer).await, + // --------------------^^ comes from the macro prelude, needs no generic. + Command::DryRun => dry_run_cmd(client, shared, signer).await, + // ----------------^^ likewise. + } }; log::info!(target: LOG_TARGET, "execution finished. outcome = {:?}", outcome); @@ -328,13 +430,34 @@ mod tests { use super::*; const TEST_URI: &'static str = DEFAULT_URI; + fn get_version() -> sp_version::RuntimeVersion { + use frame_support::traits::Get; + T::Version::get() + } + + #[test] + fn any_runtime_works() { + unsafe { + RUNTIME = AnyRuntime::Polkadot; + } + let polkadot_version = any_runtime! { get_version() }; + + unsafe { + RUNTIME = AnyRuntime::Kusama; + } + let kusama_version = any_runtime! { get_version() }; + + assert_eq!(polkadot_version.spec_name, "polkadot".into()); + assert_eq!(kusama_version.spec_name, "kusama".into()); + } + #[tokio::test] async fn can_compute_anytime() { env_logger::Builder::from_default_env().format_module_path(true).format_level(true).init(); let client = WsClientBuilder::default().build(TEST_URI).await.unwrap(); let hash = rpc!(client,).unwrap(); - let mut ext = create_election_ext(TEST_URI.to_owned(), hash).await; + let mut ext = create_election_ext(TEST_URI.to_owned(), hash, true).await; force_create_snapshot(&mut ext); mine_unchecked(&mut ext); } diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs new file mode 100644 index 000000000000..9bdba7a8e33b --- /dev/null +++ b/utils/staking-miner/src/monitor.rs @@ -0,0 +1,206 @@ +use crate::{prelude::*, Signer, SharedConfig, MonitorConfig, Error, rpc, rpc_decode, storage_key}; +use jsonrpsee_ws_client::{ + traits::{SubscriptionClient}, + v2::params::JsonRpcParams, + Subscription, WsClient, +}; + +async fn ensure_signed_phase( + client: &WsClient, + at: B::Hash, +) -> Result<(), Error> { + let key = storage_key!(EPM::CurrentPhase::); + let phase = rpc_decode!( + client>, + key, + at + ); + + if phase.is_signed() { + Ok(()) + } else { + Err(Error::IncorrectPhase) + } +} + +async fn ensure_no_previous_solution( + client: &WsClient, + at: B::Hash, + us: &AccountId, +) -> Result<(), Error> { + use EPM::{SignedSubmissions, signed::SignedSubmission}; + let key = storage_key!(SignedSubmissions::); + let queue = crate::any_runtime! { + rpc_decode!( + client< + state_getStorage, + sp_core::storage::StorageData, + Vec> + >, + key, + at + ) + }; + + // if we have a solution in the queue, then don't do anything. + if queue.iter().any(|ss| &ss.who == us) { + Err(Error::AlreadySubmitted) + } else { + Ok(()) + } +} + +async fn ensure_snapshot_exists( + client: &WsClient, + at: B::Hash, +) -> Result<(), Error> { + let key = storage_key!(EPM::SnapshotMetadata::); + let snapshot = rpc_decode!( + client, + key, + at + ); + + if snapshot == Default::default() { + Ok(()) + } else { + Err(Error::SnapshotUnavailable) + } +} + +macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { + pub(crate) async fn []( + client: WsClient, + shared: SharedConfig, + config: MonitorConfig, + signer: Signer, // TODO: Signer could also go into a shared config, perhaps. + ) -> Result<(), Error> { + use $crate::[<$runtime _runtime_exports>]::*; + let subscription_method = if config.listen == "heads" { + "chain_subscribeNewHeads" + } else { + "chain_subscribeFinalizedHeads" + }; + + log::info!(target: LOG_TARGET, "subscribing to {:?}", subscription_method); + let mut subscription: Subscription
= client + .subscribe(&subscription_method, JsonRpcParams::NoParams, "unsubscribe") + .await + .unwrap(); + + loop { + let now = subscription.next().await.unwrap(); + let hash = now.hash(); + log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number, hash); + + if ensure_signed_phase::(&client, hash).await.is_err() { + log::debug!(target: LOG_TARGET, "phase closed, not interested in this block at all."); + continue; + }; + + if ensure_no_previous_solution::(&client, hash, &signer.account).await.is_err() + { + log::debug!(target: LOG_TARGET, "We already have a solution in this phase, skipping."); + continue; + } + + // mine a new solution, with the exact configuration of the on-chain stuff. No need to fetch + // staking now, the snapshot must exist. + if ensure_snapshot_exists::(&client, hash).await.is_err() { + log::error!(target: LOG_TARGET, "Phase is signed, but snapshot is not there."); + continue; + } + + // grab an externalities without staking, just the election snapshot. + let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, false).await; + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext); + log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); + let extrinsic = create_uxt(raw_solution, witness, signer.clone()); + } + } +}}} + +monitor_cmd_for!(polkadot); +monitor_cmd_for!(kusama); +monitor_cmd_for!(westend); + +// This is my best WIP to make ^^ generic.. it won't work. +// macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { +// pub(crate) async fn monitor_cmd_generic( +// client: WsClient, +// shared: SharedConfig, +// config: MonitorConfig, +// signer: Signer, +// ) -> Result<(), Error> +// where +// B::Header: serde::de::DeserializeOwned, +// T: EPM::Config + frame_system::Config, +// B: BlockT, +// C: codec::Encode + sp_runtime::traits::Member + From>, +// X: sp_runtime::traits::SignedExtension, +// E: sp_runtime::traits::Extrinsic< +// Call = C, +// SignaturePayload = ( +// <::Lookup as sp_runtime::traits::StaticLookup>::Source, +// Signature, +// X, +// ) +// >, +// { +// let subscription_method = if config.listen == "heads" { +// "chain_subscribeNewHeads" +// } else { +// "chain_subscribeFinalizedHeads" +// }; + +// log::info!(target: LOG_TARGET, "subscribing to {:?}", subscription_method); +// let mut subscription: Subscription = client +// .subscribe(&subscription_method, JsonRpcParams::NoParams, "unsubscribe") +// .await +// .unwrap(); + +// loop { +// let now = subscription.next().await.unwrap(); +// let hash = now.hash(); +// log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number(), hash); + +// if ensure_signed_phase::(&client, hash).await.is_err() { +// log::debug!(target: LOG_TARGET, "phase closed, not interested in this block at all."); +// continue; +// }; + +// if ensure_no_previous_solution::(&client, hash, &signer.account).await.is_err() +// { +// log::debug!(target: LOG_TARGET, "We already have a solution in this phase, skipping."); +// continue; +// } + +// // mine a new solution, with the exact configuration of the on-chain stuff. No need to fetch +// // staking now, the snapshot must exist. +// if ensure_snapshot_exists::(&client, hash).await.is_err() { +// log::error!(target: LOG_TARGET, "Phase is signed, but snapshot is not there."); +// continue; +// } + +// // grab an externalities without staking, just the election snapshot. +// let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, false).await; +// let (raw_solution, witness) = crate::mine_unchecked::(&mut ext); +// log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); + +// let call = EPM::Call::::submit(raw_solution, witness); +// let outer_call: C = call.into(); + +// // ------------------ +// let crate::Signer { account, pair, .. } = signer.clone(); +// let nonce = 0; // TODO +// let tip = 0; +// let extra = crate::any_runtime! { get_signed_extra::() }; +// let raw_payload = sp_runtime::generic::SignedPayload::new(outer_call.clone(), +// extra.clone()).unwrap(); let signature = raw_payload.using_encoded(|payload| { +// pair.clone().sign(payload) +// }); +// let address = ::Lookup::unlookup(account.clone()); +// let extrinsic = E::new(outer_call, Some((address, signature.into(), extra))).unwrap(); +// } +// } +// }}} diff --git a/utils/staking-miner/src/prelude.rs b/utils/staking-miner/src/prelude.rs new file mode 100644 index 000000000000..eba4d6b2e036 --- /dev/null +++ b/utils/staking-miner/src/prelude.rs @@ -0,0 +1,30 @@ +/// Types that we don't fetch from a particular runtime and just assume that they are constant all +/// of the place. +/// +/// It is actually easy to convert the rest as well, but it'll be a lot of noise in our codebase, +/// needing to sprinkle `any_runtime` in a few extra places. + +/// The account id type. +pub type AccountId = core_primitives::AccountId; +/// The block number type. +pub type BlockNumber = core_primitives::BlockNumber; +/// The balance type. +pub type Balance = core_primitives::Balance; +/// The signature type. +pub type Signature = core_primitives::Signature; +/// The index of an account. +pub type Index = core_primitives::AccountIndex; + +pub const DEFAULT_URI: &'static str = "wss://rpc.polkadot.io"; +pub const LOG_TARGET: &'static str = "staking-miner"; + +pub use pallet_election_provider_multi_phase as EPM; +pub use sp_runtime::traits::{Block as BlockT, Header as HeaderT}; + +// TODO: remove this one. +pub type EPMPalletOf = EPM::Pallet; +pub type StakingPalletOf = pallet_staking::Pallet; +pub type Ext = sp_io::TestExternalities; + +// TODO: we 'strongly' assume this type of crypto; +pub type Pair = sp_core::sr25519::Pair; From 95b6ea00d7f204948de1b29eae51d3295e824468 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Mon, 31 May 2021 20:06:15 +0200 Subject: [PATCH 05/31] revamp rpc stuff --- node/service/src/chain_spec.rs | 2 +- runtime/polkadot/src/constants.rs | 2 +- runtime/polkadot/src/lib.rs | 4 +- utils/staking-miner/{key => alice} | 0 utils/staking-miner/src/dry_run.rs | 27 +++- utils/staking-miner/src/main.rs | 211 ++++++++++++++++++----------- utils/staking-miner/src/monitor.rs | 75 ++++------ utils/staking-miner/src/prelude.rs | 38 ++++-- 8 files changed, 217 insertions(+), 142 deletions(-) rename utils/staking-miner/{key => alice} (100%) diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 65ec75ffa8d4..01de27e3736f 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -1164,7 +1164,7 @@ pub fn polkadot_testnet_genesis( }, pallet_staking: polkadot::StakingConfig { minimum_validator_count: 1, - validator_count: 2, + validator_count: initial_authorities.len() as u32, stakers: initial_authorities .iter() .map(|x| { diff --git a/runtime/polkadot/src/constants.rs b/runtime/polkadot/src/constants.rs index ecfa74d78664..17458b60781b 100644 --- a/runtime/polkadot/src/constants.rs +++ b/runtime/polkadot/src/constants.rs @@ -33,7 +33,7 @@ pub mod time { use primitives::v0::{Moment, BlockNumber}; pub const MILLISECS_PER_BLOCK: Moment = 6000; pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK; - pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 4 * HOURS; + pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 4 * MINUTES; // These time units are defined in number of blocks. pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 34ee769fe262..5578a17936c6 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -322,7 +322,7 @@ impl pallet_session::historical::Config for Runtime { parameter_types! { // no signed phase for now, just unsigned. - pub const SignedPhase: u32 = 0; + pub const SignedPhase: u32 = EPOCH_DURATION_IN_SLOTS / 4; pub const UnsignedPhase: u32 = EPOCH_DURATION_IN_SLOTS / 4; // signed config @@ -400,7 +400,7 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (24 hours). - pub const SessionsPerEra: SessionIndex = 6; + pub const SessionsPerEra: SessionIndex = 1; // 28 eras for unbonding (28 days). pub const BondingDuration: pallet_staking::EraIndex = 28; pub const SlashDeferDuration: pallet_staking::EraIndex = 27; diff --git a/utils/staking-miner/key b/utils/staking-miner/alice similarity index 100% rename from utils/staking-miner/key rename to utils/staking-miner/alice diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index aef403e87d90..a5d4d58471f7 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -1,4 +1,22 @@ -use crate::{prelude::*, Signer, SharedConfig, WsClient, Error, rpc, rpc_decode}; +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! The dry-run command. + +use crate::{prelude::*, Signer, SharedConfig, WsClient, Error, rpc_helpers::*, params}; use codec::Encode; /// Forcefully create the snapshot. This can be used to compute the election at anytime. @@ -9,25 +27,26 @@ fn force_create_snapshot(ext: &mut Ext) { } else { log::info!(target: LOG_TARGET, "creating a fake snapshot now."); } - >::create_snapshot().unwrap(); + >::create_snapshot().unwrap(); }); } macro_rules! dry_run_cmd_for { ($runtime:tt) => { paste::paste! { + /// Execute the dry-run command. pub(crate) async fn []( client: WsClient, shared: SharedConfig, signer: Signer, ) -> Result<(), Error> { use $crate::[<$runtime _runtime_exports>]::*; - let hash = rpc!(client::Hash>,).unwrap(); + let hash = rpc::<::Hash>(&client, "chain_getFinalizedHead", params!{}).await.expect("chain_getFinalizedHead infallible; qed."); let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, true).await; force_create_snapshot::(&mut ext); let (raw_solution, witness) = crate::mine_unchecked::(&mut ext); log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone())); let bytes = sp_core::Bytes(extrinsic.encode().to_vec()); - let outcome = rpc_decode!(client, bytes); + let outcome = rpc_decode::(&client, "system_dryRun", params!{ bytes }).await?; log::info!(target: LOG_TARGET, "dry-run outcome is {:?}", outcome); Ok(()) } diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 415fcac776db..a15b88bf7101 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -1,3 +1,19 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + // ## Staking Miner // // things to look out for: @@ -5,27 +21,6 @@ // 2. length (already taken care of). // 3. Important, but hard to do: memory usage of the chain. For this we need to bring in a substrate // wasm executor. -// -// ### Monitor -// -// 1. wait for a block where phase is signed. -// 2. ensure we don't have any previously submitted blocks. -// 3. store some global data about `MinerProfile` of the miners. -// 4. run an action appropriate to the current `MinerProfile`. -// -// -// ##### Miner States -// -// ```rust -// enum MinerProfile { -// // seq-phragmen -> balancing(round) -> reduce -// WithBalancing(round), -// // seq-phragmen -> reduce -// JustSeqPhragmen, -// // trim the least staked `perbill%` nominators, then seq-phragmen -> reduce -// TrimmedState(Perbill), -// } -// } mod dry_run; mod monitor; @@ -79,7 +74,7 @@ macro_rules! construct_runtime_prelude { let call = Call::ElectionProviderMultiPhase(local_call); let extra: SignedExtra = $signed_extra; - let raw_payload = SignedPayload::new(call, extra).unwrap(); + let raw_payload = SignedPayload::new(call, extra).expect("creating signed payload infallible; qed."); let signature = raw_payload.using_encoded(|payload| { pair.clone().sign(payload) }); @@ -202,6 +197,8 @@ enum Error { IncorrectPhase, AlreadySubmitted, SnapshotUnavailable, + RpcError, + CodecError, } /// Some information about the signer. Redundant at this point, but makes life easier. @@ -254,55 +251,112 @@ struct Opt { command: Command, } -#[macro_export] -macro_rules! rpc { - ($client:ident<$method:tt, $ret:ty>, $($params:expr),*) => { - { - let mut _params = vec![]; - $( - let param = serde_json::to_value($params).unwrap(); - _params.push(param); - )* - < - jsonrpsee_ws_client::WsClient - as - jsonrpsee_ws_client::traits::Client - >::request::<$ret>( - &$client, - stringify!($method), - jsonrpsee_ws_client::v2::params::JsonRpcParams::Array(_params) - ).await +mod rpc_helpers { + use super::*; + use jsonrpsee_ws_client::traits::Client; + pub(crate) use jsonrpsee_ws_client::v2::params::JsonRpcParams; + + #[macro_export] + macro_rules! params { + ($($param:expr),*) => { + { + let mut __params = vec![]; + $( + __params.push(serde_json::to_value($param).expect("json serialization infallible; qed.")); + )* + $crate::rpc_helpers::JsonRpcParams::Array(__params) + } + }; + () => { + $crate::rpc::JsonRpcParams::NoParams, } } -} -// TODO: these are pretty reusable. Maybe move to remote-ext. -#[macro_export] -macro_rules! rpc_decode { - ($client:ident<$method:tt, $ret:ty, $dec:ty>, $($params:expr),*) => { - { - let data = rpc!($client<$method, $ret>, $( $params ),* ).map(|d| d.0).unwrap(); - <$dec as codec::Decode>::decode(&mut &*data).unwrap() + /// Make the rpc request, returning `Ret`. + pub(crate) async fn rpc<'a, Ret: serde::de::DeserializeOwned>( + client: &WsClient, + method: &'a str, + params: JsonRpcParams<'a>, + ) -> Result { + client.request::(method, params).await.map_err(|err| { + log::error!( + target: LOG_TARGET, + "rpc error in {}: {:?}", + method, + err + ); + Error::RpcError + }) + } + + /// Make the rpc request, decode the outcome into `Dec`. Don't use for storage, it will fail for + /// non-existent storage items. + pub(crate) async fn rpc_decode< + 'a, + Dec: codec::Decode, + >( + client: &WsClient, + method: &'a str, + params: JsonRpcParams<'a>, + ) -> Result { + let bytes = rpc::(client, method, params).await?; + ::decode(&mut &*bytes.0).map_err(|err| { + log::error!(target: LOG_TARGET, "decode error in {:?} with data: {:?}", err, bytes); + Error::CodecError + }) + } + + /// Get the storage item. + pub(crate) async fn get_storage<'a, T: codec::Decode>( + client: &WsClient, + params: JsonRpcParams<'a>, + ) -> Result, Error> { + let maybe_bytes = rpc::>(client, "state_getStorage", params).await?; + if let Some(bytes) = maybe_bytes { + let decoded = ::decode(&mut &*bytes.0).map_err(|err| { + log::error!(target: LOG_TARGET, "decode error in {:?} with data: {:?}", err, bytes); + Error::CodecError + })?; + Ok(Some(decoded)) + } else { + Ok(None) } } -} -#[macro_export] -macro_rules! storage_key { - ($storage:ty) => {{ - let __key = <$storage>::hashed_key(); - sp_core::storage::StorageKey(__key.to_vec()) - }}; + #[cfg(test)] + mod tests { + use super::*; + + #[test] + fn can_read_finalized_head() { + todo!() + } + + fn can_read_storage_value() { + todo!() + } + + fn can_read_storage_map() { + todo!() + } + + fn can_submit_dry_run() { + todo!() + } + } } +pub use rpc_helpers::*; + /// Build the `Ext` at `hash` with all the data of `ElectionProviderMultiPhase` and `Staking` /// stored. -async fn create_election_ext( +async fn create_election_ext( uri: String, at: B::Hash, with_staking: bool, ) -> Ext { use frame_support::storage::generator::StorageMap; + use frame_support::traits::PalletInfo; let system_block_hash_key = >::prefix_hash(); Builder::::new() @@ -310,15 +364,15 @@ async fn create_election_ext( transport: uri.into(), at: Some(at), modules: if with_staking { - // TODO: would save us some time, if we can also command remote-ext to scrape - // certain maps from staking, not all of it. - // TODO: fancy not hard-coding the name of these. They can be different in different - // runtimes. - // vec![ as frame_system::Config>::PalletInfo::name(), - // "Staking".to_owned()] - vec!["ElectionProviderMultiPhase".to_owned(), "Staking".to_owned()] + vec![ + ::PalletInfo::name::>().expect("Pallet always has name; qed.").to_string(), + // NOTE: change when staking moves to frame v2. + "Staking".to_owned(), + ] } else { - vec!["ElectionProviderMultiPhase".to_owned()] + vec![ + ::PalletInfo::name::>().expect("Pallet always has name; qed.").to_string(), + ] }, ..Default::default() })) @@ -332,13 +386,14 @@ async fn create_election_ext( /// words, the snapshot must exists on the given externalities. fn mine_unchecked(ext: &mut Ext) -> (EPM::RawSolution>, u32) { ext.execute_with(|| { - let (solution, _) = >::mine_solution(10).unwrap(); + let (solution, _) = >::mine_solution(10).unwrap(); let witness = >::decode_len().unwrap_or_default(); (solution, witness as u32) }) } -async fn read_key_from< +/// Read the signer account's uri from the given `path`. +async fn read_signer_uri< P: AsRef, T: frame_system::Config, >( @@ -356,17 +411,13 @@ async fn read_key_from< Error::KeyFileCorrupt })?; let account = T::AccountId::from(pair.public()); - log::info!(target: LOG_TARGET, "loaded account {:?}", &account); - - let key = sp_core::storage::StorageKey(>::hashed_key_for(&account)); - let info = rpc_decode!( - client< - state_getStorage, - sp_core::storage::StorageData, - frame_system::AccountInfo - >, - key - ); + + let info = crate::get_storage::>( + client, + params! {sp_core::storage::StorageKey(>::hashed_key_for(&account))}, + ) + .await?.expect("provided account does not exist."); + log::info!(target: LOG_TARGET, "loaded account {:?}, info: {:?}", &account, info); Ok(Signer { account, pair, uri, nonce: info.nonce }) } @@ -382,7 +433,9 @@ async fn main() { .await .unwrap(); - let chain = rpc!(client,).unwrap(); + let chain = rpc::(&client, "system_chain", params! {}) + .await + .expect("system_chain infallible; qed."); match chain.to_lowercase().as_str() { "polkadot" | "development" => { sp_core::crypto::set_default_ss58_version( @@ -413,7 +466,7 @@ async fn main() { log::info!(target: LOG_TARGET, "connected to chain {:?}", chain); let outcome = any_runtime! { - let signer = read_key_from::<_, Runtime>(&shared.account_seed, &client).await.unwrap(); + let signer = read_signer_uri::<_, Runtime>(&shared.account_seed, &client).await.unwrap(); match command { Command::Monitor(c) => monitor_cmd(client, shared, c, signer).await, // --------------------^^ comes from the macro prelude, needs no generic. diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 9bdba7a8e33b..94855b95eea8 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -1,20 +1,35 @@ -use crate::{prelude::*, Signer, SharedConfig, MonitorConfig, Error, rpc, rpc_decode, storage_key}; +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! The monitor command. + +use crate::{prelude::*, rpc_helpers::*, params, Signer, SharedConfig, MonitorConfig, Error}; use jsonrpsee_ws_client::{ traits::{SubscriptionClient}, v2::params::JsonRpcParams, Subscription, WsClient, }; +/// Ensure that now is the singed phase. async fn ensure_signed_phase( client: &WsClient, at: B::Hash, ) -> Result<(), Error> { - let key = storage_key!(EPM::CurrentPhase::); - let phase = rpc_decode!( - client>, - key, - at - ); + let key = sp_core::storage::StorageKey(EPM::CurrentPhase::::hashed_key().to_vec()); + let phase = get_storage::>(client, params! {key, at}).await?.unwrap_or_default(); if phase.is_signed() { Ok(()) @@ -23,24 +38,17 @@ async fn ensure_signed_phase( } } +/// Ensure that our current `us` have not submitted anything previously. async fn ensure_no_previous_solution( client: &WsClient, at: B::Hash, us: &AccountId, ) -> Result<(), Error> { use EPM::{SignedSubmissions, signed::SignedSubmission}; - let key = storage_key!(SignedSubmissions::); + let key = sp_core::storage::StorageKey(SignedSubmissions::::hashed_key().to_vec()); let queue = crate::any_runtime! { - rpc_decode!( - client< - state_getStorage, - sp_core::storage::StorageData, - Vec> - >, - key, - at - ) - }; + get_storage::>>(client, params!{ key, at }).await + }?.unwrap_or_default(); // if we have a solution in the queue, then don't do anything. if queue.iter().any(|ss| &ss.who == us) { @@ -50,25 +58,8 @@ async fn ensure_no_previous_solution( } } -async fn ensure_snapshot_exists( - client: &WsClient, - at: B::Hash, -) -> Result<(), Error> { - let key = storage_key!(EPM::SnapshotMetadata::); - let snapshot = rpc_decode!( - client, - key, - at - ); - - if snapshot == Default::default() { - Ok(()) - } else { - Err(Error::SnapshotUnavailable) - } -} - macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { + /// The monitor command. pub(crate) async fn []( client: WsClient, shared: SharedConfig, @@ -76,7 +67,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { signer: Signer, // TODO: Signer could also go into a shared config, perhaps. ) -> Result<(), Error> { use $crate::[<$runtime _runtime_exports>]::*; - let subscription_method = if config.listen == "heads" { + let subscription_method = if config.listen == "head" { "chain_subscribeNewHeads" } else { "chain_subscribeFinalizedHeads" @@ -104,18 +95,12 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { continue; } - // mine a new solution, with the exact configuration of the on-chain stuff. No need to fetch - // staking now, the snapshot must exist. - if ensure_snapshot_exists::(&client, hash).await.is_err() { - log::error!(target: LOG_TARGET, "Phase is signed, but snapshot is not there."); - continue; - } - // grab an externalities without staking, just the election snapshot. let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, false).await; let (raw_solution, witness) = crate::mine_unchecked::(&mut ext); log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); - let extrinsic = create_uxt(raw_solution, witness, signer.clone()); + + let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone())); } } }}} diff --git a/utils/staking-miner/src/prelude.rs b/utils/staking-miner/src/prelude.rs index eba4d6b2e036..1cfd05bb32cb 100644 --- a/utils/staking-miner/src/prelude.rs +++ b/utils/staking-miner/src/prelude.rs @@ -1,8 +1,24 @@ -/// Types that we don't fetch from a particular runtime and just assume that they are constant all -/// of the place. -/// -/// It is actually easy to convert the rest as well, but it'll be a lot of noise in our codebase, -/// needing to sprinkle `any_runtime` in a few extra places. +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Types that we don't fetch from a particular runtime and just assume that they are constant all +//! of the place. +//! +//! It is actually easy to convert the rest as well, but it'll be a lot of noise in our codebase, +//! needing to sprinkle `any_runtime` in a few extra places. /// The account id type. pub type AccountId = core_primitives::AccountId; @@ -15,16 +31,18 @@ pub type Signature = core_primitives::Signature; /// The index of an account. pub type Index = core_primitives::AccountIndex; +pub use sp_runtime::traits::{Block as BlockT, Header as HeaderT}; + +/// Default URI to connect to. pub const DEFAULT_URI: &'static str = "wss://rpc.polkadot.io"; +/// The logging target. pub const LOG_TARGET: &'static str = "staking-miner"; +/// The election provider pallet. pub use pallet_election_provider_multi_phase as EPM; -pub use sp_runtime::traits::{Block as BlockT, Header as HeaderT}; -// TODO: remove this one. -pub type EPMPalletOf = EPM::Pallet; -pub type StakingPalletOf = pallet_staking::Pallet; +/// The externalities type. pub type Ext = sp_io::TestExternalities; -// TODO: we 'strongly' assume this type of crypto; +/// The key pair type being used. We 'strongly' assume sr25519 for simplicity. pub type Pair = sp_core::sr25519::Pair; From 1709494ae626cf93a5a3d2b1aabd66521b83dd8e Mon Sep 17 00:00:00 2001 From: kianenigma Date: Tue, 1 Jun 2021 14:49:42 +0200 Subject: [PATCH 06/31] remove all the stale js stuff --- utils/staking-miner/js/.gitignore | 5 -- utils/staking-miner/js/nodemon.json | 6 --- utils/staking-miner/js/package.json | 30 ------------ utils/staking-miner/js/src/index.ts | 69 ---------------------------- utils/staking-miner/js/tsconfig.json | 14 ------ 5 files changed, 124 deletions(-) delete mode 100644 utils/staking-miner/js/.gitignore delete mode 100644 utils/staking-miner/js/nodemon.json delete mode 100644 utils/staking-miner/js/package.json delete mode 100644 utils/staking-miner/js/src/index.ts delete mode 100644 utils/staking-miner/js/tsconfig.json diff --git a/utils/staking-miner/js/.gitignore b/utils/staking-miner/js/.gitignore deleted file mode 100644 index c386d1ae7078..000000000000 --- a/utils/staking-miner/js/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -node_modules -yarn.lock -build -key -key1 diff --git a/utils/staking-miner/js/nodemon.json b/utils/staking-miner/js/nodemon.json deleted file mode 100644 index 5f54551d00d0..000000000000 --- a/utils/staking-miner/js/nodemon.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "watch": ["src"], - "ext": ".ts,.js", - "ignore": [], - "exec": "ts-node ./src/index.ts" -} diff --git a/utils/staking-miner/js/package.json b/utils/staking-miner/js/package.json deleted file mode 100644 index 7d3d1996c616..000000000000 --- a/utils/staking-miner/js/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "js-utils", - "version": "1.0.0", - "description": "", - "main": "webpack.config.js", - "scripts": { - "start:dev": "nodemon", - "run": "npm run build && node build/index.js", - "build": "rimraf ./build && tsc" - }, - "author": "", - "license": "ISC", - "devDependencies": { - "@babel/cli": "^7.10.5", - "@babel/core": "^7.11.4", - "@babel/preset-typescript": "^7.10.4", - "@types/node": "^14.6.0", - "nodemon": "^2.0.4", - "rimraf": "^3.0.2", - "ts-loader": "^8.0.2", - "ts-node": "^8.10.2", - "typescript": "^4.0.2", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2" - }, - "dependencies": { - "@polkadot/api": "2.0.1", - "bn.js": "^5.1.3" - } -} diff --git a/utils/staking-miner/js/src/index.ts b/utils/staking-miner/js/src/index.ts deleted file mode 100644 index b97062f249f9..000000000000 --- a/utils/staking-miner/js/src/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { readFileSync } from 'fs'; -import { ApiPromise } from "@polkadot/api"; -import { ValidatorIndex, CompactAssignments, ElectionScore, EraIndex, ElectionSize } from "@polkadot/types/interfaces/staking" -import { Keyring } from "@polkadot/keyring" -import { join } from "path" - -const keyring = new Keyring({ type: 'sr25519', ss58Format: 0 }); - - -async function main() { - const api = await ApiPromise.create() - - let solutionPath = join(".", process.argv[2]); - console.log(`++ reading solution binary from path ${solutionPath}`) - - let buffer = readFileSync(solutionPath) - let bytes = new Uint8Array(buffer) - - // @ts-ignore - let [winners_raw, compact_raw, score_raw, era_raw, size_raw]: any[] = api.createType('(Vec, CompactAssignments, ElectionScore, EraIndex, ElectionSize)', bytes); - - let winners: ValidatorIndex[] = winners_raw; - let compact: CompactAssignments = compact_raw; - let score: ElectionScore = score_raw; - let era: EraIndex = era_raw; - let size: ElectionSize = size_raw; - - let call = api.tx.staking.submitElectionSolution(winners, compact, score, era, size) - let info = await api.rpc.payment.queryInfo(call.toJSON()) - const origin = keyring.addFromUri(readFileSync("key_real").toString().trim()); - - console.log(`++ submitting call ${call.meta.name}, weight = ${info.weight.toHuman()}, partialFee = ${info.partialFee.toHuman()}`) - console.log(`++ free balance of sender account (${origin.address}) = ${(await api.query.system.account(origin.address)).data.free.toHuman()}`) - - return 0; - let exitCode = 0; - - try { - let unsubscribe = await call.signAndSend(origin, ({ events = [], status, }) => { - console.log(`Current status is ${status.type}`); - - if (status.isInBlock) { - console.log(`++ Transaction included at blockHash ${status.asInBlock}`); - } - - if (status.isFinalized) { - console.log(`++ Transaction Finalized at blockHash ${status.asFinalized}`); - - events.forEach(({ phase, event: { data, method, section } }) => { - console.log(`\t' ${phase}: ${section}.${method}:: ${data}`); - }); - unsubscribe(); - } - - }) - } catch(err) { - exitCode = 1; - } - - return exitCode -} - - -main().then(outcome => { - process.exit(outcome) -}) -.catch(err => { - console.error("Unexpected error:", err) -}); diff --git a/utils/staking-miner/js/tsconfig.json b/utils/staking-miner/js/tsconfig.json deleted file mode 100644 index 91c121a0e58e..000000000000 --- a/utils/staking-miner/js/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "es6", - "module": "commonjs", - "lib": ["es6"], - "allowJs": true, - "outDir": "build", - "rootDir": "src", - "strict": true, - "noImplicitAny": true, - "esModuleInterop": true, - "resolveJsonModule": true - } -} From 0c10c66a7658fd4f952ee318720c1b1ce20e011a Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 3 Jun 2021 10:50:15 +0200 Subject: [PATCH 07/31] Major updates, closer to completion. --- Cargo.lock | 310 +++++++++++++++-------------- runtime/polkadot/src/lib.rs | 2 +- utils/staking-miner/Cargo.toml | 5 +- utils/staking-miner/src/dry_run.rs | 28 ++- utils/staking-miner/src/main.rs | 290 ++++++++++++++++----------- utils/staking-miner/src/monitor.rs | 108 +++++++--- utils/staking-miner/src/prelude.rs | 2 - 7 files changed, 437 insertions(+), 308 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b08137edf0da..5504edfe206b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1941,7 +1941,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", ] @@ -1959,7 +1959,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -1978,7 +1978,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "Inflector", "chrono", @@ -2001,7 +2001,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -2014,7 +2014,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "serde", @@ -2040,7 +2040,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "bitflags", "frame-metadata", @@ -2067,7 +2067,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2079,7 +2079,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "proc-macro2", "quote", @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-metadata", "frame-support", @@ -2121,7 +2121,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2138,7 +2138,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -2152,7 +2152,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "sp-api", @@ -2161,7 +2161,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "parity-scale-codec", @@ -4067,7 +4067,7 @@ dependencies = [ [[package]] name = "max-encoded-len" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "impl-trait-for-tuples", "max-encoded-len-derive", @@ -4078,7 +4078,7 @@ dependencies = [ [[package]] name = "max-encoded-len-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -4608,7 +4608,7 @@ checksum = "2386b4ebe91c2f7f51082d4cefa145d030e33a1842a96b12e4885cc3c01f7a55" [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -4623,7 +4623,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -4637,7 +4637,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4660,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4690,7 +4690,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4726,7 +4726,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4742,7 +4742,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4757,7 +4757,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4778,7 +4778,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4809,7 +4809,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4846,7 +4846,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4865,7 +4865,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4881,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4896,7 +4896,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4913,7 +4913,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -4929,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4947,7 +4947,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4962,7 +4962,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -4975,7 +4975,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -4991,7 +4991,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5013,7 +5013,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -5042,7 +5042,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "enumflags2", "frame-support", @@ -5056,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5071,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -5090,7 +5090,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5106,7 +5106,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -5119,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5143,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5154,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "log", "sp-arithmetic", @@ -5163,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -5176,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5194,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5209,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-support", "frame-system", @@ -5225,7 +5225,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5242,7 +5242,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5253,7 +5253,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5284,7 +5284,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7493,7 +7493,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "env_logger 0.8.3", "hex", @@ -7771,7 +7771,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "derive_more", @@ -7800,7 +7800,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -7823,7 +7823,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7839,7 +7839,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7860,7 +7860,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -7871,7 +7871,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "chrono", "fdlimit", @@ -7909,7 +7909,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "derive_more", "fnv", @@ -7943,7 +7943,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "blake2-rfc", "hash-db", @@ -7973,7 +7973,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parking_lot 0.11.1", "sc-client-api", @@ -7985,7 +7985,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "derive_more", @@ -8031,7 +8031,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "derive_more", "futures 0.3.15", @@ -8055,7 +8055,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8068,7 +8068,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "futures 0.3.15", @@ -8096,7 +8096,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "sc-client-api", "sp-authorship", @@ -8107,7 +8107,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "derive_more", "lazy_static", @@ -8136,7 +8136,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "derive_more", "parity-scale-codec", @@ -8153,7 +8153,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "log", "parity-scale-codec", @@ -8168,7 +8168,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "log", "parity-scale-codec", @@ -8185,7 +8185,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "derive_more", @@ -8226,7 +8226,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "derive_more", "finality-grandpa", @@ -8250,7 +8250,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "derive_more", "futures 0.3.15", @@ -8271,7 +8271,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "ansi_term 0.12.1", "futures 0.3.15", @@ -8289,7 +8289,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "derive_more", @@ -8309,7 +8309,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "hash-db", "lazy_static", @@ -8328,7 +8328,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-std", "async-trait", @@ -8381,7 +8381,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8398,7 +8398,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "bytes 0.5.6", "fnv", @@ -8426,7 +8426,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.3.15", "libp2p", @@ -8439,7 +8439,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8448,7 +8448,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.3.15", "hash-db", @@ -8483,7 +8483,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "derive_more", "futures 0.3.15", @@ -8508,7 +8508,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.1.31", "jsonrpc-core", @@ -8526,7 +8526,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "directories", @@ -8590,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "log", "parity-scale-codec", @@ -8605,7 +8605,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8625,7 +8625,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "chrono", "futures 0.3.15", @@ -8645,7 +8645,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8682,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8693,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "derive_more", "futures 0.3.15", @@ -8715,7 +8715,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.3.15", "futures-diagnose", @@ -9155,7 +9155,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "log", "sp-core", @@ -9167,7 +9167,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "hash-db", "log", @@ -9184,7 +9184,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9196,7 +9196,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "max-encoded-len", "parity-scale-codec", @@ -9209,7 +9209,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "integer-sqrt", "num-traits", @@ -9223,7 +9223,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "sp-api", @@ -9235,7 +9235,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "parity-scale-codec", @@ -9247,7 +9247,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "sp-api", @@ -9259,7 +9259,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.3.15", "log", @@ -9277,7 +9277,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "serde", "serde_json", @@ -9286,7 +9286,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "futures 0.3.15", @@ -9313,7 +9313,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "merlin", @@ -9335,7 +9335,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9345,7 +9345,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9357,7 +9357,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "base58", "blake2-rfc", @@ -9402,7 +9402,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9411,7 +9411,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "proc-macro2", "quote", @@ -9421,7 +9421,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "environmental", "parity-scale-codec", @@ -9432,7 +9432,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "finality-grandpa", "log", @@ -9449,7 +9449,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9463,7 +9463,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.3.15", "hash-db", @@ -9488,7 +9488,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "lazy_static", "sp-core", @@ -9499,7 +9499,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "derive_more", @@ -9516,7 +9516,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "ruzstd", "zstd", @@ -9525,7 +9525,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "serde", @@ -9538,7 +9538,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9549,7 +9549,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "sp-api", "sp-core", @@ -9559,7 +9559,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "backtrace", ] @@ -9567,7 +9567,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "rustc-hash", "serde", @@ -9578,7 +9578,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "either", "hash256-std-hasher", @@ -9600,7 +9600,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9617,7 +9617,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9629,7 +9629,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "serde", "serde_json", @@ -9638,7 +9638,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "sp-api", @@ -9651,7 +9651,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9661,7 +9661,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "hash-db", "log", @@ -9684,12 +9684,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9702,7 +9702,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "log", "sp-core", @@ -9715,7 +9715,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9732,7 +9732,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "erased-serde", "log", @@ -9750,7 +9750,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "derive_more", "futures 0.3.15", @@ -9766,7 +9766,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "hash-db", "memory-db", @@ -9780,7 +9780,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.3.15", "futures-core", @@ -9792,7 +9792,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9805,7 +9805,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -9817,7 +9817,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9867,8 +9867,10 @@ dependencies = [ "sp-io", "sp-npos-elections", "sp-runtime", + "sp-transaction-pool", "sp-version", "structopt", + "thiserror", "tokio 0.2.25", "westend-runtime", ] @@ -10012,7 +10014,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "chrono", "console_error_panic_hook", @@ -10038,7 +10040,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "platforms", ] @@ -10046,7 +10048,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.15", @@ -10069,7 +10071,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-std", "derive_more", @@ -10083,7 +10085,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "async-trait", "futures 0.1.31", @@ -10112,7 +10114,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "futures 0.3.15", "substrate-test-utils-derive", @@ -10122,7 +10124,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -10859,7 +10861,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#4e4abbe3e4872c3335e4fc276801959c57ab3e5d" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" dependencies = [ "frame-try-runtime", "log", diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 5578a17936c6..d28578ced465 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -326,7 +326,7 @@ parameter_types! { pub const UnsignedPhase: u32 = EPOCH_DURATION_IN_SLOTS / 4; // signed config - pub const SignedMaxSubmissions: u32 = 0; + pub const SignedMaxSubmissions: u32 = 10; pub const SignedRewardBase: Balance = 1 * DOLLARS; pub const SignedDepositBase: Balance = 1 * DOLLARS; pub const SignedDepositByte: Balance = 1 * CENTS; diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 513b5399b804..4884e7ba9fad 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "staking-miner" version = "0.9.0" -authors = ["parity"] +authors = ["Parity Technologies "] edition = "2018" [dependencies] @@ -18,6 +18,7 @@ serde = "1.0.0" hex = "0.4.0" lazy_static = "1.4.0" paste = "1.0.5" +thiserror = "1.0.0" remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } @@ -25,6 +26,8 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staki sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } + frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index a5d4d58471f7..830984704088 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -20,18 +20,19 @@ use crate::{prelude::*, Signer, SharedConfig, WsClient, Error, rpc_helpers::*, p use codec::Encode; /// Forcefully create the snapshot. This can be used to compute the election at anytime. -fn force_create_snapshot(ext: &mut Ext) { +fn force_create_snapshot(ext: &mut Ext) -> Result<(), Error> { ext.execute_with(|| { if >::exists() { log::info!(target: LOG_TARGET, "snapshot already exists."); } else { log::info!(target: LOG_TARGET, "creating a fake snapshot now."); } - >::create_snapshot().unwrap(); - }); + let _ = >::create_snapshot()?; + Ok(()) + }) } -macro_rules! dry_run_cmd_for { ($runtime:tt) => { paste::paste! { +macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { /// Execute the dry-run command. pub(crate) async fn []( client: WsClient, @@ -40,11 +41,22 @@ macro_rules! dry_run_cmd_for { ($runtime:tt) => { paste::paste! { ) -> Result<(), Error> { use $crate::[<$runtime _runtime_exports>]::*; let hash = rpc::<::Hash>(&client, "chain_getFinalizedHead", params!{}).await.expect("chain_getFinalizedHead infallible; qed."); - let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, true).await; - force_create_snapshot::(&mut ext); - let (raw_solution, witness) = crate::mine_unchecked::(&mut ext); + let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, true).await?; + force_create_snapshot::(&mut ext)?; + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); - let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone())); + + let nonce = crate::get_account_info::(&client, &signer.account, Some(hash)) + .await? + .map(|i| i.nonce) + .expect("signer account is checked to exist upon startup; it can only die if it \ + transfers funds out of it, or get slashed. If it does not exist at this point, \ + it is likely due to a bug, or the signer got slashed. Terminating." + ); + let tip = 0 as Balance; + let era = sp_runtime::generic::Era::Immortal; + let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone(), nonce, tip, era)); + let bytes = sp_core::Bytes(extrinsic.encode().to_vec()); let outcome = rpc_decode::(&client, "system_dryRun", params!{ bytes }).await?; log::info!(target: LOG_TARGET, "dry-run outcome is {:?}", outcome); diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index a15b88bf7101..0aec08a49223 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -26,15 +26,13 @@ mod dry_run; mod monitor; mod prelude; +use jsonrpsee_ws_client::{WsClient, WsClientBuilder}; use prelude::*; -use sp_runtime::traits::{Saturating, Block as BlockT}; -use structopt::StructOpt; -use jsonrpsee_ws_client::{WsClientBuilder, WsClient}; -use remote_externalities::{Builder, OnlineConfig, Mode}; -use std::{ - path::{Path, PathBuf}, -}; +use remote_externalities::{Builder, Mode, OnlineConfig}; use sp_core::crypto::Pair as _; +use sp_runtime::traits::{Block as BlockT, Saturating}; +use std::path::{Path, PathBuf}; +use structopt::StructOpt; pub(crate) enum AnyRuntime { Polkadot, @@ -45,7 +43,7 @@ pub(crate) enum AnyRuntime { pub(crate) static mut RUNTIME: AnyRuntime = AnyRuntime::Polkadot; macro_rules! construct_runtime_prelude { - ($runtime:ident, $npos:ty, $signed_extra:expr) => { + ($runtime:ident, $npos:ty) => { paste::paste! { #[allow(unused_import)] pub(crate) mod [<$runtime _runtime_exports>] { @@ -62,6 +60,9 @@ macro_rules! construct_runtime_prelude { raw_solution: EPM::RawSolution>, witness: u32, signer: crate::Signer, + nonce: crate::prelude::Index, + tip: crate::prelude::Balance, + era: sp_runtime::generic::Era, ) -> UncheckedExtrinsic { use codec::Encode as _; use sp_core::Pair as _; @@ -70,10 +71,12 @@ macro_rules! construct_runtime_prelude { let crate::Signer { account, pair, .. } = signer; let local_call = EPMCall::::submit(raw_solution, witness); - // this one is a bit tricky.. for now I just "hope" it does not change. - let call = Call::ElectionProviderMultiPhase(local_call); + let call: Call = as std::convert::TryInto>::try_into(local_call) + .expect("election provider pallet must exist in the runtime, thus \ + inner call can be converted, qed." + ); - let extra: SignedExtra = $signed_extra; + let extra: SignedExtra = crate::[](nonce, tip, era); let raw_payload = SignedPayload::new(call, extra).expect("creating signed payload infallible; qed."); let signature = raw_payload.using_encoded(|payload| { pair.clone().sign(payload) @@ -90,46 +93,61 @@ macro_rules! construct_runtime_prelude { }; } -construct_runtime_prelude!( - polkadot, - NposCompactSolution16, +fn signed_ext_builder_polkadot( + nonce: Index, + tip: Balance, + era: sp_runtime::generic::Era, +) -> polkadot_runtime_exports::SignedExtra { + use polkadot_runtime_exports::Runtime; ( frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), frame_system::CheckGenesis::::new(), - frame_system::CheckMortality::::from(sp_runtime::generic::Era::Immortal), - frame_system::CheckNonce::::from(0), + frame_system::CheckMortality::::from(era), + frame_system::CheckNonce::::from(nonce), frame_system::CheckWeight::::new(), - pallet_transaction_payment::ChargeTransactionPayment::::from(0), + pallet_transaction_payment::ChargeTransactionPayment::::from(tip), runtime_common::claims::PrevalidateAttests::::new(), ) -); -construct_runtime_prelude!( - kusama, - NposCompactSolution24, +} + +fn signed_ext_builder_kusama( + nonce: Index, + tip: Balance, + era: sp_runtime::generic::Era, +) -> kusama_runtime_exports::SignedExtra { + use kusama_runtime_exports::Runtime; ( frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), frame_system::CheckGenesis::::new(), - frame_system::CheckMortality::::from(sp_runtime::generic::Era::Immortal), - frame_system::CheckNonce::::from(0), + frame_system::CheckMortality::::from(era), + frame_system::CheckNonce::::from(nonce), frame_system::CheckWeight::::new(), - pallet_transaction_payment::ChargeTransactionPayment::::from(0), + pallet_transaction_payment::ChargeTransactionPayment::::from(tip), ) -); -construct_runtime_prelude!( - westend, - NposCompactSolution16, +} + +fn signed_ext_builder_westend( + nonce: Index, + tip: Balance, + era: sp_runtime::generic::Era, +) -> westend_runtime_exports::SignedExtra { + use westend_runtime_exports::Runtime; ( frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), frame_system::CheckGenesis::::new(), - frame_system::CheckMortality::::from(sp_runtime::generic::Era::Immortal), - frame_system::CheckNonce::::from(0), + frame_system::CheckMortality::::from(era), + frame_system::CheckNonce::::from(nonce), frame_system::CheckWeight::::new(), - pallet_transaction_payment::ChargeTransactionPayment::::from(0), + pallet_transaction_payment::ChargeTransactionPayment::::from(tip), ) -); +} + +construct_runtime_prelude!(polkadot, NposCompactSolution16); +construct_runtime_prelude!(kusama, NposCompactSolution24); +construct_runtime_prelude!(westend, NposCompactSolution16); #[macro_export] macro_rules! any_runtime { @@ -141,11 +159,11 @@ macro_rules! any_runtime { $($code)* }, $crate::AnyRuntime::Kusama => { - use $crate::polkadot_runtime_exports::*; + use $crate::kusama_runtime_exports::*; $($code)* }, $crate::AnyRuntime::Westend => { - use $crate::polkadot_runtime_exports::*; + use $crate::westend_runtime_exports::*; $($code)* } } @@ -154,6 +172,7 @@ macro_rules! any_runtime { } #[derive(codec::Encode, codec::Decode, Clone, Copy, Debug)] +#[allow(unused)] enum MinerProfile { /// seq-phragmen -> balancing(round) -> reduce WithBalancing(u32), @@ -165,6 +184,7 @@ enum MinerProfile { Terminate, } +#[allow(unused)] impl MinerProfile { /// Get the next miner profile to use, should this one fail. fn next(self) -> Self { @@ -179,7 +199,7 @@ impl MinerProfile { } MinerProfile::JustSeqPhragmen => MinerProfile::TrimmedVoters(Percent::from_percent(90)), MinerProfile::TrimmedVoters(percent) => { - if percent.is_zero() { + if !percent.is_zero() { MinerProfile::TrimmedVoters(percent.saturating_sub(Percent::from_percent(10))) } else { MinerProfile::Terminate @@ -190,15 +210,42 @@ impl MinerProfile { } } -#[derive(Debug, Clone)] +#[derive(Debug, thiserror::Error)] enum Error { - KeyFileNotFound, - KeyFileCorrupt, + Io(#[from] std::io::Error), + Jsonrpsee(#[from] jsonrpsee_ws_client::Error), + Codec(#[from] codec::Error), + Crypto(sp_core::crypto::SecretStringError), + RemoteExternalities(&'static str), + PalletMiner(EPM::unsigned::MinerError), + PalletElection(EPM::ElectionError), + AccountDoesNotExists, IncorrectPhase, AlreadySubmitted, - SnapshotUnavailable, - RpcError, - CodecError, +} + +impl From for Error { + fn from(e: sp_core::crypto::SecretStringError) -> Error { + Error::Crypto(e) + } +} + +impl From for Error { + fn from(e: EPM::unsigned::MinerError) -> Error { + Error::PalletMiner(e) + } +} + +impl From for Error { + fn from(e: EPM::ElectionError) -> Error { + Error::PalletElection(e) + } +} + +impl std::fmt::Display for Error { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + ::fmt(self, f) + } } /// Some information about the signer. Redundant at this point, but makes life easier. @@ -210,9 +257,6 @@ struct Signer { pair: Pair, /// The raw uri read from file. uri: String, - /// The current account nonce. - // TODO: this could be made generic or sth. - nonce: u32, } #[derive(Debug, Clone, StructOpt)] @@ -241,7 +285,6 @@ struct SharedConfig { } #[derive(Debug, Clone, StructOpt)] -#[structopt(name = "staking-miner")] struct Opt { /// The ws node to connect to. #[structopt(flatten)] @@ -278,32 +321,18 @@ mod rpc_helpers { method: &'a str, params: JsonRpcParams<'a>, ) -> Result { - client.request::(method, params).await.map_err(|err| { - log::error!( - target: LOG_TARGET, - "rpc error in {}: {:?}", - method, - err - ); - Error::RpcError - }) + client.request::(method, params).await.map_err(Into::into) } /// Make the rpc request, decode the outcome into `Dec`. Don't use for storage, it will fail for /// non-existent storage items. - pub(crate) async fn rpc_decode< - 'a, - Dec: codec::Decode, - >( + pub(crate) async fn rpc_decode<'a, Dec: codec::Decode>( client: &WsClient, method: &'a str, params: JsonRpcParams<'a>, ) -> Result { let bytes = rpc::(client, method, params).await?; - ::decode(&mut &*bytes.0).map_err(|err| { - log::error!(target: LOG_TARGET, "decode error in {:?} with data: {:?}", err, bytes); - Error::CodecError - }) + ::decode(&mut &*bytes.0).map_err(Into::into) } /// Get the storage item. @@ -313,50 +342,58 @@ mod rpc_helpers { ) -> Result, Error> { let maybe_bytes = rpc::>(client, "state_getStorage", params).await?; if let Some(bytes) = maybe_bytes { - let decoded = ::decode(&mut &*bytes.0).map_err(|err| { - log::error!(target: LOG_TARGET, "decode error in {:?} with data: {:?}", err, bytes); - Error::CodecError - })?; + let decoded = ::decode(&mut &*bytes.0)?; Ok(Some(decoded)) } else { Ok(None) } } - #[cfg(test)] - mod tests { - use super::*; - - #[test] - fn can_read_finalized_head() { - todo!() - } - - fn can_read_storage_value() { - todo!() - } - - fn can_read_storage_map() { - todo!() - } + use codec::{EncodeLike, FullCodec}; + use frame_support::storage::{StorageMap, StorageValue}; + #[allow(unused)] + pub(crate) async fn get_storage_value_frame_v2<'a, V: StorageValue, T: FullCodec, Hash>( + client: &WsClient, + maybe_at: Option, + ) -> Result, Error> + where + V::Query: codec::Decode, + Hash: serde::Serialize, + { + let key = >::hashed_key(); + get_storage::(&client, params! { key, maybe_at }).await + } - fn can_submit_dry_run() { - todo!() - } + #[allow(unused)] + pub(crate) async fn get_storage_map_frame_v2< + 'a, + Hash, + KeyArg: EncodeLike, + K: FullCodec, + T: FullCodec, + M: StorageMap, + >( + client: &WsClient, + key: KeyArg, + maybe_at: Option, + ) -> Result, Error> + where + M::Query: codec::Decode, + Hash: serde::Serialize, + { + let key = >::hashed_key_for(key); + get_storage::(&client, params! { key, maybe_at }).await } } -pub use rpc_helpers::*; - /// Build the `Ext` at `hash` with all the data of `ElectionProviderMultiPhase` and `Staking` /// stored. async fn create_election_ext( uri: String, at: B::Hash, with_staking: bool, -) -> Ext { - use frame_support::storage::generator::StorageMap; - use frame_support::traits::PalletInfo; +) -> Result { + use frame_support::{storage::generator::StorageMap, traits::PalletInfo}; let system_block_hash_key = >::prefix_hash(); Builder::::new() @@ -365,33 +402,62 @@ async fn create_election_ext( at: Some(at), modules: if with_staking { vec![ - ::PalletInfo::name::>().expect("Pallet always has name; qed.").to_string(), + ::PalletInfo::name::>() + .expect("Pallet always has name; qed.") + .to_string(), // NOTE: change when staking moves to frame v2. "Staking".to_owned(), ] } else { - vec![ - ::PalletInfo::name::>().expect("Pallet always has name; qed.").to_string(), - ] + vec![::PalletInfo::name::>() + .expect("Pallet always has name; qed.") + .to_string()] }, ..Default::default() })) .raw_prefix(&system_block_hash_key) .build() .await - .unwrap() + .map_err(|why| Error::RemoteExternalities(why)) } /// Compute the election at the given block number. It expects to NOT be `Phase::Off`. In other /// words, the snapshot must exists on the given externalities. -fn mine_unchecked(ext: &mut Ext) -> (EPM::RawSolution>, u32) { +fn mine_unchecked( + ext: &mut Ext, +) -> Result<(EPM::RawSolution>, u32), Error> { ext.execute_with(|| { - let (solution, _) = >::mine_solution(10).unwrap(); + let (solution, _) = >::mine_solution(10)?; let witness = >::decode_len().unwrap_or_default(); - (solution, witness as u32) + Ok((solution, witness as u32)) }) } +fn mine_checked( + ext: &mut Ext, +) -> Result<(EPM::RawSolution>, u32), Error> { + ext.execute_with(|| { + let (solution, _) = >::mine_and_check(10)?; + let witness = >::decode_len().unwrap_or_default(); + Ok((solution, witness as u32)) + }) +} + +pub(crate) async fn get_account_info( + client: &WsClient, + who: &T::AccountId, + maybe_at: Option, +) -> Result>, Error> { + rpc_helpers::get_storage::>( + client, + params! { + sp_core::storage::StorageKey(>::hashed_key_for(&who)), + maybe_at + }, + ) + .await +} + /// Read the signer account's uri from the given `path`. async fn read_signer_uri< P: AsRef, @@ -400,25 +466,17 @@ async fn read_signer_uri< path: P, client: &WsClient, ) -> Result { - let mut uri = std::fs::read_to_string(path).map_err(|_| Error::KeyFileNotFound)?; + let uri = std::fs::read_to_string(path)?; // trim any trailing garbage. - let len = uri.trim_end_matches(&['\r', '\n'][..]).len(); - uri.truncate(len); + let uri = uri.trim_end(); - let pair = Pair::from_string(&uri, None).map_err(|e| { - log::error!(target: LOG_TARGET, "failed to prase key file: {:?}", e); - Error::KeyFileCorrupt - })?; + let pair = Pair::from_string(&uri, None)?; let account = T::AccountId::from(pair.public()); - - let info = crate::get_storage::>( - client, - params! {sp_core::storage::StorageKey(>::hashed_key_for(&account))}, - ) - .await?.expect("provided account does not exist."); - log::info!(target: LOG_TARGET, "loaded account {:?}, info: {:?}", &account, info); - Ok(Signer { account, pair, uri, nonce: info.nonce }) + let _info = + get_account_info::(&client, &account, None).await?.ok_or(Error::AccountDoesNotExists)?; + log::info!(target: LOG_TARGET, "loaded account {:?}, info: {:?}", &account, _info); + Ok(Signer { account, pair, uri: uri.to_string() }) } #[tokio::main] @@ -433,7 +491,7 @@ async fn main() { .await .unwrap(); - let chain = rpc::(&client, "system_chain", params! {}) + let chain = rpc_helpers::rpc::(&client, "system_chain", params! {}) .await .expect("system_chain infallible; qed."); match chain.to_lowercase().as_str() { @@ -466,7 +524,9 @@ async fn main() { log::info!(target: LOG_TARGET, "connected to chain {:?}", chain); let outcome = any_runtime! { - let signer = read_signer_uri::<_, Runtime>(&shared.account_seed, &client).await.unwrap(); + let signer = read_signer_uri::<_, Runtime>(&shared.account_seed, &client) + .await + .expect("Provided account is invalid, terminating."); match command { Command::Monitor(c) => monitor_cmd(client, shared, c, signer).await, // --------------------^^ comes from the macro prelude, needs no generic. diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 94855b95eea8..03736006f3de 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -16,11 +16,10 @@ //! The monitor command. -use crate::{prelude::*, rpc_helpers::*, params, Signer, SharedConfig, MonitorConfig, Error}; +use crate::{params, prelude::*, rpc_helpers::*, Error, MonitorConfig, SharedConfig, Signer}; +use codec::Encode; use jsonrpsee_ws_client::{ - traits::{SubscriptionClient}, - v2::params::JsonRpcParams, - Subscription, WsClient, + traits::SubscriptionClient, v2::params::JsonRpcParams, Subscription, WsClient, }; /// Ensure that now is the singed phase. @@ -29,7 +28,9 @@ async fn ensure_signed_phase( at: B::Hash, ) -> Result<(), Error> { let key = sp_core::storage::StorageKey(EPM::CurrentPhase::::hashed_key().to_vec()); - let phase = get_storage::>(client, params! {key, at}).await?.unwrap_or_default(); + let phase = get_storage::>(client, params! {key, at}) + .await? + .unwrap_or_default(); if phase.is_signed() { Ok(()) @@ -44,17 +45,19 @@ async fn ensure_no_previous_solution( at: B::Hash, us: &AccountId, ) -> Result<(), Error> { - use EPM::{SignedSubmissions, signed::SignedSubmission}; - let key = sp_core::storage::StorageKey(SignedSubmissions::::hashed_key().to_vec()); - let queue = crate::any_runtime! { - get_storage::>>(client, params!{ key, at }).await - }?.unwrap_or_default(); - - // if we have a solution in the queue, then don't do anything. - if queue.iter().any(|ss| &ss.who == us) { - Err(Error::AlreadySubmitted) - } else { - Ok(()) + crate::any_runtime! { + use EPM::{SignedSubmissions, signed::SignedSubmission}; + let key = sp_core::storage::StorageKey(SignedSubmissions::::hashed_key().to_vec()); + let queue = + get_storage::>>(client, params!{ key, at }).await + ?.unwrap_or_default(); + + // if we have a solution in the queue, then don't do anything. + if queue.iter().any(|ss| &ss.who == us) { + Err(Error::AlreadySubmitted) + } else { + Ok(()) + } } } @@ -64,23 +67,22 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { client: WsClient, shared: SharedConfig, config: MonitorConfig, - signer: Signer, // TODO: Signer could also go into a shared config, perhaps. + signer: Signer, ) -> Result<(), Error> { use $crate::[<$runtime _runtime_exports>]::*; - let subscription_method = if config.listen == "head" { - "chain_subscribeNewHeads" + let (sub, unsub) = if config.listen == "head" { + ("chain_subscribeNewHeads", "chain_unsubscribeNewHeads") } else { - "chain_subscribeFinalizedHeads" + ("chain_subscribeFinalizedHeads", "chain_unsubscribeFinalizedHeads") }; - log::info!(target: LOG_TARGET, "subscribing to {:?}", subscription_method); + log::info!(target: LOG_TARGET, "subscribing to {:?} / {:?}", sub, unsub); let mut subscription: Subscription
= client - .subscribe(&subscription_method, JsonRpcParams::NoParams, "unsubscribe") + .subscribe(&sub, JsonRpcParams::NoParams, &unsub) .await .unwrap(); - loop { - let now = subscription.next().await.unwrap(); + while let Some(now) = subscription.next().await { let hash = now.hash(); log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number, hash); @@ -95,13 +97,65 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { continue; } + // NOTE: we don't check the score of any of the submitted solutions. If we submit a weak + // one, as long as we are valid, we will end up getting our deposit back, so not a big + // deal for now. Note that to avoid an unfeasible solution, we should make sure that we + // only start the process on a finalized snapshot. If the signed phase is long enough, + // this will not be a solution. + // grab an externalities without staking, just the election snapshot. - let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, false).await; - let (raw_solution, witness) = crate::mine_unchecked::(&mut ext); + let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, false).await?; + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); - let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone())); + let nonce = crate::get_account_info::(&client, &signer.account, Some(hash)) + .await? + .map(|i| i.nonce) + .expect("signer account is checked to exist upon startup; it can only die if it \ + transfers funds out of it, or get slashed. If it does not exist at this point, \ + it is likely due to a bug, or the signer got slashed. Terminating." + ); + let tip = 0 as Balance; + let era = sp_runtime::generic::Era::Immortal; + let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone(), nonce, tip, era)); + let bytes = sp_core::Bytes(extrinsic.encode()); + + use sp_transaction_pool::TransactionStatus; + let mut tx_subscription: Subscription< + TransactionStatus<::Hash, ::Hash> + > = client + .subscribe(&"author_submitAndWatchExtrinsic", params! { bytes }, "author_unwatchExtrinsic") + .await + .unwrap(); + + let _success = while let Some(status_update) = tx_subscription.next().await { + log::trace!(target: LOG_TARGET, "status update {:?}", status_update); + match status_update { + TransactionStatus::Ready | TransactionStatus::Broadcast(_) | TransactionStatus::Future => continue, + TransactionStatus::InBlock(hash) => { + log::info!(target: LOG_TARGET, "included at {:?}", hash); + let key = sp_core::storage::StorageKey(frame_system::Events::::hashed_key().to_vec()); + let events =get_storage::< + Vec::Hash>> + >(&client, params!{ key, hash }).await?.unwrap_or_default(); + log::info!(target: LOG_TARGET, "events at inclusion {:?}", events); + } + TransactionStatus::Retracted(hash) => { + log::info!(target: LOG_TARGET, "Retracted at {:?}", hash); + } + TransactionStatus::Finalized(hash) => { + log::info!(target: LOG_TARGET, "Finalized at {:?}", hash); + break + } + _ => { + log::warn!(target: LOG_TARGET, "Stopping listen due to other status {:?}", status_update); + break + } + } + }; } + + Ok(()) } }}} diff --git a/utils/staking-miner/src/prelude.rs b/utils/staking-miner/src/prelude.rs index 1cfd05bb32cb..2fedb7eb79de 100644 --- a/utils/staking-miner/src/prelude.rs +++ b/utils/staking-miner/src/prelude.rs @@ -26,8 +26,6 @@ pub type AccountId = core_primitives::AccountId; pub type BlockNumber = core_primitives::BlockNumber; /// The balance type. pub type Balance = core_primitives::Balance; -/// The signature type. -pub type Signature = core_primitives::Signature; /// The index of an account. pub type Index = core_primitives::AccountIndex; From a4aa73093e6e9479cdb9f7f5404637337dc27fe9 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 3 Jun 2021 10:54:33 +0200 Subject: [PATCH 08/31] removing my generic WIP for tidyness. --- utils/staking-miner/src/monitor.rs | 81 ------------------------------ 1 file changed, 81 deletions(-) diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 03736006f3de..ac26dfa12f8c 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -162,84 +162,3 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { monitor_cmd_for!(polkadot); monitor_cmd_for!(kusama); monitor_cmd_for!(westend); - -// This is my best WIP to make ^^ generic.. it won't work. -// macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { -// pub(crate) async fn monitor_cmd_generic( -// client: WsClient, -// shared: SharedConfig, -// config: MonitorConfig, -// signer: Signer, -// ) -> Result<(), Error> -// where -// B::Header: serde::de::DeserializeOwned, -// T: EPM::Config + frame_system::Config, -// B: BlockT, -// C: codec::Encode + sp_runtime::traits::Member + From>, -// X: sp_runtime::traits::SignedExtension, -// E: sp_runtime::traits::Extrinsic< -// Call = C, -// SignaturePayload = ( -// <::Lookup as sp_runtime::traits::StaticLookup>::Source, -// Signature, -// X, -// ) -// >, -// { -// let subscription_method = if config.listen == "heads" { -// "chain_subscribeNewHeads" -// } else { -// "chain_subscribeFinalizedHeads" -// }; - -// log::info!(target: LOG_TARGET, "subscribing to {:?}", subscription_method); -// let mut subscription: Subscription = client -// .subscribe(&subscription_method, JsonRpcParams::NoParams, "unsubscribe") -// .await -// .unwrap(); - -// loop { -// let now = subscription.next().await.unwrap(); -// let hash = now.hash(); -// log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number(), hash); - -// if ensure_signed_phase::(&client, hash).await.is_err() { -// log::debug!(target: LOG_TARGET, "phase closed, not interested in this block at all."); -// continue; -// }; - -// if ensure_no_previous_solution::(&client, hash, &signer.account).await.is_err() -// { -// log::debug!(target: LOG_TARGET, "We already have a solution in this phase, skipping."); -// continue; -// } - -// // mine a new solution, with the exact configuration of the on-chain stuff. No need to fetch -// // staking now, the snapshot must exist. -// if ensure_snapshot_exists::(&client, hash).await.is_err() { -// log::error!(target: LOG_TARGET, "Phase is signed, but snapshot is not there."); -// continue; -// } - -// // grab an externalities without staking, just the election snapshot. -// let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, false).await; -// let (raw_solution, witness) = crate::mine_unchecked::(&mut ext); -// log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); - -// let call = EPM::Call::::submit(raw_solution, witness); -// let outer_call: C = call.into(); - -// // ------------------ -// let crate::Signer { account, pair, .. } = signer.clone(); -// let nonce = 0; // TODO -// let tip = 0; -// let extra = crate::any_runtime! { get_signed_extra::() }; -// let raw_payload = sp_runtime::generic::SignedPayload::new(outer_call.clone(), -// extra.clone()).unwrap(); let signature = raw_payload.using_encoded(|payload| { -// pair.clone().sign(payload) -// }); -// let address = ::Lookup::unlookup(account.clone()); -// let extrinsic = E::new(outer_call, Some((address, signature.into(), extra))).unwrap(); -// } -// } -// }}} From 72db361b20f063e16a651334304c8cd260d484bc Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 3 Jun 2021 15:04:21 +0200 Subject: [PATCH 09/31] add --at --- utils/staking-miner/src/dry_run.rs | 8 ++-- utils/staking-miner/src/main.rs | 66 +++++++++++++++++++++++++++--- utils/staking-miner/src/monitor.rs | 2 +- utils/staking-miner/src/prelude.rs | 2 + 4 files changed, 67 insertions(+), 11 deletions(-) diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index 830984704088..48173aab5d48 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -16,7 +16,7 @@ //! The dry-run command. -use crate::{prelude::*, Signer, SharedConfig, WsClient, Error, rpc_helpers::*, params}; +use crate::{prelude::*, Signer, SharedConfig, DryRunConfig, WsClient, Error, rpc_helpers::*, params}; use codec::Encode; /// Forcefully create the snapshot. This can be used to compute the election at anytime. @@ -37,16 +37,16 @@ macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { pub(crate) async fn []( client: WsClient, shared: SharedConfig, + config: DryRunConfig, signer: Signer, ) -> Result<(), Error> { use $crate::[<$runtime _runtime_exports>]::*; - let hash = rpc::<::Hash>(&client, "chain_getFinalizedHead", params!{}).await.expect("chain_getFinalizedHead infallible; qed."); - let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, true).await?; + let mut ext = crate::create_election_ext::(shared.uri.clone(), config.at, true).await?; force_create_snapshot::(&mut ext)?; let (raw_solution, witness) = crate::mine_unchecked::(&mut ext)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); - let nonce = crate::get_account_info::(&client, &signer.account, Some(hash)) + let nonce = crate::get_account_info::(&client, &signer.account, config.at) .await? .map(|i| i.nonce) .expect("signer account is checked to exist upon startup; it can only die if it \ diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 0aec08a49223..f09fdc029e78 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -264,15 +264,26 @@ enum Command { /// Monitor for the phase being signed, then compute. Monitor(MonitorConfig), /// Just compute a solution now, and don't submit it. - DryRun, + DryRun(DryRunConfig), } #[derive(Debug, Clone, StructOpt)] struct MonitorConfig { + /// They type of event to listen to. + /// + /// Typically, finalized is safer and there is no chance of anything going wrong, but it can be + /// slower. It is recommended if the duration of the signed phase is longer than the a #[structopt(long, default_value = "head", possible_values = &["head", "finalized"])] listen: String, } +#[derive(Debug, Clone, StructOpt)] +struct DryRunConfig { + /// The block hash at which scraping happens. If none is provided, the latest head is used. + #[structopt(long)] + at: Option, +} + #[derive(Debug, Clone, StructOpt)] struct SharedConfig { /// The ws node to connect to. @@ -390,7 +401,7 @@ mod rpc_helpers { /// stored. async fn create_election_ext( uri: String, - at: B::Hash, + at: Option, with_staking: bool, ) -> Result { use frame_support::{storage::generator::StorageMap, traits::PalletInfo}; @@ -399,7 +410,7 @@ async fn create_election_ext( Builder::::new() .mode(Mode::Online(OnlineConfig { transport: uri.into(), - at: Some(at), + at, modules: if with_staking { vec![ ::PalletInfo::name::>() @@ -411,7 +422,8 @@ async fn create_election_ext( } else { vec![::PalletInfo::name::>() .expect("Pallet always has name; qed.") - .to_string()] + .to_string() + ] }, ..Default::default() })) @@ -443,6 +455,47 @@ fn mine_checked( }) } +fn mine_dpos( + ext: &mut Ext, +) -> Result<(EPM::RawSolution>, u32), Error> { + ext.execute_with(|| { + use EPM::RoundSnapshot; + use std::collections::BTreeMap; + let RoundSnapshot { voters, targets } = EPM::Snapshot::::get().unwrap(); + let desired_targets = EPM::DesiredTargets::::get().unwrap(); + let mut candidates_and_backing = BTreeMap::::new(); + voters.into_iter().for_each(|(who, stake, targets)| { + if targets.len() == 0 { + println!("target = {:?}", (who, stake, targets)); + return; + } + let share: u128 = (stake as u128) / (targets.len() as u128); + for target in targets { + *candidates_and_backing.entry(target.clone()).or_default() += share + } + }); + + let mut candidates_and_backing = + candidates_and_backing.into_iter().collect::>(); + candidates_and_backing.sort_by_key(|(_, total_stake)| *total_stake); + let winners = candidates_and_backing + .into_iter() + .rev() + .take(desired_targets as usize) + .collect::>(); + let score = { + let min_staker = *winners.last().map(|(_, stake)| stake).unwrap(); + let sum_stake = winners.iter().fold(0u128, |acc, (_, stake)| acc + stake); + let sum_squared = winners.iter().fold(0u128, |acc, (_, stake)| acc + stake); + [min_staker, sum_stake, sum_squared] + }; + + println!("mined a dpos-like solution with score = {:?}", score); + + todo!(); + }) +} + pub(crate) async fn get_account_info( client: &WsClient, who: &T::AccountId, @@ -487,6 +540,7 @@ async fn main() { let client = WsClientBuilder::default() .connection_timeout(std::time::Duration::new(20, 0)) + .max_request_body_size(u32::MAX) .build(&shared.uri) .await .unwrap(); @@ -530,7 +584,7 @@ async fn main() { match command { Command::Monitor(c) => monitor_cmd(client, shared, c, signer).await, // --------------------^^ comes from the macro prelude, needs no generic. - Command::DryRun => dry_run_cmd(client, shared, signer).await, + Command::DryRun(c) => dry_run_cmd(client, shared, c, signer).await, // ----------------^^ likewise. } }; @@ -570,7 +624,7 @@ mod tests { let client = WsClientBuilder::default().build(TEST_URI).await.unwrap(); let hash = rpc!(client,).unwrap(); - let mut ext = create_election_ext(TEST_URI.to_owned(), hash, true).await; + let mut ext = create_election_ext(TEST_URI.to_owned(), Some(hash), true).await; force_create_snapshot(&mut ext); mine_unchecked(&mut ext); } diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index ac26dfa12f8c..1f9fd8bd6f0c 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -104,7 +104,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { // this will not be a solution. // grab an externalities without staking, just the election snapshot. - let mut ext = crate::create_election_ext::(shared.uri.clone(), hash, false).await?; + let mut ext = crate::create_election_ext::(shared.uri.clone(), Some(hash), false).await?; let (raw_solution, witness) = crate::mine_unchecked::(&mut ext)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); diff --git a/utils/staking-miner/src/prelude.rs b/utils/staking-miner/src/prelude.rs index 2fedb7eb79de..7989c2e3c66b 100644 --- a/utils/staking-miner/src/prelude.rs +++ b/utils/staking-miner/src/prelude.rs @@ -28,6 +28,8 @@ pub type BlockNumber = core_primitives::BlockNumber; pub type Balance = core_primitives::Balance; /// The index of an account. pub type Index = core_primitives::AccountIndex; +/// The hash type. We re-export it here, but we can easily get it from block as well. +pub type Hash = core_primitives::Hash; pub use sp_runtime::traits::{Block as BlockT, Header as HeaderT}; From dc1a623f4cedba329f296d3df27675a1f1f016db Mon Sep 17 00:00:00 2001 From: kianenigma Date: Sun, 13 Jun 2021 07:56:38 +0200 Subject: [PATCH 10/31] ass measure snapshot --- utils/staking-miner/src/dry_run.rs | 12 ++++++++++-- utils/staking-miner/src/main.rs | 7 +++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index 48173aab5d48..7aa0b3742648 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -24,11 +24,18 @@ fn force_create_snapshot(ext: &mut Ext) -> Result<(), Error> { ext.execute_with(|| { if >::exists() { log::info!(target: LOG_TARGET, "snapshot already exists."); + Ok(()) } else { log::info!(target: LOG_TARGET, "creating a fake snapshot now."); + >::create_snapshot().map(|_| ()).map_err(Into::into) } - let _ = >::create_snapshot()?; - Ok(()) + }) +} + +fn measure_snapshot_size(ext: &mut Ext) { + ext.execute_with(|| { + log::info!(target: LOG_TARGET, "Metadata: {:?}", >::snapshot_metadata()); + log::info!(target: LOG_TARGET, "Encoded Length: {:?}", >::snapshot().encode().len()); }) } @@ -43,6 +50,7 @@ macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { use $crate::[<$runtime _runtime_exports>]::*; let mut ext = crate::create_election_ext::(shared.uri.clone(), config.at, true).await?; force_create_snapshot::(&mut ext)?; + measure_snapshot_size::(&mut ext); let (raw_solution, witness) = crate::mine_unchecked::(&mut ext)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index f09fdc029e78..fd476e9a705c 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -84,7 +84,10 @@ macro_rules! construct_runtime_prelude { let (call, extra, _) = raw_payload.deconstruct(); let address = ::Lookup::unlookup(account.clone()); let extrinsic = UncheckedExtrinsic::new_signed(call, address, signature.into(), extra); - log::debug!(target: crate::LOG_TARGET, "constructed extrinsic {:?}", extrinsic); + log::debug!( + target: crate::LOG_TARGET, "constructed extrinsic {}", + sp_core::hexdisplay::HexDisplay::from(&extrinsic.encode()) + ); extrinsic } } @@ -461,7 +464,7 @@ fn mine_dpos( ext.execute_with(|| { use EPM::RoundSnapshot; use std::collections::BTreeMap; - let RoundSnapshot { voters, targets } = EPM::Snapshot::::get().unwrap(); + let RoundSnapshot { voters, .. } = EPM::Snapshot::::get().unwrap(); let desired_targets = EPM::DesiredTargets::::get().unwrap(); let mut candidates_and_backing = BTreeMap::::new(); voters.into_iter().for_each(|(who, stake, targets)| { From 5fa5a3f4795111b136e256251a89878426275bf5 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 17 Jun 2021 16:37:19 +0200 Subject: [PATCH 11/31] some new little debugging thigs --- utils/staking-miner/src/dry_run.rs | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index 7aa0b3742648..9f3ca2257113 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -35,7 +35,24 @@ fn force_create_snapshot(ext: &mut Ext) -> Result<(), Error> { fn measure_snapshot_size(ext: &mut Ext) { ext.execute_with(|| { log::info!(target: LOG_TARGET, "Metadata: {:?}", >::snapshot_metadata()); - log::info!(target: LOG_TARGET, "Encoded Length: {:?}", >::snapshot().encode().len()); + log::info!( + target: LOG_TARGET, + "Encoded Length: {:?}", + >::snapshot() + .expect("snapshot must exist before calling `measure_snapshot_size`") + .encode() + .len() + ); + }) +} + +fn find_threshold(ext: &mut Ext, count: usize) { + ext.execute_with(|| { + let mut voters = >::snapshot() + .expect("snapshot must exist before calling `measure_snapshot_size`") + .voters; + voters.sort_by_key(|v| v.1); + dbg!(voters.into_iter().rev().take(count).last()); }) } @@ -51,6 +68,7 @@ macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { let mut ext = crate::create_election_ext::(shared.uri.clone(), config.at, true).await?; force_create_snapshot::(&mut ext)?; measure_snapshot_size::(&mut ext); + find_threshold::(&mut ext, 20_000); let (raw_solution, witness) = crate::mine_unchecked::(&mut ext)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); From 138e8b9c5e2ad91b502e1cb2ea2ced0e65ac6792 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Fri, 25 Jun 2021 13:19:14 +0200 Subject: [PATCH 12/31] pre-merge --- Cargo.lock | 1031 ++++++++++++++++++++-------- node/service/src/chain_spec.rs | 1 - runtime/polkadot/src/constants.rs | 2 +- runtime/polkadot/src/lib.rs | 6 +- utils/staking-miner/Cargo.toml | 4 +- utils/staking-miner/src/dry_run.rs | 2 +- utils/staking-miner/src/main.rs | 23 +- utils/staking-miner/src/monitor.rs | 2 +- 8 files changed, 758 insertions(+), 313 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5504edfe206b..ab6f38028b90 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -370,19 +370,6 @@ version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0" -[[package]] -name = "async-tls" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f23d769dbf1838d5df5156e7b1ad404f4c463d1ac2c6aeb6cd943630f8a8400" -dependencies = [ - "futures-core", - "futures-io", - "rustls 0.19.1", - "webpki 0.21.4", - "webpki-roots", -] - [[package]] name = "async-trait" version = "0.1.50" @@ -496,6 +483,9 @@ name = "beef" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6736e2428df2ca2848d846c43e88745121a6654696e349ce0054a420815a7409" +dependencies = [ + "serde", +] [[package]] name = "beefy-gadget" @@ -1129,7 +1119,17 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171" dependencies = [ - "core-foundation-sys", + "core-foundation-sys 0.7.0", + "libc", +] + +[[package]] +name = "core-foundation" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62" +dependencies = [ + "core-foundation-sys 0.8.2", "libc", ] @@ -1139,6 +1139,12 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac" +[[package]] +name = "core-foundation-sys" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b" + [[package]] name = "cpp_demangle" version = "0.3.2" @@ -1170,7 +1176,16 @@ version = "0.71.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bcee7a5107071484772b89fdf37f0f460b7db75f476e43ea7a684fd942470bcf" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.71.0", +] + +[[package]] +name = "cranelift-bforest" +version = "0.74.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ca3560686e7c9c7ed7e0fe77469f2410ba5d7781b1acaa9adc8d8deea28e3e" +dependencies = [ + "cranelift-entity 0.74.0", ] [[package]] @@ -1180,27 +1195,55 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "654ab96f0f1cab71c0d323618a58360a492da2c341eb2c1f977fc195c664001b" dependencies = [ "byteorder", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-entity", + "cranelift-bforest 0.71.0", + "cranelift-codegen-meta 0.71.0", + "cranelift-codegen-shared 0.71.0", + "cranelift-entity 0.71.0", "gimli 0.23.0", "log", "regalloc", "serde", "smallvec 1.6.1", - "target-lexicon", + "target-lexicon 0.11.2", "thiserror", ] +[[package]] +name = "cranelift-codegen" +version = "0.74.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf9bf1ffffb6ce3d2e5ebc83549bd2436426c99b31cc550d521364cbe35d276" +dependencies = [ + "cranelift-bforest 0.74.0", + "cranelift-codegen-meta 0.74.0", + "cranelift-codegen-shared 0.74.0", + "cranelift-entity 0.74.0", + "gimli 0.24.0", + "log", + "regalloc", + "serde", + "smallvec 1.6.1", + "target-lexicon 0.12.0", +] + [[package]] name = "cranelift-codegen-meta" version = "0.71.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65994cfc5be9d5fd10c5fc30bcdddfa50c04bb79c91329287bff846434ff8f14" dependencies = [ - "cranelift-codegen-shared", - "cranelift-entity", + "cranelift-codegen-shared 0.71.0", + "cranelift-entity 0.71.0", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.74.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cc21936a5a6d07e23849ffe83e5c1f6f50305c074f4b2970ca50c13bf55b821" +dependencies = [ + "cranelift-codegen-shared 0.74.0", + "cranelift-entity 0.74.0", ] [[package]] @@ -1212,6 +1255,15 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-codegen-shared" +version = "0.74.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca5b6ffaa87560bebe69a5446449da18090b126037920b0c1c6d5945f72faf6b" +dependencies = [ + "serde", +] + [[package]] name = "cranelift-entity" version = "0.71.0" @@ -1221,16 +1273,37 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.74.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d6b4a8bef04f82e4296782646f733c641d09497df2fabf791323fefaa44c64c" +dependencies = [ + "serde", +] + [[package]] name = "cranelift-frontend" version = "0.71.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6f41e2f9b57d2c030e249d0958f1cdc2c3cd46accf8c0438b3d1944e9153444" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.71.0", "log", "smallvec 1.6.1", - "target-lexicon", + "target-lexicon 0.11.2", +] + +[[package]] +name = "cranelift-frontend" +version = "0.74.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b783b351f966fce33e3c03498cb116d16d97a8f9978164a60920bd0d3a99c" +dependencies = [ + "cranelift-codegen 0.74.0", + "log", + "smallvec 1.6.1", + "target-lexicon 0.12.0", ] [[package]] @@ -1239,8 +1312,18 @@ version = "0.71.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aab70ba7575665375d31cbdea2462916ce58be887834e1b83c860b43b51af637" dependencies = [ - "cranelift-codegen", - "target-lexicon", + "cranelift-codegen 0.71.0", + "target-lexicon 0.11.2", +] + +[[package]] +name = "cranelift-native" +version = "0.74.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a77c88d3dd48021ff1e37e978a00098524abd3513444ae252c08d37b310b3d2a" +dependencies = [ + "cranelift-codegen 0.74.0", + "target-lexicon 0.12.0", ] [[package]] @@ -1249,15 +1332,32 @@ version = "0.71.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2fc3d2e70da6439adf97648dcdf81834363154f2907405345b6fbe7ca38918c" dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", + "cranelift-codegen 0.71.0", + "cranelift-entity 0.71.0", + "cranelift-frontend 0.71.0", + "itertools 0.10.0", + "log", + "serde", + "smallvec 1.6.1", + "thiserror", + "wasmparser 0.76.0", +] + +[[package]] +name = "cranelift-wasm" +version = "0.74.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edb6d408e2da77cdbbd65466298d44c86ae71c1785d2ab0d8657753cdb4d9d89" +dependencies = [ + "cranelift-codegen 0.74.0", + "cranelift-entity 0.74.0", + "cranelift-frontend 0.74.0", "itertools 0.10.0", "log", "serde", "smallvec 1.6.1", "thiserror", - "wasmparser", + "wasmparser 0.78.2", ] [[package]] @@ -1888,9 +1988,9 @@ dependencies = [ [[package]] name = "finality-grandpa" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6447e2f8178843749e8c8003206def83ec124a7859475395777a28b5338647c" +checksum = "74a1bfdcc776e63e49f741c7ce6116fa1b887e8ac2e3ccb14dd4aa113e54feb9" dependencies = [ "either", "futures 0.3.15", @@ -1941,7 +2041,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", ] @@ -1959,7 +2059,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -1978,7 +2078,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "Inflector", "chrono", @@ -2001,7 +2101,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -2014,7 +2114,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2129,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "serde", @@ -2040,7 +2140,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "bitflags", "frame-metadata", @@ -2067,7 +2167,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2079,7 +2179,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2091,7 +2191,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro2", "quote", @@ -2101,7 +2201,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-metadata", "frame-support", @@ -2121,7 +2221,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2138,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -2152,7 +2252,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -2161,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "parity-scale-codec", @@ -2279,22 +2379,6 @@ dependencies = [ "num_cpus", ] -[[package]] -name = "futures-diagnose" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdcef58a173af8148b182684c9f2d5250875adbcaff7b5794073894f9d8634a9" -dependencies = [ - "futures 0.1.31", - "futures 0.3.15", - "lazy_static", - "log", - "parking_lot 0.9.0", - "pin-project 0.4.28", - "serde", - "serde_json", -] - [[package]] name = "futures-executor" version = "0.3.15" @@ -2349,7 +2433,7 @@ checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b" dependencies = [ "futures-io", "rustls 0.19.1", - "webpki 0.21.4", + "webpki", ] [[package]] @@ -2488,6 +2572,11 @@ name = "gimli" version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189" +dependencies = [ + "fallible-iterator", + "indexmap", + "stable_deref_trait", +] [[package]] name = "glob" @@ -2554,7 +2643,7 @@ dependencies = [ "indexmap", "slab", "tokio 0.2.25", - "tokio-util", + "tokio-util 0.3.1", "tracing", "tracing-futures", ] @@ -2719,6 +2808,17 @@ dependencies = [ "http 0.2.4", ] +[[package]] +name = "http-body" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9" +dependencies = [ + "bytes 1.0.1", + "http 0.2.4", + "pin-project-lite 0.2.6", +] + [[package]] name = "httparse" version = "1.4.1" @@ -2731,6 +2831,12 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" +[[package]] +name = "httpdate" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440" + [[package]] name = "humantime" version = "1.3.0" @@ -2790,7 +2896,7 @@ dependencies = [ "http 0.2.4", "http-body 0.3.1", "httparse", - "httpdate", + "httpdate 0.3.2", "itoa", "pin-project 1.0.7", "socket2 0.3.19", @@ -2800,6 +2906,28 @@ dependencies = [ "want 0.3.0", ] +[[package]] +name = "hyper" +version = "0.14.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07d6baa1b441335f3ce5098ac421fb6547c46dda735ca1bc6d0153c838f9dd83" +dependencies = [ + "bytes 1.0.1", + "futures-channel", + "futures-core", + "futures-util", + "http 0.2.4", + "http-body 0.4.2", + "httparse", + "httpdate 1.0.1", + "itoa", + "pin-project-lite 0.2.6", + "tokio 1.7.1", + "tower-service", + "tracing", + "want 0.3.0", +] + [[package]] name = "hyper-rustls" version = "0.21.0" @@ -2812,10 +2940,10 @@ dependencies = [ "hyper 0.13.10", "log", "rustls 0.18.1", - "rustls-native-certs", + "rustls-native-certs 0.4.0", "tokio 0.2.25", - "tokio-rustls", - "webpki 0.21.4", + "tokio-rustls 0.14.1", + "webpki", ] [[package]] @@ -3195,9 +3323,9 @@ checksum = "f4e48ecdd757b22fae87e87aad2dbadf11c56499c6509763c8ef20db16ffb0e9" [[package]] name = "jsonrpsee-proc-macros" -version = "0.2.0-alpha.6" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5784ee8bb31988fa2c7a755fe31b0e21aa51894a67e5c99b6d4470f0253bf31a" +checksum = "3b4c85cfa6767333f3e5f3b2f2f765dad2727b0033ee270ae07c599bf43ed5ae" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -3208,40 +3336,47 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.2.0-alpha.6" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab3dabceeeeb865897661d532d47202eaae71cd2c606f53cb69f1fbc0555a51" +checksum = "c0cf7bd4e93b3b56e59131de7f24afbea871faf914e97bcdd942c86927ab0172" dependencies = [ "async-trait", "beef", "futures-channel", "futures-util", + "hyper 0.14.9", "log", "serde", "serde_json", + "soketto 0.5.0", "thiserror", ] [[package]] name = "jsonrpsee-ws-client" -version = "0.2.0-alpha.6" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6fdb4390bd25358c62e8b778652a564a1723ba07dca0feb3da439c2253fe59f" +checksum = "6ec51150965544e1a4468f372bdab8545243a1b045d4ab272023aac74c60de32" dependencies = [ - "async-std", - "async-tls", "async-trait", "fnv", "futures 0.3.15", "jsonrpsee-types", "log", "pin-project 1.0.7", + "rustls 0.19.1", + "rustls-native-certs 0.5.0", "serde", "serde_json", - "soketto", + "soketto 0.5.0", "thiserror", + "tokio 0.2.25", + "tokio 1.7.1", + "tokio-rustls 0.15.0", + "tokio-rustls 0.22.0", + "tokio-util 0.3.1", + "tokio-util 0.6.7", "url 2.2.2", - "webpki 0.22.0", ] [[package]] @@ -3882,7 +4017,7 @@ dependencies = [ "log", "quicksink", "rw-stream-sink", - "soketto", + "soketto 0.4.2", "url 2.2.2", "webpki-roots", ] @@ -4067,7 +4202,7 @@ dependencies = [ [[package]] name = "max-encoded-len" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-trait-for-tuples", "max-encoded-len-derive", @@ -4078,7 +4213,7 @@ dependencies = [ [[package]] name = "max-encoded-len-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -4233,6 +4368,19 @@ dependencies = [ "winapi 0.2.8", ] +[[package]] +name = "mio" +version = "0.7.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16" +dependencies = [ + "libc", + "log", + "miow 0.3.7", + "ntapi", + "winapi 0.3.9", +] + [[package]] name = "mio-extras" version = "2.0.6" @@ -4241,7 +4389,7 @@ checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" dependencies = [ "lazycell", "log", - "mio", + "mio 0.6.23", "slab", ] @@ -4252,7 +4400,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" dependencies = [ "log", - "mio", + "mio 0.6.23", "miow 0.3.7", "winapi 0.3.9", ] @@ -4265,7 +4413,7 @@ checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0" dependencies = [ "iovec", "libc", - "mio", + "mio 0.6.23", ] [[package]] @@ -4446,6 +4594,15 @@ dependencies = [ "version_check", ] +[[package]] +name = "ntapi" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" +dependencies = [ + "winapi 0.3.9", +] + [[package]] name = "num-bigint" version = "0.2.6" @@ -4544,6 +4701,10 @@ name = "object" version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a5b3dd1c072ee7963717671d1ca129f1048fda25edea6b752bfc71ac8854170" +dependencies = [ + "crc32fast", + "indexmap", +] [[package]] name = "once_cell" @@ -4608,7 +4769,7 @@ checksum = "2386b4ebe91c2f7f51082d4cefa145d030e33a1842a96b12e4885cc3c01f7a55" [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -4623,7 +4784,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -4637,7 +4798,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4660,7 +4821,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4690,7 +4851,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4726,7 +4887,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4742,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4757,7 +4918,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4778,7 +4939,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4956,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4809,7 +4970,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4846,7 +5007,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4865,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4881,7 +5042,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4896,7 +5057,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4913,7 +5074,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -4929,7 +5090,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4947,7 +5108,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4962,7 +5123,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -4975,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -4991,7 +5152,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5013,7 +5174,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5190,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5042,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "enumflags2", "frame-support", @@ -5056,7 +5217,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5071,11 +5232,12 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", + "log", "pallet-timestamp", "parity-scale-codec", "sp-core", @@ -5090,7 +5252,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5106,7 +5268,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5119,7 +5281,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5143,7 +5305,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5154,7 +5316,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "sp-arithmetic", @@ -5163,7 +5325,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5176,7 +5338,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5194,7 +5356,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5209,7 +5371,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5225,7 +5387,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5242,7 +5404,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5253,7 +5415,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5269,7 +5431,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5284,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5311,9 +5473,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495197c078e54b8735181aa35c00a327f7f3a3cc00a1ee8c95926dd010f0ec6b" +checksum = "2e337f62db341435f0da05b8f6b97e984ef4ea5800510cd07c2d624688c40b47" dependencies = [ "blake2-rfc", "crc32fast", @@ -5449,7 +5611,7 @@ dependencies = [ "bytes 0.4.12", "httparse", "log", - "mio", + "mio 0.6.23", "mio-extras", "rand 0.7.3", "sha-1 0.8.2", @@ -6175,7 +6337,7 @@ dependencies = [ "test-parachain-adder", "test-parachain-halt", "tracing", - "wasmtime-jit", + "wasmtime-jit 0.24.0", ] [[package]] @@ -7493,7 +7655,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "env_logger 0.8.3", "hex", @@ -7501,6 +7663,7 @@ dependencies = [ "jsonrpsee-ws-client", "log", "parity-scale-codec", + "serde", "serde_json", "sp-core", "sp-io", @@ -7680,7 +7843,7 @@ dependencies = [ "log", "ring", "sct", - "webpki 0.21.4", + "webpki", ] [[package]] @@ -7693,7 +7856,7 @@ dependencies = [ "log", "ring", "sct", - "webpki 0.21.4", + "webpki", ] [[package]] @@ -7705,7 +7868,19 @@ dependencies = [ "openssl-probe", "rustls 0.18.1", "schannel", - "security-framework", + "security-framework 1.0.0", +] + +[[package]] +name = "rustls-native-certs" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" +dependencies = [ + "openssl-probe", + "rustls 0.19.1", + "schannel", + "security-framework 2.3.1", ] [[package]] @@ -7771,7 +7946,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -7800,7 +7975,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -7823,7 +7998,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7839,7 +8014,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7860,7 +8035,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -7871,7 +8046,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "chrono", "fdlimit", @@ -7909,7 +8084,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "fnv", @@ -7943,7 +8118,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "blake2-rfc", "hash-db", @@ -7973,8 +8148,9 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ + "async-trait", "parking_lot 0.11.1", "sc-client-api", "sp-blockchain", @@ -7985,7 +8161,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -8031,7 +8207,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -8055,7 +8231,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8068,7 +8244,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "futures 0.3.15", @@ -8096,7 +8272,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "sc-client-api", "sp-authorship", @@ -8107,7 +8283,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "lazy_static", @@ -8136,7 +8312,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "parity-scale-codec", @@ -8153,7 +8329,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "parity-scale-codec", @@ -8168,8 +8344,10 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ + "cfg-if 1.0.0", + "libc", "log", "parity-scale-codec", "parity-wasm 0.42.2", @@ -8185,7 +8363,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -8226,7 +8404,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "finality-grandpa", @@ -8250,7 +8428,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -8271,7 +8449,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "ansi_term 0.12.1", "futures 0.3.15", @@ -8289,7 +8467,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -8309,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "hash-db", "lazy_static", @@ -8328,7 +8506,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-std", "async-trait", @@ -8381,7 +8559,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8398,7 +8576,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "bytes 0.5.6", "fnv", @@ -8426,7 +8604,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "libp2p", @@ -8439,7 +8617,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8448,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "hash-db", @@ -8483,7 +8661,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -8508,7 +8686,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.1.31", "jsonrpc-core", @@ -8526,7 +8704,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "directories", @@ -8574,8 +8752,10 @@ dependencies = [ "sp-runtime", "sp-session", "sp-state-machine", + "sp-storage", "sp-tracing", "sp-transaction-pool", + "sp-transaction-storage-proof", "sp-trie", "sp-utils", "sp-version", @@ -8590,7 +8770,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "parity-scale-codec", @@ -8605,7 +8785,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8625,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "chrono", "futures 0.3.15", @@ -8645,7 +8825,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8682,7 +8862,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8693,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -8715,10 +8895,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", - "futures-diagnose", "intervalier", "log", "parity-scale-codec", @@ -8761,7 +8940,6 @@ dependencies = [ "merlin", "rand 0.7.3", "rand_core 0.5.1", - "serde", "sha2 0.8.2", "subtle 2.4.0", "zeroize", @@ -8825,10 +9003,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad502866817f0575705bd7be36e2b2535cc33262d493aa733a2ec862baa2bc2b" dependencies = [ "bitflags", - "core-foundation", - "core-foundation-sys", + "core-foundation 0.7.0", + "core-foundation-sys 0.7.0", + "libc", + "security-framework-sys 1.0.0", +] + +[[package]] +name = "security-framework" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23a2ac85147a3a11d77ecf1bc7166ec0b92febfa4461c37944e180f319ece467" +dependencies = [ + "bitflags", + "core-foundation 0.9.1", + "core-foundation-sys 0.8.2", "libc", - "security-framework-sys", + "security-framework-sys 2.3.0", ] [[package]] @@ -8837,7 +9028,17 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51ceb04988b17b6d1dcd555390fa822ca5637b4a14e1f5099f13d351bed4d6c7" dependencies = [ - "core-foundation-sys", + "core-foundation-sys 0.7.0", + "libc", +] + +[[package]] +name = "security-framework-sys" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e4effb91b4b8b6fb7732e670b6cee160278ff8e6bf485c7805d9e319d76e284" +dependencies = [ + "core-foundation-sys 0.8.2", "libc", ] @@ -9152,10 +9353,25 @@ dependencies = [ "sha-1 0.9.6", ] +[[package]] +name = "soketto" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4919971d141dbadaa0e82b5d369e2d7666c98e4625046140615ca363e50d4daa" +dependencies = [ + "base64 0.13.0", + "bytes 1.0.1", + "futures 0.3.15", + "httparse", + "log", + "rand 0.8.3", + "sha-1 0.9.6", +] + [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "sp-core", @@ -9167,7 +9383,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "hash-db", "log", @@ -9184,7 +9400,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9196,7 +9412,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "max-encoded-len", "parity-scale-codec", @@ -9209,7 +9425,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "integer-sqrt", "num-traits", @@ -9223,7 +9439,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -9235,7 +9451,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "parity-scale-codec", @@ -9247,7 +9463,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -9259,7 +9475,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "log", @@ -9277,7 +9493,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "serde", "serde_json", @@ -9286,7 +9502,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "futures 0.3.15", @@ -9313,7 +9529,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "merlin", @@ -9335,7 +9551,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9345,7 +9561,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9357,7 +9573,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "base58", "blake2-rfc", @@ -9402,7 +9618,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9411,7 +9627,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro2", "quote", @@ -9421,7 +9637,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "environmental", "parity-scale-codec", @@ -9432,7 +9648,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "finality-grandpa", "log", @@ -9449,7 +9665,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9463,7 +9679,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "hash-db", @@ -9488,7 +9704,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "lazy_static", "sp-core", @@ -9499,7 +9715,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -9516,7 +9732,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "ruzstd", "zstd", @@ -9525,7 +9741,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "serde", @@ -9538,7 +9754,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9549,7 +9765,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "sp-api", "sp-core", @@ -9559,7 +9775,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "backtrace", ] @@ -9567,7 +9783,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "rustc-hash", "serde", @@ -9578,7 +9794,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "either", "hash256-std-hasher", @@ -9600,7 +9816,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9617,7 +9833,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9629,7 +9845,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "serde", "serde_json", @@ -9638,7 +9854,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -9651,7 +9867,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9661,7 +9877,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "hash-db", "log", @@ -9684,12 +9900,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9702,7 +9918,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "sp-core", @@ -9715,7 +9931,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9732,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "erased-serde", "log", @@ -9750,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -9763,10 +9979,25 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sp-transaction-storage-proof" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +dependencies = [ + "async-trait", + "log", + "parity-scale-codec", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-trie", +] + [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "hash-db", "memory-db", @@ -9780,7 +10011,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "futures-core", @@ -9792,7 +10023,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9805,7 +10036,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -9817,7 +10048,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10014,7 +10245,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "chrono", "console_error_panic_hook", @@ -10040,7 +10271,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "platforms", ] @@ -10048,7 +10279,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.15", @@ -10071,7 +10302,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-std", "derive_more", @@ -10085,7 +10316,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "futures 0.1.31", @@ -10114,7 +10345,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "substrate-test-utils-derive", @@ -10124,7 +10355,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -10200,6 +10431,12 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "422045212ea98508ae3d28025bc5aaa2bd4a9cdaecd442a08da2ee620ee9ea95" +[[package]] +name = "target-lexicon" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64ae3b39281e4b14b8123bdbaddd472b7dfe215e444181f2f9d2443c2444f834" + [[package]] name = "tempfile" version = "3.2.0" @@ -10403,7 +10640,7 @@ checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ "bytes 0.4.12", "futures 0.1.31", - "mio", + "mio 0.6.23", "num_cpus", "tokio-codec", "tokio-current-thread", @@ -10432,7 +10669,7 @@ dependencies = [ "lazy_static", "libc", "memchr", - "mio", + "mio 0.6.23", "mio-uds", "num_cpus", "pin-project-lite 0.1.12", @@ -10442,6 +10679,20 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "tokio" +version = "1.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fb2ed024293bb19f7a5dc54fe83bf86532a44c12a2bb8ba40d64a4509395ca2" +dependencies = [ + "autocfg", + "libc", + "mio 0.7.13", + "num_cpus", + "pin-project-lite 0.2.6", + "winapi 0.3.9", +] + [[package]] name = "tokio-buf" version = "0.1.1" @@ -10525,7 +10776,7 @@ checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae" dependencies = [ "bytes 0.4.12", "futures 0.1.31", - "mio", + "mio 0.6.23", "mio-named-pipes", "tokio 0.1.22", ] @@ -10540,7 +10791,7 @@ dependencies = [ "futures 0.1.31", "lazy_static", "log", - "mio", + "mio 0.6.23", "num_cpus", "parking_lot 0.9.0", "slab", @@ -10558,7 +10809,30 @@ dependencies = [ "futures-core", "rustls 0.18.1", "tokio 0.2.25", - "webpki 0.21.4", + "webpki", +] + +[[package]] +name = "tokio-rustls" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03d15e5669243a45f630a5167d101b942174ca94b615445b2057eace1c818736" +dependencies = [ + "futures-core", + "rustls 0.19.1", + "tokio 0.2.25", + "webpki", +] + +[[package]] +name = "tokio-rustls" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" +dependencies = [ + "rustls 0.19.1", + "tokio 1.7.1", + "webpki", ] [[package]] @@ -10589,7 +10863,7 @@ dependencies = [ "bytes 0.4.12", "futures 0.1.31", "iovec", - "mio", + "mio 0.6.23", "tokio-io", "tokio-reactor", ] @@ -10632,7 +10906,7 @@ dependencies = [ "bytes 0.4.12", "futures 0.1.31", "log", - "mio", + "mio 0.6.23", "tokio-codec", "tokio-io", "tokio-reactor", @@ -10649,7 +10923,7 @@ dependencies = [ "iovec", "libc", "log", - "mio", + "mio 0.6.23", "mio-uds", "tokio-codec", "tokio-io", @@ -10664,12 +10938,28 @@ checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" dependencies = [ "bytes 0.5.6", "futures-core", + "futures-io", "futures-sink", "log", "pin-project-lite 0.1.12", "tokio 0.2.25", ] +[[package]] +name = "tokio-util" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592" +dependencies = [ + "bytes 1.0.1", + "futures-core", + "futures-io", + "futures-sink", + "log", + "pin-project-lite 0.2.6", + "tokio 1.7.1", +] + [[package]] name = "toml" version = "0.5.8" @@ -10861,20 +11151,24 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#feb6218004311f8feadefd9b2e2993876994312a" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-try-runtime", "log", "parity-scale-codec", "remote-externalities", + "sc-chain-spec", "sc-cli", "sc-client-api", "sc-executor", "sc-service", + "serde", "sp-api", "sp-blockchain", "sp-core", "sp-externalities", + "sp-io", + "sp-keystore", "sp-runtime", "sp-state-machine", "structopt", @@ -11260,11 +11554,17 @@ version = "0.76.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "755a9a4afe3f6cccbbe6d7e965eef44cf260b001f93e547eba84255c1d0187d8" +[[package]] +name = "wasmparser" +version = "0.78.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52144d4c78e5cf8b055ceab8e5fa22814ce4315d6002ad32cfd914f37c12fd65" + [[package]] name = "wasmtime" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718cb52a9fdb7ab12471e9b9d051c9adfa6b5c504e0a1fea045e5eabc81eedd9" +checksum = "b310b9d20fcf59385761d1ade7a3ef06aecc380e3d3172035b919eaf7465d9f7" dependencies = [ "anyhow", "backtrace", @@ -11272,30 +11572,32 @@ dependencies = [ "cfg-if 1.0.0", "cpp_demangle", "indexmap", + "lazy_static", "libc", "log", "paste", + "psm", "region", "rustc-demangle", "serde", "smallvec 1.6.1", - "target-lexicon", - "wasmparser", + "target-lexicon 0.12.0", + "wasmparser 0.78.2", "wasmtime-cache", - "wasmtime-environ", + "wasmtime-environ 0.27.0", "wasmtime-fiber", - "wasmtime-jit", - "wasmtime-profiling", - "wasmtime-runtime", + "wasmtime-jit 0.27.0", + "wasmtime-profiling 0.27.0", + "wasmtime-runtime 0.27.0", "wat", "winapi 0.3.9", ] [[package]] name = "wasmtime-cache" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f984df56c4adeba91540f9052db9f7a8b3b00cfaac1a023bee50a972f588b0c" +checksum = "d14d500d5c3dc5f5c097158feee123d64b3097f0d836a2a27dff9c761c73c843" dependencies = [ "anyhow", "base64 0.13.0", @@ -11318,12 +11620,27 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a05abbf94e03c2c8ee02254b1949320c4d45093de5d9d6ed4d9351d536075c9" dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "cranelift-wasm", - "wasmparser", - "wasmtime-environ", + "cranelift-codegen 0.71.0", + "cranelift-entity 0.71.0", + "cranelift-frontend 0.71.0", + "cranelift-wasm 0.71.0", + "wasmparser 0.76.0", + "wasmtime-environ 0.24.0", +] + +[[package]] +name = "wasmtime-cranelift" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c525b39f062eada7db3c1298287b96dcb6e472b9f6b22501300b28d9fa7582f6" +dependencies = [ + "cranelift-codegen 0.74.0", + "cranelift-entity 0.74.0", + "cranelift-frontend 0.74.0", + "cranelift-wasm 0.74.0", + "target-lexicon 0.12.0", + "wasmparser 0.78.2", + "wasmtime-environ 0.27.0", ] [[package]] @@ -11336,10 +11653,26 @@ dependencies = [ "gimli 0.23.0", "more-asserts", "object 0.23.0", - "target-lexicon", + "target-lexicon 0.11.2", "thiserror", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.76.0", + "wasmtime-environ 0.24.0", +] + +[[package]] +name = "wasmtime-debug" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5d2a763e7a6fc734218e0e463196762a4f409c483063d81e0e85f96343b2e0a" +dependencies = [ + "anyhow", + "gimli 0.24.0", + "more-asserts", + "object 0.24.0", + "target-lexicon 0.12.0", + "thiserror", + "wasmparser 0.78.2", + "wasmtime-environ 0.27.0", ] [[package]] @@ -11350,23 +11683,42 @@ checksum = "81011b2b833663d7e0ce34639459a0e301e000fc7331e0298b3a27c78d0cec60" dependencies = [ "anyhow", "cfg-if 1.0.0", - "cranelift-codegen", - "cranelift-entity", - "cranelift-wasm", + "cranelift-codegen 0.71.0", + "cranelift-entity 0.71.0", + "cranelift-wasm 0.71.0", "gimli 0.23.0", "indexmap", "log", "more-asserts", "serde", "thiserror", - "wasmparser", + "wasmparser 0.76.0", +] + +[[package]] +name = "wasmtime-environ" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f64d0c2d881c31b0d65c1f2695e022d71eb60b9fbdd336aacca28208b58eac90" +dependencies = [ + "cfg-if 1.0.0", + "cranelift-codegen 0.74.0", + "cranelift-entity 0.74.0", + "cranelift-wasm 0.74.0", + "gimli 0.24.0", + "indexmap", + "log", + "more-asserts", + "serde", + "thiserror", + "wasmparser 0.78.2", ] [[package]] name = "wasmtime-fiber" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d92da32e31af2e3d828f485f5f24651ed4d3b7f03a46ea6555eae6940d1402cd" +checksum = "a089d44cd7e2465d41a53b840a5b4fca1bf6d1ecfebc970eac9592b34ea5f0b3" dependencies = [ "cc", "libc", @@ -11382,27 +11734,59 @@ dependencies = [ "addr2line 0.14.1", "anyhow", "cfg-if 1.0.0", - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", + "cranelift-codegen 0.71.0", + "cranelift-entity 0.71.0", + "cranelift-frontend 0.71.0", + "cranelift-native 0.71.0", + "cranelift-wasm 0.71.0", "gimli 0.23.0", "log", "more-asserts", "object 0.23.0", + "region", + "serde", + "target-lexicon 0.11.2", + "thiserror", + "wasmparser 0.76.0", + "wasmtime-cranelift 0.24.0", + "wasmtime-debug 0.24.0", + "wasmtime-environ 0.24.0", + "wasmtime-obj 0.24.0", + "wasmtime-profiling 0.24.0", + "wasmtime-runtime 0.24.0", + "winapi 0.3.9", +] + +[[package]] +name = "wasmtime-jit" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d4539ea734422b7c868107e2187d7746d8affbcaa71916d72639f53757ad707" +dependencies = [ + "addr2line 0.15.1", + "anyhow", + "cfg-if 1.0.0", + "cranelift-codegen 0.74.0", + "cranelift-entity 0.74.0", + "cranelift-frontend 0.74.0", + "cranelift-native 0.74.0", + "cranelift-wasm 0.74.0", + "gimli 0.24.0", + "log", + "more-asserts", + "object 0.24.0", "rayon", "region", "serde", - "target-lexicon", + "target-lexicon 0.12.0", "thiserror", - "wasmparser", - "wasmtime-cranelift", - "wasmtime-debug", - "wasmtime-environ", - "wasmtime-obj", - "wasmtime-profiling", - "wasmtime-runtime", + "wasmparser 0.78.2", + "wasmtime-cranelift 0.27.0", + "wasmtime-debug 0.27.0", + "wasmtime-environ 0.27.0", + "wasmtime-obj 0.27.0", + "wasmtime-profiling 0.27.0", + "wasmtime-runtime 0.27.0", "winapi 0.3.9", ] @@ -11415,9 +11799,23 @@ dependencies = [ "anyhow", "more-asserts", "object 0.23.0", - "target-lexicon", - "wasmtime-debug", - "wasmtime-environ", + "target-lexicon 0.11.2", + "wasmtime-debug 0.24.0", + "wasmtime-environ 0.24.0", +] + +[[package]] +name = "wasmtime-obj" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1a8ff85246d091828e2225af521a6208ed28c997bb5c39eb697366dc2e2f2b" +dependencies = [ + "anyhow", + "more-asserts", + "object 0.24.0", + "target-lexicon 0.12.0", + "wasmtime-debug 0.27.0", + "wasmtime-environ 0.27.0", ] [[package]] @@ -11428,15 +11826,31 @@ checksum = "e46c0a590e49278ba7f79ef217af9db4ecc671b50042c185093e22d73524abb2" dependencies = [ "anyhow", "cfg-if 1.0.0", - "gimli 0.23.0", "lazy_static", "libc", - "object 0.23.0", + "serde", + "target-lexicon 0.11.2", + "wasmtime-environ 0.24.0", + "wasmtime-runtime 0.24.0", +] + +[[package]] +name = "wasmtime-profiling" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e24364d522dcd67c897c8fffc42e5bdfc57207bbb6d7eeade0da9d4a7d70105b" +dependencies = [ + "anyhow", + "cfg-if 1.0.0", + "gimli 0.24.0", + "lazy_static", + "libc", + "object 0.24.0", "scroll", "serde", - "target-lexicon", - "wasmtime-environ", - "wasmtime-runtime", + "target-lexicon 0.12.0", + "wasmtime-environ 0.27.0", + "wasmtime-runtime 0.27.0", ] [[package]] @@ -11457,7 +11871,32 @@ dependencies = [ "psm", "region", "thiserror", - "wasmtime-environ", + "wasmtime-environ 0.24.0", + "winapi 0.3.9", +] + +[[package]] +name = "wasmtime-runtime" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c51e57976e8a19a18a18e002c6eb12e5769554204238e47ff155fda1809ef0f7" +dependencies = [ + "anyhow", + "backtrace", + "cc", + "cfg-if 1.0.0", + "indexmap", + "lazy_static", + "libc", + "log", + "mach", + "memoffset 0.6.4", + "more-asserts", + "rand 0.8.3", + "region", + "thiserror", + "wasmtime-environ 0.27.0", + "wasmtime-fiber", "winapi 0.3.9", ] @@ -11499,23 +11938,13 @@ dependencies = [ "untrusted", ] -[[package]] -name = "webpki" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring", - "untrusted", -] - [[package]] name = "webpki-roots" version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940" dependencies = [ - "webpki 0.21.4", + "webpki", ] [[package]] diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 01de27e3736f..e4c91a5828a4 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -1126,7 +1126,6 @@ pub fn polkadot_testnet_genesis( endowed_accounts: Option>, ) -> polkadot::GenesisConfig { let endowed_accounts: Vec = endowed_accounts.unwrap_or_else(testnet_accounts); - dbg!(&endowed_accounts); const ENDOWMENT: u128 = 1_000_000 * DOT; const STASH: u128 = 100 * DOT; diff --git a/runtime/polkadot/src/constants.rs b/runtime/polkadot/src/constants.rs index 17458b60781b..b6339d4fec32 100644 --- a/runtime/polkadot/src/constants.rs +++ b/runtime/polkadot/src/constants.rs @@ -33,7 +33,7 @@ pub mod time { use primitives::v0::{Moment, BlockNumber}; pub const MILLISECS_PER_BLOCK: Moment = 6000; pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK; - pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 4 * MINUTES; + pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 4 * MINUTES; // TODO: revert // These time units are defined in number of blocks. pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index d28578ced465..2097e180aed8 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -331,9 +331,9 @@ parameter_types! { pub const SignedDepositBase: Balance = 1 * DOLLARS; pub const SignedDepositByte: Balance = 1 * CENTS; - // fallback: run election on-chain. + // fallback: Nothing, let emergency mode handle this. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = - pallet_election_provider_multi_phase::FallbackStrategy::OnChain; + pallet_election_provider_multi_phase::FallbackStrategy::Nothing; pub SolutionImprovementThreshold: Perbill = Perbill::from_rational(5u32, 10_000); // miner configs @@ -400,7 +400,7 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (24 hours). - pub const SessionsPerEra: SessionIndex = 1; + pub const SessionsPerEra: SessionIndex = 1; // TODO: revert // 28 eras for unbonding (28 days). pub const BondingDuration: pallet_staking::EraIndex = 28; pub const SlashDeferDuration: pallet_staking::EraIndex = 27; diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 4884e7ba9fad..46f4fea25b56 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -10,8 +10,8 @@ tokio = { version = "0.2", features = ["macros"] } log = "0.4.11" env_logger = "0.8.3" structopt = "0.3.0" -jsonrpsee-ws-client = { version = "=0.2.0-alpha.6" } -jsonrpsee-types = { version = "=0.2.0-alpha.6" } +jsonrpsee-ws-client = { version = "0.2.0" } +jsonrpsee-types = { version = "0.2.0" } jsonrpsee = "=0.2.0-alpha.6" serde_json = "1.0" serde = "1.0.0" diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index 9f3ca2257113..025eecec8671 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -69,7 +69,7 @@ macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { force_create_snapshot::(&mut ext)?; measure_snapshot_size::(&mut ext); find_threshold::(&mut ext, 20_000); - let (raw_solution, witness) = crate::mine_unchecked::(&mut ext)?; + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 100)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); let nonce = crate::get_account_info::(&client, &signer.account, config.at) diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index fd476e9a705c..5a7c95642869 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -23,6 +23,7 @@ // wasm executor. mod dry_run; +mod emergency_solution; mod monitor; mod prelude; @@ -52,6 +53,7 @@ macro_rules! construct_runtime_prelude { pub(crate) type NposCompactSolution = [<$runtime _runtime>]::$npos; pub(crate) use crate::monitor::[] as monitor_cmd; pub(crate) use crate::dry_run::[] as dry_run_cmd; + pub(crate) use crate::emergency_solution::[] as emergency_solution_cmd; pub(crate) use private::{[] as create_uxt}; mod private { @@ -96,6 +98,7 @@ macro_rules! construct_runtime_prelude { }; } +// TODO: we might be able to use some code from the bridges repo here. fn signed_ext_builder_polkadot( nonce: Index, tip: Balance, @@ -222,6 +225,7 @@ enum Error { RemoteExternalities(&'static str), PalletMiner(EPM::unsigned::MinerError), PalletElection(EPM::ElectionError), + PalletFeasibility(EPM::FeasibilityError), AccountDoesNotExists, IncorrectPhase, AlreadySubmitted, @@ -245,6 +249,12 @@ impl From for Error { } } +impl From for Error { + fn from(e: EPM::FeasibilityError) -> Error { + Error::PalletFeasibility(e) + } +} + impl std::fmt::Display for Error { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { ::fmt(self, f) @@ -268,6 +278,8 @@ enum Command { Monitor(MonitorConfig), /// Just compute a solution now, and don't submit it. DryRun(DryRunConfig), + /// Provide a solution that can be submitted to the chian as an emergency response. + EmergencySolution, } #[derive(Debug, Clone, StructOpt)] @@ -440,9 +452,10 @@ async fn create_election_ext( /// words, the snapshot must exists on the given externalities. fn mine_unchecked( ext: &mut Ext, + iterations: usize, ) -> Result<(EPM::RawSolution>, u32), Error> { ext.execute_with(|| { - let (solution, _) = >::mine_solution(10)?; + let (solution, _) = >::mine_solution(iterations)?; let witness = >::decode_len().unwrap_or_default(); Ok((solution, witness as u32)) }) @@ -450,14 +463,16 @@ fn mine_unchecked( fn mine_checked( ext: &mut Ext, + iterations: usize, ) -> Result<(EPM::RawSolution>, u32), Error> { ext.execute_with(|| { - let (solution, _) = >::mine_and_check(10)?; + let (solution, _) = >::mine_and_check(iterations)?; let witness = >::decode_len().unwrap_or_default(); Ok((solution, witness as u32)) }) } +#[allow(unused)] fn mine_dpos( ext: &mut Ext, ) -> Result<(EPM::RawSolution>, u32), Error> { @@ -588,7 +603,9 @@ async fn main() { Command::Monitor(c) => monitor_cmd(client, shared, c, signer).await, // --------------------^^ comes from the macro prelude, needs no generic. Command::DryRun(c) => dry_run_cmd(client, shared, c, signer).await, - // ----------------^^ likewise. + // ------------------^^ likewise. + Command::EmergencySolution => emergency_solution_cmd(client, shared).await, + // --------------------------^^ likewise. } }; diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 1f9fd8bd6f0c..156cab2ce7b7 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -105,7 +105,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { // grab an externalities without staking, just the election snapshot. let mut ext = crate::create_election_ext::(shared.uri.clone(), Some(hash), false).await?; - let (raw_solution, witness) = crate::mine_unchecked::(&mut ext)?; + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 50)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); let nonce = crate::get_account_info::(&client, &signer.account, Some(hash)) From 863ea3a7fd6e5c3540def04904092c6ad08682a4 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Mon, 28 Jun 2021 10:09:02 +0200 Subject: [PATCH 13/31] Master.into() --- Cargo.lock | 1068 ++++++++------------ node/client/Cargo.toml | 48 +- node/core/backing/Cargo.toml | 12 +- node/core/candidate-validation/Cargo.toml | 2 +- node/core/chain-api/Cargo.toml | 4 +- node/core/chain-selection/Cargo.toml | 2 +- node/core/dispute-coordinator/Cargo.toml | 8 +- node/core/dispute-participation/Cargo.toml | 2 +- node/core/runtime-api/Cargo.toml | 2 +- node/network/gossip-support/Cargo.toml | 14 +- node/overseer/Cargo.toml | 4 +- node/primitives/Cargo.toml | 14 +- node/service/Cargo.toml | 4 +- node/service/src/chain_spec.rs | 4 +- node/test/client/Cargo.toml | 2 +- runtime/common/Cargo.toml | 16 +- runtime/kusama/Cargo.toml | 76 +- runtime/parachains/Cargo.toml | 14 +- runtime/polkadot/Cargo.toml | 70 +- runtime/test-runtime/Cargo.toml | 42 +- runtime/westend/Cargo.toml | 72 +- runtime/westend/src/constants.rs | 2 +- runtime/westend/src/lib.rs | 2 +- utils/staking-miner/Cargo.toml | 2 +- utils/staking-miner/src/main.rs | 2 +- utils/staking-miner/src/monitor.rs | 38 +- 26 files changed, 653 insertions(+), 873 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eb486ee48c19..f8498330731c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "Inflector" version = "0.11.4" @@ -12,20 +14,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7" -dependencies = [ - "gimli 0.23.0", -] - -[[package]] -name = "addr2line" -version = "0.15.1" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03345e98af8f3d786b6d9f656ccfa6ac316d954e92bc4841f0bba20789d5fb5a" +checksum = "e7a2e47a1fbe209ee101dd6d61285226744c6c8d3c21c8dc878ba6cb9f467f3a" dependencies = [ - "gimli 0.24.0", + "gimli", ] [[package]] @@ -103,17 +96,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "alga" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f823d037a7ec6ea2197046bafd4ae150e6bc36f9ca347404f46a46823fa84f2" -dependencies = [ - "approx 0.3.2", - "num-complex 0.2.4", - "num-traits", -] - [[package]] name = "always-assert" version = "0.1.2" @@ -140,24 +122,24 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.40" +version = "1.0.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b2cd92db5cbd74e8e5028f7e27dd7aa3090e89e4f2a197cc7c8dfb69c7063b" +checksum = "15af2628f6890fe2609a3b91bef4c83450512802e59489f9c1cb1fa5df064a61" [[package]] name = "approx" -version = "0.3.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0e60b75072ecd4168020818c0107f2857bb6c4e64252d8d3983f6263b40a5c3" +checksum = "3f2a05fd1bd10b2527e20a2cd32d8873d115b8b39fe219ee25f42a8aca6ba278" dependencies = [ "num-traits", ] [[package]] name = "approx" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f2a05fd1bd10b2527e20a2cd32d8873d115b8b39fe219ee25f42a8aca6ba278" +checksum = "072df7202e63b127ab55acfe16ce97013d5b97bf160489336d3f1840fd78e99e" dependencies = [ "num-traits", ] @@ -185,9 +167,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "arrayvec" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a2f58b0bb10c380af2b26e57212856b8c9a59e0925b4c20f4a174a49734eaf7" +checksum = "be4dc07131ffa69b8072d35f5007352af944213cde02545e2103680baed38fcd" [[package]] name = "asn1_der" @@ -197,9 +179,9 @@ checksum = "9d6e24d2cce90c53b948c46271bfb053e4bdc2db9b5d3f65e20f8cf28a1b7fc3" [[package]] name = "assert_cmd" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f57fec1ac7e4de72dcc69811795f1a7172ed06012f80a5d1ee651b62484f588" +checksum = "a88b6bd5df287567ffdf4ddf4d33060048e1068308e5f62d81c6f9824a045a48" dependencies = [ "bstr", "doc-comment", @@ -333,7 +315,7 @@ dependencies = [ "async-io", "async-lock", "async-process", - "crossbeam-utils 0.8.4", + "crossbeam-utils 0.8.5", "futures-channel", "futures-core", "futures-io", @@ -441,15 +423,16 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "backtrace" -version = "0.3.59" +version = "0.3.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4717cfcbfaa661a0fd48f8453951837ae7e8f81e481fbb136e3202d72805a744" +checksum = "b7815ea54e4d821e791162e078acbebfd6d8c8939cd559c9335dceb1c8ca7282" dependencies = [ - "addr2line 0.14.1", + "addr2line", + "cc", "cfg-if 1.0.0", "libc", "miniz_oxide", - "object 0.23.0", + "object 0.25.3", "rustc-demangle", ] @@ -489,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#29244671a1db0ee9c30b04f9a56f6bf2489522a5" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#e26872c7efea7b059c31c5c4b07810c1bd490db9" dependencies = [ "beefy-primitives", "futures 0.3.15", @@ -517,7 +500,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#29244671a1db0ee9c30b04f9a56f6bf2489522a5" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#e26872c7efea7b059c31c5c4b07810c1bd490db9" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -538,7 +521,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#29244671a1db0ee9c30b04f9a56f6bf2489522a5" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#e26872c7efea7b059c31c5c4b07810c1bd490db9" dependencies = [ "parity-scale-codec", "sp-api", @@ -1142,9 +1125,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed00c67cb5d0a7d64a44f6ad2668db7e7530311dd53ea79bcd4fb022c64911c8" +checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef" dependencies = [ "libc", ] @@ -1161,16 +1144,7 @@ version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8ca3560686e7c9c7ed7e0fe77469f2410ba5d7781b1acaa9adc8d8deea28e3e" dependencies = [ - "cranelift-entity 0.71.0", -] - -[[package]] -name = "cranelift-bforest" -version = "0.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ca3560686e7c9c7ed7e0fe77469f2410ba5d7781b1acaa9adc8d8deea28e3e" -dependencies = [ - "cranelift-entity 0.74.0", + "cranelift-entity", ] [[package]] @@ -1183,7 +1157,7 @@ dependencies = [ "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-entity", - "gimli 0.24.0", + "gimli", "log", "regalloc", "serde", @@ -1191,51 +1165,14 @@ dependencies = [ "target-lexicon", ] -[[package]] -name = "cranelift-codegen" -version = "0.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf9bf1ffffb6ce3d2e5ebc83549bd2436426c99b31cc550d521364cbe35d276" -dependencies = [ - "cranelift-bforest 0.74.0", - "cranelift-codegen-meta 0.74.0", - "cranelift-codegen-shared 0.74.0", - "cranelift-entity 0.74.0", - "gimli 0.24.0", - "log", - "regalloc", - "serde", - "smallvec 1.6.1", - "target-lexicon 0.12.0", -] - [[package]] name = "cranelift-codegen-meta" version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4cc21936a5a6d07e23849ffe83e5c1f6f50305c074f4b2970ca50c13bf55b821" dependencies = [ - "cranelift-codegen-shared 0.71.0", - "cranelift-entity 0.71.0", -] - -[[package]] -name = "cranelift-codegen-meta" -version = "0.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cc21936a5a6d07e23849ffe83e5c1f6f50305c074f4b2970ca50c13bf55b821" -dependencies = [ - "cranelift-codegen-shared 0.74.0", - "cranelift-entity 0.74.0", -] - -[[package]] -name = "cranelift-codegen-shared" -version = "0.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca5b6ffaa87560bebe69a5446449da18090b126037920b0c1c6d5945f72faf6b" -dependencies = [ - "serde", + "cranelift-codegen-shared", + "cranelift-entity", ] [[package]] @@ -1256,47 +1193,16 @@ dependencies = [ "serde", ] -[[package]] -name = "cranelift-entity" -version = "0.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d6b4a8bef04f82e4296782646f733c641d09497df2fabf791323fefaa44c64c" -dependencies = [ - "serde", -] - -[[package]] -name = "cranelift-frontend" -version = "0.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b783b351f966fce33e3c03498cb116d16d97a8f9978164a60920bd0d3a99c" -dependencies = [ - "cranelift-codegen 0.71.0", - "log", - "smallvec 1.6.1", - "target-lexicon 0.11.2", -] - [[package]] name = "cranelift-frontend" version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c31b783b351f966fce33e3c03498cb116d16d97a8f9978164a60920bd0d3a99c" dependencies = [ - "cranelift-codegen 0.74.0", + "cranelift-codegen", "log", "smallvec 1.6.1", - "target-lexicon 0.12.0", -] - -[[package]] -name = "cranelift-native" -version = "0.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c88d3dd48021ff1e37e978a00098524abd3513444ae252c08d37b310b3d2a" -dependencies = [ - "cranelift-codegen 0.71.0", - "target-lexicon 0.11.2", + "target-lexicon", ] [[package]] @@ -1305,25 +1211,8 @@ version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a77c88d3dd48021ff1e37e978a00098524abd3513444ae252c08d37b310b3d2a" dependencies = [ - "cranelift-codegen 0.74.0", - "target-lexicon 0.12.0", -] - -[[package]] -name = "cranelift-wasm" -version = "0.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edb6d408e2da77cdbbd65466298d44c86ae71c1785d2ab0d8657753cdb4d9d89" -dependencies = [ - "cranelift-codegen 0.71.0", - "cranelift-entity 0.71.0", - "cranelift-frontend 0.71.0", - "itertools 0.10.0", - "log", - "serde", - "smallvec 1.6.1", - "thiserror", - "wasmparser 0.76.0", + "cranelift-codegen", + "target-lexicon", ] [[package]] @@ -1332,15 +1221,15 @@ version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edb6d408e2da77cdbbd65466298d44c86ae71c1785d2ab0d8657753cdb4d9d89" dependencies = [ - "cranelift-codegen 0.74.0", - "cranelift-entity 0.74.0", - "cranelift-frontend 0.74.0", - "itertools 0.10.0", + "cranelift-codegen", + "cranelift-entity", + "cranelift-frontend", + "itertools 0.10.1", "log", "serde", "smallvec 1.6.1", "thiserror", - "wasmparser 0.78.2", + "wasmparser", ] [[package]] @@ -1359,7 +1248,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.4", + "crossbeam-utils 0.8.5", ] [[package]] @@ -1380,8 +1269,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9" dependencies = [ "cfg-if 1.0.0", - "crossbeam-epoch 0.9.4", - "crossbeam-utils 0.8.4", + "crossbeam-epoch 0.9.5", + "crossbeam-utils 0.8.5", ] [[package]] @@ -1401,12 +1290,12 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52fb27eab85b17fbb9f6fd667089e07d6a2eb8743d02639ee7f6a7a7729c9c94" +checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" dependencies = [ "cfg-if 1.0.0", - "crossbeam-utils 0.8.4", + "crossbeam-utils 0.8.5", "lazy_static", "memoffset 0.6.4", "scopeguard", @@ -1436,11 +1325,10 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4feb231f0d4d6af81aed15928e58ecf5816aa62a2393e2c82f46973e92a9a278" +checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" dependencies = [ - "autocfg", "cfg-if 1.0.0", "lazy_static", ] @@ -1811,9 +1699,9 @@ checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" [[package]] name = "erased-serde" -version = "0.3.15" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5b36e6f2295f393f44894c6031f67df4d185b984cd54d08f768ce678007efcd" +checksum = "3de9ad4541d99dc22b59134e7ff8dc3d6c988c89ecd7324bf10a8362b07a2afa" dependencies = [ "serde", ] @@ -2024,7 +1912,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", ] @@ -2042,14 +1930,14 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", "linregress", "log", "parity-scale-codec", - "paste 1.0.5", + "paste", "sp-api", "sp-io", "sp-runtime", @@ -2061,7 +1949,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "Inflector", "chrono", @@ -2084,7 +1972,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -2097,7 +1985,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -2112,7 +2000,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "serde", @@ -2123,7 +2011,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "bitflags", "frame-metadata", @@ -2133,7 +2021,7 @@ dependencies = [ "max-encoded-len", "once_cell", "parity-scale-codec", - "paste 1.0.5", + "paste", "serde", "smallvec 1.6.1", "sp-arithmetic", @@ -2150,7 +2038,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2162,7 +2050,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2174,7 +2062,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro2", "quote", @@ -2184,7 +2072,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-metadata", "frame-support", @@ -2204,7 +2092,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2221,7 +2109,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -2235,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -2244,7 +2132,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "parity-scale-codec", @@ -2382,9 +2270,9 @@ checksum = "acc499defb3b348f8d8f3f66415835a9131856ff7714bf10dadfc4ec4bdb29a1" [[package]] name = "futures-lite" -version = "1.11.3" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4481d0cd0de1d204a4fa55e7d45f07b1d958abcb06714b3446438e2eff695fb" +checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48" dependencies = [ "fastrand", "futures-core", @@ -2454,7 +2342,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "feb5c238d27e2bf94ffdfd27b2c29e3df4a68c4193bb6427384259e2bf191967" dependencies = [ "autocfg", - "futures 0.1.29", + "futures 0.1.31", "futures-channel", "futures-core", "futures-io", @@ -2484,15 +2372,6 @@ dependencies = [ "typenum", ] -[[package]] -name = "generic-array" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f797e67af32588215eaaab8327027ee8e71b9dd0b2b26996aedf20c030fce309" -dependencies = [ - "typenum", -] - [[package]] name = "generic-array" version = "0.14.4" @@ -2539,23 +2418,6 @@ dependencies = [ "polyval", ] -[[package]] -name = "gimli" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce" - -[[package]] -name = "gimli" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189" -dependencies = [ - "fallible-iterator", - "indexmap", - "stable_deref_trait", -] - [[package]] name = "gimli" version = "0.24.0" @@ -2575,9 +2437,9 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" [[package]] name = "globset" -version = "0.4.6" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c152169ef1e421390738366d2f796655fec62621dabbd0fd476f905934061e4a" +checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" dependencies = [ "aho-corasick", "bstr", @@ -2632,7 +2494,7 @@ dependencies = [ "indexmap", "slab", "tokio 0.2.25", - "tokio-util 0.3.1", + "tokio-util", "tracing", "tracing-futures", ] @@ -2677,18 +2539,18 @@ dependencies = [ [[package]] name = "heck" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cbf45460356b7deeb5e3415b5563308c0a9b057c85e12b06ad551f98d0a6ac" +checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" dependencies = [ "unicode-segmentation", ] [[package]] name = "hermit-abi" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" dependencies = [ "libc", ] @@ -2808,17 +2670,6 @@ dependencies = [ "pin-project-lite 0.2.6", ] -[[package]] -name = "http-body" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9" -dependencies = [ - "bytes 1.0.1", - "http 0.2.1", - "pin-project-lite 0.2.4", -] - [[package]] name = "httparse" version = "1.4.1" @@ -2921,31 +2772,8 @@ dependencies = [ "httparse", "httpdate 1.0.1", "itoa", - "pin-project 1.0.7", - "socket2 0.3.17", - "tokio 0.2.21", - "tower-service", - "tracing", - "want 0.3.0", -] - -[[package]] -name = "hyper" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bf09f61b52cfcf4c00de50df88ae423d6c02354e385a86341133b5338630ad1" -dependencies = [ - "bytes 1.0.1", - "futures-channel", - "futures-core", - "futures-util", - "http 0.2.1", - "http-body 0.4.2", - "httparse", - "httpdate", - "itoa", - "pin-project 1.0.7", - "tokio 1.6.1", + "pin-project-lite 0.2.6", + "tokio 1.7.1", "tower-service", "tracing", "want 0.3.0", @@ -2962,10 +2790,10 @@ dependencies = [ "futures-util", "hyper 0.13.10", "log", - "rustls 0.18.0", + "rustls 0.18.1", "rustls-native-certs 0.4.0", - "tokio 0.2.21", - "tokio-rustls 0.14.0", + "tokio 0.2.25", + "tokio-rustls 0.14.1", "webpki", ] @@ -3149,9 +2977,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135" +checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9" [[package]] name = "itertools" @@ -3164,9 +2992,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319" +checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" dependencies = [ "either", ] @@ -3338,6 +3166,12 @@ dependencies = [ "slab", ] +[[package]] +name = "jsonrpsee" +version = "0.2.0-alpha.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4e48ecdd757b22fae87e87aad2dbadf11c56499c6509763c8ef20db16ffb0e9" + [[package]] name = "jsonrpsee-proc-macros" version = "0.2.0" @@ -3361,7 +3195,7 @@ dependencies = [ "beef", "futures-channel", "futures-util", - "hyper 0.14.5", + "hyper 0.14.9", "log", "serde", "serde_json", @@ -3387,10 +3221,10 @@ dependencies = [ "serde_json", "soketto 0.5.0", "thiserror", - "tokio 0.2.21", + "tokio 0.2.25", "tokio-rustls 0.15.0", "tokio-util", - "url 2.2.0", + "url 2.2.2", ] [[package]] @@ -3585,9 +3419,9 @@ checksum = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a" [[package]] name = "libc" -version = "0.2.95" +version = "0.2.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36" +checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6" [[package]] name = "libloading" @@ -3845,7 +3679,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36db0f0db3b0433f5b9463f1c0cd9eadc0a3734a9170439ce501ff99733a88bd" dependencies = [ "bytes 1.0.1", - "curve25519-dalek 3.0.0", + "curve25519-dalek 3.1.0", "futures 0.3.15", "lazy_static", "libp2p-core", @@ -4031,8 +3865,8 @@ dependencies = [ "log", "quicksink", "rw-stream-sink", - "soketto 0.4.1", - "url 2.2.0", + "soketto 0.4.2", + "url 2.2.2", "webpki-roots", ] @@ -4105,11 +3939,11 @@ dependencies = [ [[package]] name = "linregress" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b36162d2e1dcbdeb61223cb788f029f8ac9f2ab19969b89c5a8f4517aad4d940" +checksum = "b1ff7f341d23e1275eec0656a9a07225fcc86216c4322392868adffe59023d1a" dependencies = [ - "nalgebra 0.25.4", + "nalgebra 0.27.1", "statrs", ] @@ -4195,15 +4029,6 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" -[[package]] -name = "matrixmultiply" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "916806ba0031cd542105d916a97c8572e1fa6dd79c9c51e7eb43a09ec2dd84c1" -dependencies = [ - "rawpointer", -] - [[package]] name = "matrixmultiply" version = "0.3.1" @@ -4216,7 +4041,7 @@ dependencies = [ [[package]] name = "max-encoded-len" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-trait-for-tuples", "max-encoded-len-derive", @@ -4227,7 +4052,7 @@ dependencies = [ [[package]] name = "max-encoded-len-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -4382,19 +4207,6 @@ dependencies = [ "winapi 0.2.8", ] -[[package]] -name = "mio" -version = "0.7.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16" -dependencies = [ - "libc", - "log", - "miow 0.3.7", - "ntapi", - "winapi 0.3.9", -] - [[package]] name = "mio-extras" version = "2.0.6" @@ -4403,7 +4215,7 @@ checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" dependencies = [ "lazycell", "log", - "mio 0.6.23", + "mio", "slab", ] @@ -4414,7 +4226,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" dependencies = [ "log", - "mio 0.6.23", + "mio", "miow 0.3.7", "winapi 0.3.9", ] @@ -4427,7 +4239,7 @@ checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0" dependencies = [ "iovec", "libc", - "mio 0.6.23", + "mio", ] [[package]] @@ -4521,39 +4333,48 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.19.0" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0abb021006c01b126a936a8dd1351e0720d83995f4fc942d0d426c654f990745" +checksum = "476d1d59fe02fe54c86356e91650cd892f392782a1cb9fc524ec84f7aa9e1d06" dependencies = [ - "alga", - "approx 0.3.2", - "generic-array 0.13.3", - "matrixmultiply 0.2.4", - "num-complex 0.2.4", - "num-rational 0.2.4", + "approx 0.4.0", + "matrixmultiply", + "num-complex 0.3.1", + "num-rational 0.3.2", "num-traits", - "rand 0.7.3", + "rand 0.8.4", "rand_distr", + "simba 0.4.0", "typenum", ] [[package]] name = "nalgebra" -version = "0.25.4" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c70c9e8c5f213c8e93fc8c112ade4edd3ee62062fb897776c23dcebac7932900" +checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" dependencies = [ - "approx 0.4.0", - "generic-array 0.14.4", - "matrixmultiply 0.3.1", - "num-complex 0.3.1", - "num-rational 0.3.2", + "approx 0.5.0", + "matrixmultiply", + "nalgebra-macros", + "num-complex 0.4.0", + "num-rational 0.4.0", "num-traits", - "serde", - "simba", + "simba 0.5.1", "typenum", ] +[[package]] +name = "nalgebra-macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "names" version = "0.11.0" @@ -4608,15 +4429,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "ntapi" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" -dependencies = [ - "winapi 0.3.9", -] - [[package]] name = "num-bigint" version = "0.2.6" @@ -4630,19 +4442,18 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.2.4" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95" +checksum = "747d632c0c558b87dbabbe6a82f3b4ae03720d0646ac5b7b4dae89394be5f2c5" dependencies = [ - "autocfg", "num-traits", ] [[package]] name = "num-complex" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "747d632c0c558b87dbabbe6a82f3b4ae03720d0646ac5b7b4dae89394be5f2c5" +checksum = "26873667bbbb7c5182d4a37c1add32cdf09f841af72da53318fdb81543c15085" dependencies = [ "num-traits", ] @@ -4680,6 +4491,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-rational" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d41702bd167c2df5520b384281bc111a4b5efcf7fbc4c9c222c815b07e0a6a6a" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + [[package]] name = "num-traits" version = "0.2.14" @@ -4700,12 +4522,6 @@ dependencies = [ "libc", ] -[[package]] -name = "object" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4" - [[package]] name = "object" version = "0.24.0" @@ -4718,19 +4534,18 @@ dependencies = [ [[package]] name = "object" -version = "0.24.0" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a5b3dd1c072ee7963717671d1ca129f1048fda25edea6b752bfc71ac8854170" +checksum = "a38f2be3697a57b4060074ff41b44c16870d916ad7877c17696e063257482bc7" dependencies = [ - "crc32fast", - "indexmap", + "memchr", ] [[package]] name = "once_cell" -version = "1.7.2" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3" +checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" dependencies = [ "parking_lot 0.11.1", ] @@ -4789,7 +4604,7 @@ checksum = "2386b4ebe91c2f7f51082d4cefa145d030e33a1842a96b12e4885cc3c01f7a55" [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -4804,7 +4619,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -4818,7 +4633,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4841,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4856,7 +4671,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#29244671a1db0ee9c30b04f9a56f6bf2489522a5" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#e26872c7efea7b059c31c5c4b07810c1bd490db9" dependencies = [ "beefy-primitives", "frame-support", @@ -4871,7 +4686,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4907,7 +4722,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4923,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4938,7 +4753,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4959,7 +4774,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4976,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4990,7 +4805,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5012,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5027,7 +4842,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5046,7 +4861,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5062,7 +4877,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5077,7 +4892,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5094,7 +4909,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5110,7 +4925,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5128,7 +4943,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5143,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5156,7 +4971,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5172,7 +4987,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5194,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5210,7 +5025,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "enumflags2", "frame-support", @@ -5224,7 +5039,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5239,7 +5054,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5259,7 +5074,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5275,7 +5090,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5288,7 +5103,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5298,7 +5113,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "paste 1.0.5", + "paste", "rand_chacha 0.2.2", "serde", "sp-application-crypto", @@ -5312,7 +5127,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5323,7 +5138,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "sp-arithmetic", @@ -5332,7 +5147,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5345,7 +5160,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5363,7 +5178,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5378,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-support", "frame-system", @@ -5394,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5411,7 +5226,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5422,7 +5237,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5438,7 +5253,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5453,7 +5268,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5515,11 +5330,11 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "2.1.1" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0f518afaa5a47d0d6386229b0a6e01e86427291d643aa4cabb4992219f504f8" +checksum = "b310f220c335f9df1b3d2e9fbe3890bbfeef5030dad771620f48c5c229877cd3" dependencies = [ - "arrayvec 0.7.0", + "arrayvec 0.7.1", "bitvec", "byte-slice-cast", "parity-scale-codec-derive", @@ -5528,11 +5343,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "2.1.0" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f44c5f94427bd0b5076e8f7e15ca3f60a4d8ac0077e4793884e6fdfd8915344e" +checksum = "81038e13ca2c32587201d544ea2e6b6c47120f1e4eae04478f9f60b6bcb89145" dependencies = [ - "proc-macro-crate 0.1.5", + "proc-macro-crate 1.0.0", "proc-macro2", "quote", "syn", @@ -5618,7 +5433,7 @@ dependencies = [ "bytes 0.4.12", "httparse", "log", - "mio 0.6.23", + "mio", "mio-extras", "rand 0.7.3", "sha-1 0.8.2", @@ -5702,33 +5517,17 @@ dependencies = [ "cfg-if 1.0.0", "instant", "libc", - "redox_syscall 0.2.8", + "redox_syscall 0.2.9", "smallvec 1.6.1", "winapi 0.3.9", ] -[[package]] -name = "paste" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" -dependencies = [ - "paste-impl", - "proc-macro-hack", -] - [[package]] name = "paste" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58" -[[package]] -name = "paste-impl" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58" - [[package]] name = "pbkdf2" version = "0.3.0" @@ -6575,7 +6374,7 @@ dependencies = [ "env_logger 0.8.4", "futures 0.3.15", "futures-timer 3.0.2", - "itertools 0.10.0", + "itertools 0.10.1", "log", "lru", "metered-channel", @@ -7142,7 +6941,7 @@ version = "0.9.7" dependencies = [ "frame-benchmarking", "frame-system", - "futures 0.1.29", + "futures 0.1.31", "futures 0.3.15", "hex", "pallet-balances", @@ -7192,14 +6991,14 @@ dependencies = [ [[package]] name = "polling" -version = "2.0.3" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fc12d774e799ee9ebae13f4076ca003b40d18a11ac0f3641e6f899618580b7b" +checksum = "92341d779fa34ea8437ef4d82d440d5e1ce3f3ff7f824aa64424cd481f9a1f25" dependencies = [ "cfg-if 1.0.0", "libc", "log", - "wepoll-sys", + "wepoll-ffi", "winapi 0.3.9", ] @@ -7433,9 +7232,9 @@ dependencies = [ [[package]] name = "pwasm-utils" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0e517f47d9964362883182404b68d0b6949382c0baa40aa5ffca94f5f1e3481" +checksum = "f0c1a2f10b47d446372a4f397c58b329aaea72b2daf9395a623a411cb8ccb54f" dependencies = [ "byteorder", "log", @@ -7525,8 +7324,8 @@ checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" dependencies = [ "libc", "rand_chacha 0.3.1", - "rand_core 0.6.1", - "rand_hc 0.3.0", + "rand_core 0.6.3", + "rand_hc 0.3.1", ] [[package]] @@ -7546,7 +7345,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.2", + "rand_core 0.6.3", ] [[package]] @@ -7575,20 +7374,21 @@ dependencies = [ [[package]] name = "rand_core" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7" +checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" dependencies = [ "getrandom 0.2.3", ] [[package]] name = "rand_distr" -version = "0.2.2" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96977acbdd3a6576fb1d27391900035bf3863d4a16422973a409b488cf29ffb2" +checksum = "051b398806e42b9cd04ad9ec8f81e355d0a382c543ac6672c62f5a5b452ef142" dependencies = [ - "rand 0.7.3", + "num-traits", + "rand 0.8.4", ] [[package]] @@ -7602,11 +7402,11 @@ dependencies = [ [[package]] name = "rand_hc" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73" +checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" dependencies = [ - "rand_core 0.6.2", + "rand_core 0.6.3", ] [[package]] @@ -7644,7 +7444,7 @@ checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" dependencies = [ "crossbeam-channel", "crossbeam-deque 0.8.0", - "crossbeam-utils 0.8.4", + "crossbeam-utils 0.8.5", "lazy_static", "num_cpus", ] @@ -7666,9 +7466,9 @@ checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" [[package]] name = "redox_syscall" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "742739e41cd49414de871ea5e549afb7e2a3ac77b589bcbebe8c82fab37147fc" +checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee" dependencies = [ "bitflags", ] @@ -7680,7 +7480,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" dependencies = [ "getrandom 0.2.3", - "redox_syscall 0.2.8", + "redox_syscall 0.2.9", ] [[package]] @@ -7691,7 +7491,7 @@ checksum = "3bd8f48b2066e9f69ab192797d66da804d1935bf22763204ed3675740cb0f221" dependencies = [ "derive_more", "fs-err", - "itertools 0.10.0", + "itertools 0.10.1", "static_init", "thiserror", ] @@ -7741,11 +7541,10 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae1ded71d66a4a97f5e961fd0cb25a5f366a42a41570d16a763a69c092c26ae4" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" dependencies = [ - "byteorder", "regex-syntax", ] @@ -7770,7 +7569,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "env_logger 0.8.4", "hex", @@ -7923,9 +7722,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "410f7acf3cb3a44527c5d9546bad4bf4e6c460915d5f9f2fc524498bfe8f70ce" +checksum = "dead70b0b5e03e9c814bcb6b01e03e68f7c57a80aa48c72ec92152ab3e818d49" [[package]] name = "rustc-hash" @@ -7995,19 +7794,7 @@ dependencies = [ "openssl-probe", "rustls 0.19.1", "schannel", - "security-framework 1.0.0", -] - -[[package]] -name = "rustls-native-certs" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" -dependencies = [ - "openssl-probe", - "rustls 0.19.1", - "schannel", - "security-framework 2.2.0", + "security-framework 2.3.1", ] [[package]] @@ -8018,9 +7805,9 @@ checksum = "61b3909d758bb75c79f23d4736fac9433868679d3ad2ea7a61e3c25cfda9a088" [[package]] name = "ruzstd" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d425143485a37727c7a46e689bbe3b883a00f42b4a52c4ac0f44855c1009b00" +checksum = "12b36018ba08d4f285d34b80bdff3930a5887b4b2c77b261b7a9f5313dbe929e" dependencies = [ "byteorder", "twox-hash", @@ -8033,7 +7820,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" dependencies = [ "futures 0.3.15", - "pin-project 0.4.23", + "pin-project 0.4.28", "static_assertions", ] @@ -8064,7 +7851,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -8093,7 +7880,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8116,7 +7903,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8132,7 +7919,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8153,7 +7940,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8164,7 +7951,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "chrono", "fdlimit", @@ -8202,7 +7989,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "fnv", @@ -8236,7 +8023,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "blake2-rfc", "hash-db", @@ -8266,7 +8053,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "parking_lot 0.11.1", @@ -8279,7 +8066,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -8325,7 +8112,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -8349,7 +8136,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8362,7 +8149,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "futures 0.3.15", @@ -8390,7 +8177,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "sc-client-api", "sp-authorship", @@ -8401,7 +8188,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "lazy_static", @@ -8430,7 +8217,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "parity-scale-codec", @@ -8447,7 +8234,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "parity-scale-codec", @@ -8462,7 +8249,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8481,7 +8268,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -8522,7 +8309,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "finality-grandpa", @@ -8546,7 +8333,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -8567,7 +8354,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "ansi_term 0.12.1", "futures 0.3.15", @@ -8585,7 +8372,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -8605,7 +8392,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "hash-db", "lazy_static", @@ -8624,7 +8411,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-std", "async-trait", @@ -8677,7 +8464,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8694,7 +8481,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "bytes 0.5.6", "fnv", @@ -8722,7 +8509,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "libp2p", @@ -8735,7 +8522,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8744,7 +8531,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "hash-db", @@ -8779,7 +8566,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -8804,7 +8591,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.1.31", "jsonrpc-core", @@ -8822,12 +8609,12 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.1.29", + "futures 0.1.31", "futures 0.3.15", "futures-timer 3.0.2", "hash-db", @@ -8888,7 +8675,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "parity-scale-codec", @@ -8903,7 +8690,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8923,7 +8710,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "chrono", "futures 0.3.15", @@ -8943,7 +8730,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8980,7 +8767,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8991,7 +8778,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -9013,7 +8800,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "intervalier", @@ -9129,15 +8916,15 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.2.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3670b1d2fdf6084d192bc71ead7aabe6c06aa2ea3fbd9cc3ac111fa5c2b1bd84" +checksum = "23a2ac85147a3a11d77ecf1bc7166ec0b92febfa4461c37944e180f319ece467" dependencies = [ "bitflags", "core-foundation 0.9.1", "core-foundation-sys 0.8.2", "libc", - "security-framework-sys 2.2.0", + "security-framework-sys 2.3.0", ] [[package]] @@ -9152,9 +8939,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3676258fd3cfe2c9a0ec99ce3038798d847ce3e4bb17746373eb9f0f1ac16339" +checksum = "7e4effb91b4b8b6fb7732e670b6cee160278ff8e6bf485c7805d9e319d76e284" dependencies = [ "core-foundation-sys 0.8.2", "libc", @@ -9331,9 +9118,9 @@ checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" [[package]] name = "signal-hook" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef33d6d0cd06e0840fba9985aab098c147e67e05cee14d412d3345ed14ff30ac" +checksum = "470c5a6397076fae0094aaf06a08e6ba6f37acb77d3b1b91ea92b4d6c8650c39" dependencies = [ "libc", "signal-hook-registry", @@ -9341,9 +9128,9 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16f1d0fef1604ba8f7a073c7e701f213e056707210e9020af4528e0101ce11a6" +checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" dependencies = [ "libc", ] @@ -9366,6 +9153,18 @@ dependencies = [ "paste", ] +[[package]] +name = "simba" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +dependencies = [ + "approx 0.5.0", + "num-complex 0.4.0", + "num-traits", + "paste", +] + [[package]] name = "slab" version = "0.4.3" @@ -9387,7 +9186,7 @@ version = "0.9.7" dependencies = [ "enumn", "parity-scale-codec", - "paste 1.0.5", + "paste", "sp-runtime", "sp-std", ] @@ -9468,7 +9267,7 @@ dependencies = [ "httparse", "log", "rand 0.7.3", - "sha-1 0.8.2", + "sha-1 0.9.6", ] [[package]] @@ -9489,7 +9288,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "sp-core", @@ -9501,7 +9300,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "hash-db", "log", @@ -9518,7 +9317,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9530,7 +9329,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "max-encoded-len", "parity-scale-codec", @@ -9543,7 +9342,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "integer-sqrt", "num-traits", @@ -9557,7 +9356,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -9569,7 +9368,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "parity-scale-codec", @@ -9581,7 +9380,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -9593,7 +9392,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "log", @@ -9611,7 +9410,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "serde", "serde_json", @@ -9620,7 +9419,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "futures 0.3.15", @@ -9647,7 +9446,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "merlin", @@ -9669,7 +9468,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9679,7 +9478,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9691,7 +9490,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "base58", "blake2-rfc", @@ -9736,7 +9535,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9745,7 +9544,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro2", "quote", @@ -9755,7 +9554,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "environmental", "parity-scale-codec", @@ -9766,7 +9565,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "finality-grandpa", "log", @@ -9783,7 +9582,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9797,7 +9596,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "hash-db", @@ -9822,7 +9621,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "lazy_static", "sp-core", @@ -9833,7 +9632,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "derive_more", @@ -9850,7 +9649,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "ruzstd", "zstd", @@ -9859,7 +9658,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "serde", @@ -9872,7 +9671,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9883,7 +9682,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "sp-api", "sp-core", @@ -9893,7 +9692,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "backtrace", ] @@ -9901,7 +9700,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "rustc-hash", "serde", @@ -9912,7 +9711,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "either", "hash256-std-hasher", @@ -9921,7 +9720,7 @@ dependencies = [ "max-encoded-len", "parity-scale-codec", "parity-util-mem", - "paste 1.0.5", + "paste", "rand 0.7.3", "serde", "sp-application-crypto", @@ -9934,7 +9733,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9951,7 +9750,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9963,7 +9762,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "serde", "serde_json", @@ -9972,7 +9771,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -9985,7 +9784,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9995,7 +9794,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "hash-db", "log", @@ -10018,12 +9817,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10036,7 +9835,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "log", "sp-core", @@ -10049,7 +9848,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -10066,7 +9865,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "erased-serde", "log", @@ -10084,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "derive_more", "futures 0.3.15", @@ -10100,7 +9899,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", "log", @@ -10115,7 +9914,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "hash-db", "memory-db", @@ -10129,7 +9928,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "futures-core", @@ -10141,7 +9940,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10154,7 +9953,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -10166,7 +9965,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10190,7 +9989,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" name = "staking-miner" version = "0.9.0" dependencies = [ - "env_logger 0.8.3", + "env_logger 0.8.4", "frame-election-provider-support", "frame-support", "frame-system", @@ -10257,12 +10056,15 @@ dependencies = [ [[package]] name = "statrs" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e34b58a8f9b7462b6922e0b4e3c83d1b3c2075f7f996a56d6c66afa81590064" +checksum = "1e0c1f144861fbfd2a8cc82d564ccbf7fb3b7834d4fa128b84e9c2a73371aead" dependencies = [ - "nalgebra 0.19.0", - "rand 0.7.3", + "approx 0.4.0", + "lazy_static", + "nalgebra 0.26.2", + "num-traits", + "rand 0.8.4", ] [[package]] @@ -10351,11 +10153,11 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "chrono", "console_error_panic_hook", - "futures 0.1.29", + "futures 0.1.31", "futures 0.3.15", "futures-timer 3.0.2", "getrandom 0.2.3", @@ -10377,7 +10179,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "platforms", ] @@ -10385,7 +10187,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.15", @@ -10408,7 +10210,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-std", "derive_more", @@ -10422,10 +10224,10 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "async-trait", - "futures 0.1.29", + "futures 0.1.31", "futures 0.3.15", "hash-db", "hex", @@ -10451,7 +10253,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "futures 0.3.15", "substrate-test-utils-derive", @@ -10461,7 +10263,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -10498,9 +10300,9 @@ checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2" [[package]] name = "syn" -version = "1.0.72" +version = "1.0.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e8cdbefb79a9a5a65e0db8b47b723ee907b7c7f8496c76a1770b5c310bab82" +checksum = "f71489ff30030d2ae598524f61326b902466f72a0fb1a8564c001cc63425bcc7" dependencies = [ "proc-macro2", "quote", @@ -10546,7 +10348,7 @@ dependencies = [ "cfg-if 1.0.0", "libc", "rand 0.8.4", - "redox_syscall 0.2.4", + "redox_syscall 0.2.9", "remove_dir_all", "winapi 0.3.9", ] @@ -10740,7 +10542,7 @@ checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ "bytes 0.4.12", "futures 0.1.31", - "mio 0.6.23", + "mio", "num_cpus", "tokio-codec", "tokio-current-thread", @@ -10769,7 +10571,7 @@ dependencies = [ "lazy_static", "libc", "memchr", - "mio 0.6.23", + "mio", "mio-uds", "num_cpus", "pin-project-lite 0.1.12", @@ -10781,12 +10583,12 @@ dependencies = [ [[package]] name = "tokio" -version = "1.6.1" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a38d31d7831c6ed7aad00aa4c12d9375fd225a6dd77da1d25b707346319a975" +checksum = "5fb2ed024293bb19f7a5dc54fe83bf86532a44c12a2bb8ba40d64a4509395ca2" dependencies = [ "autocfg", - "pin-project-lite 0.2.4", + "pin-project-lite 0.2.6", ] [[package]] @@ -10872,7 +10674,7 @@ checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae" dependencies = [ "bytes 0.4.12", "futures 0.1.31", - "mio 0.6.23", + "mio", "mio-named-pipes", "tokio 0.1.22", ] @@ -10887,7 +10689,7 @@ dependencies = [ "futures 0.1.31", "lazy_static", "log", - "mio 0.6.23", + "mio", "num_cpus", "parking_lot 0.9.0", "slab", @@ -10908,18 +10710,6 @@ dependencies = [ "webpki", ] -[[package]] -name = "tokio-rustls" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d15e5669243a45f630a5167d101b942174ca94b615445b2057eace1c818736" -dependencies = [ - "futures-core", - "rustls 0.18.0", - "tokio 0.2.21", - "webpki", -] - [[package]] name = "tokio-rustls" version = "0.15.0" @@ -10928,7 +10718,7 @@ checksum = "03d15e5669243a45f630a5167d101b942174ca94b615445b2057eace1c818736" dependencies = [ "futures-core", "rustls 0.19.1", - "tokio 0.2.21", + "tokio 0.2.25", "webpki", ] @@ -10960,7 +10750,7 @@ dependencies = [ "bytes 0.4.12", "futures 0.1.31", "iovec", - "mio 0.6.23", + "mio", "tokio-io", "tokio-reactor", ] @@ -11003,7 +10793,7 @@ dependencies = [ "bytes 0.4.12", "futures 0.1.31", "log", - "mio 0.6.23", + "mio", "tokio-codec", "tokio-io", "tokio-reactor", @@ -11020,7 +10810,7 @@ dependencies = [ "iovec", "libc", "log", - "mio 0.6.23", + "mio", "mio-uds", "tokio-codec", "tokio-io", @@ -11038,8 +10828,8 @@ dependencies = [ "futures-io", "futures-sink", "log", - "pin-project-lite 0.2.6", - "tokio 1.7.1", + "pin-project-lite 0.1.12", + "tokio 0.2.25", ] [[package]] @@ -11223,7 +11013,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#df5012292cea6f5a747ff0e32d2e3c25b73001d9" +source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" dependencies = [ "frame-try-runtime", "log", @@ -11315,9 +11105,9 @@ dependencies = [ [[package]] name = "unicode-normalization" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33717dca7ac877f497014e10d73f3acf948c342bee31b5ca7892faf94ccc6b49" +checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" dependencies = [ "tinyvec", ] @@ -11421,9 +11211,9 @@ dependencies = [ [[package]] name = "vcpkg" -version = "0.2.13" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "025ce40a007e1907e58d5bc1a594def78e5573bb0b1160bc389634e8f12e4faa" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "vec_map" @@ -11531,9 +11321,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.23" +version = "0.4.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81b8b767af23de6ac18bf2168b690bed2902743ddf0fb39252e36f9e2bfc63ea" +checksum = "5fba7978c679d53ce2d0ac80c8c175840feb849a161664365d1287b41f2e67f1" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -11626,12 +11416,6 @@ version = "0.78.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52144d4c78e5cf8b055ceab8e5fa22814ce4315d6002ad32cfd914f37c12fd65" -[[package]] -name = "wasmparser" -version = "0.78.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52144d4c78e5cf8b055ceab8e5fa22814ce4315d6002ad32cfd914f37c12fd65" - [[package]] name = "wasmtime" version = "0.27.0" @@ -11647,20 +11431,20 @@ dependencies = [ "lazy_static", "libc", "log", - "paste 1.0.5", + "paste", "psm", "region", "rustc-demangle", "serde", "smallvec 1.6.1", - "target-lexicon 0.12.0", - "wasmparser 0.78.2", + "target-lexicon", + "wasmparser", "wasmtime-cache", - "wasmtime-environ 0.27.0", + "wasmtime-environ", "wasmtime-fiber", - "wasmtime-jit 0.27.0", - "wasmtime-profiling 0.27.0", - "wasmtime-runtime 0.27.0", + "wasmtime-jit", + "wasmtime-profiling", + "wasmtime-runtime", "wat", "winapi 0.3.9", ] @@ -11708,13 +11492,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5d2a763e7a6fc734218e0e463196762a4f409c483063d81e0e85f96343b2e0a" dependencies = [ "anyhow", - "gimli 0.24.0", + "gimli", "more-asserts", "object 0.24.0", "target-lexicon", "thiserror", - "wasmparser 0.78.2", - "wasmtime-environ 0.27.0", + "wasmparser", + "wasmtime-environ", ] [[package]] @@ -11727,13 +11511,13 @@ dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-wasm", - "gimli 0.24.0", + "gimli", "indexmap", "log", "more-asserts", "serde", "thiserror", - "wasmparser 0.78.2", + "wasmparser", ] [[package]] @@ -11753,7 +11537,7 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d4539ea734422b7c868107e2187d7746d8affbcaa71916d72639f53757ad707" dependencies = [ - "addr2line 0.15.1", + "addr2line", "anyhow", "cfg-if 1.0.0", "cranelift-codegen", @@ -11761,22 +11545,22 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli 0.24.0", + "gimli", "log", "more-asserts", "object 0.24.0", "rayon", "region", "serde", - "target-lexicon 0.12.0", + "target-lexicon", "thiserror", - "wasmparser 0.78.2", - "wasmtime-cranelift 0.27.0", - "wasmtime-debug 0.27.0", - "wasmtime-environ 0.27.0", - "wasmtime-obj 0.27.0", - "wasmtime-profiling 0.27.0", - "wasmtime-runtime 0.27.0", + "wasmparser", + "wasmtime-cranelift", + "wasmtime-debug", + "wasmtime-environ", + "wasmtime-obj", + "wasmtime-profiling", + "wasmtime-runtime", "winapi 0.3.9", ] @@ -11802,15 +11586,15 @@ checksum = "e24364d522dcd67c897c8fffc42e5bdfc57207bbb6d7eeade0da9d4a7d70105b" dependencies = [ "anyhow", "cfg-if 1.0.0", - "gimli 0.24.0", + "gimli", "lazy_static", "libc", "object 0.24.0", "scroll", "serde", - "target-lexicon 0.12.0", - "wasmtime-environ 0.27.0", - "wasmtime-runtime 0.27.0", + "target-lexicon", + "wasmtime-environ", + "wasmtime-runtime", ] [[package]] @@ -11828,7 +11612,7 @@ dependencies = [ "libc", "log", "mach", - "memoffset 0.6.1", + "memoffset 0.6.4", "more-asserts", "rand 0.8.4", "region", @@ -11840,18 +11624,18 @@ dependencies = [ [[package]] name = "wast" -version = "35.0.2" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ef140f1b49946586078353a453a1d28ba90adfc54dde75710bc1931de204d68" +checksum = "8b5d7ba374a364571da1cb0a379a3dc302582a2d9937a183bfe35b68ad5bb9c4" dependencies = [ "leb128", ] [[package]] name = "wat" -version = "1.0.37" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ec280a739b69173e0ffd12c1658507996836ba4e992ed9bc1e5385a0bd72a02" +checksum = "16383df7f0e3901484c2dda6294ed6895caa3627ce4f6584141dcf30a33a23e6" dependencies = [ "wast", ] @@ -11868,9 +11652,9 @@ dependencies = [ [[package]] name = "webpki" -version = "0.21.3" +version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae" +checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" dependencies = [ "ring", "untrusted", @@ -11886,10 +11670,10 @@ dependencies = [ ] [[package]] -name = "wepoll-sys" -version = "3.0.1" +name = "wepoll-ffi" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fcb14dea929042224824779fbc82d9fab8d2e6d3cbc0ac404de8edf489e77ff" +checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb" dependencies = [ "cc", ] diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index 4f84b65659a9..cea5921562e0 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -5,30 +5,30 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } - -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } - -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } - -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master" } - -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } + +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } + +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-service = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } + +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } + +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } # Polkadot Runtimes polkadot-runtime = { path = "../../runtime/polkadot" } diff --git a/node/core/backing/Cargo.toml b/node/core/backing/Cargo.toml index aaac65f4955e..4653b211450d 100644 --- a/node/core/backing/Cargo.toml +++ b/node/core/backing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] futures = "0.3.15" -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } @@ -18,11 +18,11 @@ tracing = "0.1.26" thiserror = "1.0.23" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = { version = "0.3.15", features = ["thread-pool"] } assert_matches = "1.4.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/core/candidate-validation/Cargo.toml b/node/core/candidate-validation/Cargo.toml index 0afffd70914e..844f4d30b835 100644 --- a/node/core/candidate-validation/Cargo.toml +++ b/node/core/candidate-validation/Cargo.toml @@ -22,7 +22,7 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-core-pvf = { path = "../pvf" } [dev-dependencies] -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = { version = "0.3.15", features = ["thread-pool"] } assert_matches = "1.4.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/core/chain-api/Cargo.toml b/node/core/chain-api/Cargo.toml index 78969ce1d5f1..a9684d2aa141 100644 --- a/node/core/chain-api/Cargo.toml +++ b/node/core/chain-api/Cargo.toml @@ -11,8 +11,8 @@ sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz polkadot-primitives = { path = "../../../primitives" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] futures = { version = "0.3.15", features = ["thread-pool"] } diff --git a/node/core/chain-selection/Cargo.toml b/node/core/chain-selection/Cargo.toml index ee498427ea0d..a00532355022 100644 --- a/node/core/chain-selection/Cargo.toml +++ b/node/core/chain-selection/Cargo.toml @@ -18,6 +18,6 @@ parity-scale-codec = "2" [dev-dependencies] polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } parking_lot = "0.11" assert_matches = "1" diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index f2ba0491005f..b3c8440f05f8 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -18,12 +18,12 @@ polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] kvdb-memorydb = "0.9.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers"} -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } assert_matches = "1.4.0" diff --git a/node/core/dispute-participation/Cargo.toml b/node/core/dispute-participation/Cargo.toml index 7de5c195b6d7..7681601eab52 100644 --- a/node/core/dispute-participation/Cargo.toml +++ b/node/core/dispute-participation/Cargo.toml @@ -17,4 +17,4 @@ polkadot-primitives = { path = "../../../primitives" } assert_matches = "1.5.0" parity-scale-codec = "2.0.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers"} -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index 2aea74dad13e..c4ae69d869b5 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -20,7 +20,7 @@ polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsys polkadot-node-subsystem-util = { path = "../../subsystem-util" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = { version = "0.3.15", features = ["thread-pool"] } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } polkadot-node-primitives = { path = "../../primitives" } diff --git a/node/network/gossip-support/Cargo.toml b/node/network/gossip-support/Cargo.toml index acce9e222968..1819d756724b 100644 --- a/node/network/gossip-support/Cargo.toml +++ b/node/network/gossip-support/Cargo.toml @@ -5,9 +5,9 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-node-network-protocol = { path = "../protocol" } polkadot-node-subsystem = { path = "../../subsystem" } @@ -20,10 +20,10 @@ rand_chacha = { version = "0.3.1", default-features = false } tracing = "0.1.26" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index e181de548a30..de5a913f7047 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" [dependencies] async-trait = "0.1.42" -client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = "0.3.15" futures-timer = "3.0.2" polkadot-node-primitives = { package = "polkadot-node-primitives", path = "../primitives" } diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index 7cefeab9ba03..1cbe96adfc14 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -10,13 +10,13 @@ futures = "0.3.15" polkadot-primitives = { path = "../../primitives" } polkadot-statement-table = { path = "../../statement-table" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-vrf = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" } +runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-vrf = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } polkadot-parachain = { path = "../../parachain", default-features = false } schnorrkel = "0.9.1" thiserror = "1.0.22" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 552c29083b6c..699152690ee7 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -56,8 +56,8 @@ pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/parityt pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } # Substrate Other -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } # External Crates futures = "0.3.15" diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 5bc65193a4c3..2eee6b5f4cea 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -1312,7 +1312,7 @@ pub fn kusama_testnet_genesis( }, staking: kusama::StakingConfig { minimum_validator_count: 1, - validator_count: 2, + validator_count: initial_authorities.len() as u32, stakers: initial_authorities .iter() .map(|x| { @@ -1416,7 +1416,7 @@ pub fn westend_testnet_genesis( }, staking: westend::StakingConfig { minimum_validator_count: 1, - validator_count: 2, + validator_count: initial_authorities.len() as u32, stakers: initial_authorities .iter() .map(|x| { diff --git a/node/test/client/Cargo.toml b/node/test/client/Cargo.toml index b086a62193ec..11600ea4574e 100644 --- a/node/test/client/Cargo.toml +++ b/node/test/client/Cargo.toml @@ -29,5 +29,5 @@ sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } [dev-dependencies] -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } futures = "0.3.15" diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index ebc513ff1232..5af93c6e199f 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -51,14 +51,14 @@ xcm = { path = "../../xcm", default-features = false } [dev-dependencies] hex-literal = "0.3.1" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } trie-db = "0.22.3" serde_json = "1.0.61" libsecp256k1 = "0.3.5" diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index a9d197b5d079..184e194e221f 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -33,45 +33,45 @@ tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/parit block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-gilt = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-gilt = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index a92518cbea3f..266af3faf49d 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -45,13 +45,13 @@ rand_chacha = { version = "0.3.1", default-features = false } [dev-dependencies] futures = "0.3.15" hex-literal = "0.3.1" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } serde_json = "1.0.61" libsecp256k1 = "0.3.5" sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 20b9ebf01a25..db9e83f6c3d8 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -32,41 +32,41 @@ sp-session = { git = "https://github.com/paritytech/substrate", default-features sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index 5c13bef71987..fa427ff9ed60 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -31,27 +31,27 @@ frame-election-provider-support = { git = "https://github.com/paritytech/substra tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 3e482b7f4f54..36c3b3fc8021 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -32,42 +32,42 @@ tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/parit block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } diff --git a/runtime/westend/src/constants.rs b/runtime/westend/src/constants.rs index b5b6b354fcb7..f8b6ab9ab7a6 100644 --- a/runtime/westend/src/constants.rs +++ b/runtime/westend/src/constants.rs @@ -33,7 +33,7 @@ pub mod time { use primitives::v0::{Moment, BlockNumber}; pub const MILLISECS_PER_BLOCK: Moment = 6000; pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK; - pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 1 * HOURS; + pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 1 * MINUTES; // These time units are defined in number of blocks. pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 7494d1c037e6..f426e2de8a9b 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -405,7 +405,7 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (6 hours). - pub const SessionsPerEra: SessionIndex = 6; + pub const SessionsPerEra: SessionIndex = 2; // 28 eras for unbonding (7 days). pub const BondingDuration: pallet_staking::EraIndex = 28; // 27 eras in which slashes can be cancelled (slightly less than 7 days). diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 46f4fea25b56..46a829c494dd 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -10,7 +10,7 @@ tokio = { version = "0.2", features = ["macros"] } log = "0.4.11" env_logger = "0.8.3" structopt = "0.3.0" -jsonrpsee-ws-client = { version = "0.2.0" } +jsonrpsee-ws-client = { version = "0.2.0", default-features = false, features = ["tokio02"] } jsonrpsee-types = { version = "0.2.0" } jsonrpsee = "=0.2.0-alpha.6" serde_json = "1.0" diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 5a7c95642869..954ab4f2ae62 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -442,7 +442,7 @@ async fn create_election_ext( }, ..Default::default() })) - .raw_prefix(&system_block_hash_key) + .inject_hashed_prefix(&system_block_hash_key) .build() .await .map_err(|why| Error::RemoteExternalities(why)) diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 156cab2ce7b7..c02fd5b76bb9 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -40,25 +40,21 @@ async fn ensure_signed_phase( } /// Ensure that our current `us` have not submitted anything previously. -async fn ensure_no_previous_solution( - client: &WsClient, - at: B::Hash, +async fn ensure_no_previous_solution< + T: EPM::Config + frame_system::Config, + B: BlockT, +>( + ext: &mut Ext, us: &AccountId, ) -> Result<(), Error> { - crate::any_runtime! { - use EPM::{SignedSubmissions, signed::SignedSubmission}; - let key = sp_core::storage::StorageKey(SignedSubmissions::::hashed_key().to_vec()); - let queue = - get_storage::>>(client, params!{ key, at }).await - ?.unwrap_or_default(); - - // if we have a solution in the queue, then don't do anything. - if queue.iter().any(|ss| &ss.who == us) { + use EPM::signed::SignedSubmissions; + ext.execute_with(|| { + if >::get().iter().any(|ss| &ss.who == us) { Err(Error::AlreadySubmitted) } else { Ok(()) } - } + }) } macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { @@ -82,7 +78,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { .await .unwrap(); - while let Some(now) = subscription.next().await { + while let Some(now) = subscription.next().await.unwrap() { let hash = now.hash(); log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number, hash); @@ -91,12 +87,6 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { continue; }; - if ensure_no_previous_solution::(&client, hash, &signer.account).await.is_err() - { - log::debug!(target: LOG_TARGET, "We already have a solution in this phase, skipping."); - continue; - } - // NOTE: we don't check the score of any of the submitted solutions. If we submit a weak // one, as long as we are valid, we will end up getting our deposit back, so not a big // deal for now. Note that to avoid an unfeasible solution, we should make sure that we @@ -105,6 +95,12 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { // grab an externalities without staking, just the election snapshot. let mut ext = crate::create_election_ext::(shared.uri.clone(), Some(hash), false).await?; + + if ensure_no_previous_solution::(&mut ext, &signer.account).await.is_err() { + log::debug!(target: LOG_TARGET, "We already have a solution in this phase, skipping."); + continue; + } + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 50)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); @@ -128,7 +124,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { .await .unwrap(); - let _success = while let Some(status_update) = tx_subscription.next().await { + let _success = while let Some(status_update) = tx_subscription.next().await.unwrap() { log::trace!(target: LOG_TARGET, "status update {:?}", status_update); match status_update { TransactionStatus::Ready | TransactionStatus::Broadcast(_) | TransactionStatus::Future => continue, From 3980e850aa27cc637b0060f8d52dce85749238e5 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Mon, 28 Jun 2021 10:09:48 +0200 Subject: [PATCH 14/31] Fix --- utils/staking-miner/.gitignore | 1 + utils/staking-miner/src/emergency_solution.rs | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 utils/staking-miner/.gitignore create mode 100644 utils/staking-miner/src/emergency_solution.rs diff --git a/utils/staking-miner/.gitignore b/utils/staking-miner/.gitignore new file mode 100644 index 000000000000..c996e507d120 --- /dev/null +++ b/utils/staking-miner/.gitignore @@ -0,0 +1 @@ +*.key diff --git a/utils/staking-miner/src/emergency_solution.rs b/utils/staking-miner/src/emergency_solution.rs new file mode 100644 index 000000000000..01d0957d3315 --- /dev/null +++ b/utils/staking-miner/src/emergency_solution.rs @@ -0,0 +1,53 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! The emergency-solution command. + +use crate::{prelude::*, SharedConfig, WsClient, Error}; +use std::io::Write; +use codec::Encode; + +macro_rules! emergency_solution_cmd_for { ($runtime:ident) => { paste::paste! { + /// Execute the emergency-solution command. + pub(crate) async fn []( + _client: WsClient, + shared: SharedConfig, + ) -> Result<(), Error> { + use $crate::[<$runtime _runtime_exports>]::*; + let mut ext = crate::create_election_ext::(shared.uri.clone(), None, false).await?; + ext.execute_with(|| { + assert!(EPM::Pallet::::current_phase().is_emergency()); + // NOTE: this internally calls feasibility_check, but we just re-do it here as an easy way + // to get a `ReadySolution`. + let (raw_solution, _) = >::mine_solution(50)?; + log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); + let ready_solution = EPM::Pallet::::feasibility_check(raw_solution, EPM::ElectionCompute::Signed)?; + let encoded_ready = ready_solution.encode(); + let encoded_support = ready_solution.supports.encode(); + let mut solution_file = std::fs::File::create("solution.bin")?; + let mut supports_file = std::fs::File::create("solution.supports.bin")?; + solution_file.write_all(&encoded_ready)?; + supports_file.write_all(&encoded_support)?; + log::info!(target: LOG_TARGET, "ReadySolution: size {:?} / score = {:?}", encoded_ready.len(), ready_solution.score); + log::trace!(target: LOG_TARGET, "Supports: {}", sp_core::hexdisplay::HexDisplay::from(&encoded_support)); + Ok(()) + }) + } +}}} + +emergency_solution_cmd_for!(polkadot); +emergency_solution_cmd_for!(kusama); +emergency_solution_cmd_for!(westend); From d1ba0cb53d030af5491968fc4be6fbc7273859c6 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 30 Jun 2021 20:54:30 +0200 Subject: [PATCH 15/31] revert dep update --- Cargo.lock | 356 +++++++++--------- bridges/bin/millau/node/Cargo.toml | 52 +-- bridges/bin/millau/runtime/Cargo.toml | 52 +-- bridges/bin/rialto/node/Cargo.toml | 52 +-- bridges/bin/rialto/runtime/Cargo.toml | 56 +-- bridges/bin/runtime-common/Cargo.toml | 12 +- bridges/fuzz/storage-proof/Cargo.toml | 18 +- bridges/modules/currency-exchange/Cargo.toml | 14 +- bridges/modules/dispatch/Cargo.toml | 12 +- .../ethereum-contract-builtin/Cargo.toml | 10 +- bridges/modules/ethereum/Cargo.toml | 12 +- bridges/modules/grandpa/Cargo.toml | 16 +- bridges/modules/messages/Cargo.toml | 16 +- .../modules/shift-session-manager/Cargo.toml | 14 +- bridges/primitives/chain-kusama/Cargo.toml | 4 +- bridges/primitives/chain-millau/Cargo.toml | 16 +- bridges/primitives/chain-polkadot/Cargo.toml | 4 +- bridges/primitives/chain-rialto/Cargo.toml | 12 +- bridges/primitives/chain-rococo/Cargo.toml | 8 +- bridges/primitives/chain-westend/Cargo.toml | 8 +- bridges/primitives/chain-wococo/Cargo.toml | 8 +- .../primitives/currency-exchange/Cargo.toml | 6 +- bridges/primitives/ethereum-poa/Cargo.toml | 8 +- bridges/primitives/header-chain/Cargo.toml | 10 +- .../primitives/message-dispatch/Cargo.toml | 4 +- bridges/primitives/messages/Cargo.toml | 6 +- bridges/primitives/polkadot-core/Cargo.toml | 14 +- bridges/primitives/runtime/Cargo.toml | 16 +- bridges/primitives/test-utils/Cargo.toml | 8 +- bridges/relays/bin-ethereum/Cargo.toml | 18 +- bridges/relays/bin-substrate/Cargo.toml | 14 +- bridges/relays/client-ethereum/Cargo.toml | 2 +- bridges/relays/client-kusama/Cargo.toml | 12 +- bridges/relays/client-millau/Cargo.toml | 12 +- bridges/relays/client-polkadot/Cargo.toml | 12 +- bridges/relays/client-rialto/Cargo.toml | 12 +- bridges/relays/client-rococo/Cargo.toml | 12 +- bridges/relays/client-substrate/Cargo.toml | 22 +- bridges/relays/client-westend/Cargo.toml | 12 +- bridges/relays/client-wococo/Cargo.toml | 12 +- bridges/relays/utils/Cargo.toml | 2 +- cli/Cargo.toml | 16 +- core-primitives/Cargo.toml | 6 +- erasure-coding/Cargo.toml | 4 +- node/client/Cargo.toml | 48 +-- node/collation-generation/Cargo.toml | 4 +- node/core/approval-voting/Cargo.toml | 22 +- node/core/av-store/Cargo.toml | 4 +- node/core/backing/Cargo.toml | 12 +- node/core/bitfield-signing/Cargo.toml | 2 +- node/core/candidate-validation/Cargo.toml | 6 +- node/core/chain-api/Cargo.toml | 8 +- node/core/chain-selection/Cargo.toml | 2 +- node/core/dispute-coordinator/Cargo.toml | 8 +- node/core/dispute-participation/Cargo.toml | 2 +- node/core/parachains-inherent/Cargo.toml | 6 +- node/core/provisioner/Cargo.toml | 4 +- node/core/pvf/Cargo.toml | 14 +- node/core/runtime-api/Cargo.toml | 10 +- node/jaeger/Cargo.toml | 4 +- node/network/approval-distribution/Cargo.toml | 2 +- .../availability-distribution/Cargo.toml | 16 +- node/network/availability-recovery/Cargo.toml | 8 +- node/network/bitfield-distribution/Cargo.toml | 6 +- node/network/bridge/Cargo.toml | 10 +- node/network/collator-protocol/Cargo.toml | 10 +- node/network/gossip-support/Cargo.toml | 14 +- node/network/protocol/Cargo.toml | 2 +- .../network/statement-distribution/Cargo.toml | 18 +- node/overseer/Cargo.toml | 6 +- node/primitives/Cargo.toml | 14 +- node/service/Cargo.toml | 92 ++--- node/subsystem-test-helpers/Cargo.toml | 4 +- node/subsystem-util/Cargo.toml | 10 +- node/subsystem/Cargo.toml | 6 +- node/test/client/Cargo.toml | 28 +- node/test/service/Cargo.toml | 62 +-- parachain/Cargo.toml | 6 +- parachain/test-parachains/Cargo.toml | 2 +- parachain/test-parachains/adder/Cargo.toml | 4 +- .../test-parachains/adder/collator/Cargo.toml | 14 +- primitives/Cargo.toml | 32 +- rpc/Cargo.toml | 46 +-- runtime/common/Cargo.toml | 64 ++-- runtime/common/slot_range_helper/Cargo.toml | 4 +- runtime/kusama/Cargo.toml | 126 +++---- runtime/parachains/Cargo.toml | 58 +-- runtime/polkadot/Cargo.toml | 118 +++--- runtime/rococo/Cargo.toml | 84 ++--- runtime/test-runtime/Cargo.toml | 78 ++-- runtime/westend/Cargo.toml | 120 +++--- statement-table/Cargo.toml | 2 +- utils/staking-miner/Cargo.toml | 26 +- xcm/pallet-xcm/Cargo.toml | 8 +- xcm/xcm-builder/Cargo.toml | 14 +- xcm/xcm-executor/Cargo.toml | 12 +- 96 files changed, 1132 insertions(+), 1142 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f8498330731c..08aa0c8e6c75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#e26872c7efea7b059c31c5c4b07810c1bd490db9" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#be278c0dbe10d78ad1ea8a6a9352af181c9b21b1" dependencies = [ "beefy-primitives", "futures 0.3.15", @@ -500,7 +500,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#e26872c7efea7b059c31c5c4b07810c1bd490db9" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#be278c0dbe10d78ad1ea8a6a9352af181c9b21b1" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -521,7 +521,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#e26872c7efea7b059c31c5c4b07810c1bd490db9" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#be278c0dbe10d78ad1ea8a6a9352af181c9b21b1" dependencies = [ "parity-scale-codec", "sp-api", @@ -1912,7 +1912,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", ] @@ -1930,7 +1930,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -1949,7 +1949,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "Inflector", "chrono", @@ -1972,7 +1972,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -1985,7 +1985,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -2000,7 +2000,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "serde", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "bitflags", "frame-metadata", @@ -2038,7 +2038,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2050,7 +2050,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2062,7 +2062,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "proc-macro2", "quote", @@ -2072,7 +2072,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-metadata", "frame-support", @@ -2092,7 +2092,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2109,7 +2109,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "sp-api", @@ -2132,7 +2132,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "parity-scale-codec", @@ -4041,7 +4041,7 @@ dependencies = [ [[package]] name = "max-encoded-len" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "impl-trait-for-tuples", "max-encoded-len-derive", @@ -4052,7 +4052,7 @@ dependencies = [ [[package]] name = "max-encoded-len-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -4604,7 +4604,7 @@ checksum = "2386b4ebe91c2f7f51082d4cefa145d030e33a1842a96b12e4885cc3c01f7a55" [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -4619,7 +4619,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -4633,7 +4633,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4671,7 +4671,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "0.1.0" -source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=kiz-staking-miner#e26872c7efea7b059c31c5c4b07810c1bd490db9" +source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#be278c0dbe10d78ad1ea8a6a9352af181c9b21b1" dependencies = [ "beefy-primitives", "frame-support", @@ -4686,7 +4686,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4722,7 +4722,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4738,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4753,7 +4753,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4774,7 +4774,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4805,7 +4805,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4842,7 +4842,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4861,7 +4861,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4877,7 +4877,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4892,7 +4892,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4909,7 +4909,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -4925,7 +4925,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4943,7 +4943,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -4958,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -4971,7 +4971,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -4987,7 +4987,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5009,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -5025,7 +5025,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "enumflags2", "frame-support", @@ -5039,7 +5039,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -5054,7 +5054,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -5074,7 +5074,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -5090,7 +5090,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -5103,7 +5103,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5127,7 +5127,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5138,7 +5138,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "log", "sp-arithmetic", @@ -5147,7 +5147,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -5160,7 +5160,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -5178,7 +5178,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -5193,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-support", "frame-system", @@ -5209,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5226,7 +5226,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5237,7 +5237,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -5253,7 +5253,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-benchmarking", "frame-support", @@ -5268,7 +5268,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7569,7 +7569,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "env_logger 0.8.4", "hex", @@ -7848,10 +7848,22 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "sc-allocator" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" +dependencies = [ + "log", + "sp-core", + "sp-std", + "sp-wasm-interface", + "thiserror", +] + [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "derive_more", @@ -7880,7 +7892,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -7903,7 +7915,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7919,7 +7931,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7931,7 +7943,6 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-chain-spec", "sp-consensus-babe", "sp-core", "sp-runtime", @@ -7940,7 +7951,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -7951,7 +7962,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "chrono", "fdlimit", @@ -7989,7 +8000,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "derive_more", "fnv", @@ -8023,7 +8034,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "blake2-rfc", "hash-db", @@ -8053,7 +8064,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "parking_lot 0.11.1", @@ -8066,7 +8077,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "derive_more", @@ -8112,7 +8123,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "derive_more", "futures 0.3.15", @@ -8136,7 +8147,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8149,7 +8160,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "futures 0.3.15", @@ -8177,7 +8188,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "sc-client-api", "sp-authorship", @@ -8188,7 +8199,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "derive_more", "lazy_static", @@ -8217,12 +8228,12 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "derive_more", "parity-scale-codec", "pwasm-utils", - "sp-allocator", + "sc-allocator", "sp-core", "sp-maybe-compressed-blob", "sp-serializer", @@ -8234,12 +8245,12 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "log", "parity-scale-codec", + "sc-allocator", "sc-executor-common", - "sp-allocator", "sp-core", "sp-runtime-interface", "sp-wasm-interface", @@ -8249,16 +8260,16 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "cfg-if 1.0.0", "libc", "log", "parity-scale-codec", "parity-wasm 0.42.2", + "sc-allocator", "sc-executor-common", "scoped-tls", - "sp-allocator", "sp-core", "sp-runtime-interface", "sp-wasm-interface", @@ -8268,7 +8279,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "derive_more", @@ -8309,7 +8320,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "derive_more", "finality-grandpa", @@ -8333,7 +8344,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "derive_more", "futures 0.3.15", @@ -8354,7 +8365,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "ansi_term 0.12.1", "futures 0.3.15", @@ -8372,7 +8383,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "derive_more", @@ -8392,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "hash-db", "lazy_static", @@ -8411,7 +8422,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-std", "async-trait", @@ -8464,7 +8475,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8481,7 +8492,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "bytes 0.5.6", "fnv", @@ -8509,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.3.15", "libp2p", @@ -8522,7 +8533,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8531,7 +8542,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.3.15", "hash-db", @@ -8541,6 +8552,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.11.1", "sc-block-builder", + "sc-chain-spec", "sc-client-api", "sc-executor", "sc-keystore", @@ -8549,7 +8561,6 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-chain-spec", "sp-core", "sp-keystore", "sp-offchain", @@ -8566,7 +8577,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "derive_more", "futures 0.3.15", @@ -8577,9 +8588,9 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.11.1", + "sc-chain-spec", "serde", "serde_json", - "sp-chain-spec", "sp-core", "sp-rpc", "sp-runtime", @@ -8591,7 +8602,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.1.31", "jsonrpc-core", @@ -8609,7 +8620,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "directories", @@ -8675,7 +8686,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "log", "parity-scale-codec", @@ -8690,7 +8701,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8710,7 +8721,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "chrono", "futures 0.3.15", @@ -8730,7 +8741,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8767,7 +8778,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8778,7 +8789,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "derive_more", "futures 0.3.15", @@ -8800,7 +8811,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.3.15", "intervalier", @@ -9285,22 +9296,10 @@ dependencies = [ "sha-1 0.9.6", ] -[[package]] -name = "sp-allocator" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" -dependencies = [ - "log", - "sp-core", - "sp-std", - "sp-wasm-interface", - "thiserror", -] - [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "hash-db", "log", @@ -9317,7 +9316,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9329,7 +9328,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "max-encoded-len", "parity-scale-codec", @@ -9342,7 +9341,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "integer-sqrt", "num-traits", @@ -9356,7 +9355,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "sp-api", @@ -9368,7 +9367,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "parity-scale-codec", @@ -9380,7 +9379,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "sp-api", @@ -9392,7 +9391,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.3.15", "log", @@ -9407,19 +9406,10 @@ dependencies = [ "thiserror", ] -[[package]] -name = "sp-chain-spec" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" -dependencies = [ - "serde", - "serde_json", -] - [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "futures 0.3.15", @@ -9446,7 +9436,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "merlin", @@ -9468,7 +9458,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9478,7 +9468,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9490,7 +9480,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "base58", "blake2-rfc", @@ -9535,7 +9525,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9544,7 +9534,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "proc-macro2", "quote", @@ -9554,7 +9544,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "environmental", "parity-scale-codec", @@ -9565,7 +9555,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "finality-grandpa", "log", @@ -9582,7 +9572,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9596,7 +9586,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.3.15", "hash-db", @@ -9621,7 +9611,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "lazy_static", "sp-core", @@ -9632,7 +9622,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "derive_more", @@ -9649,7 +9639,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "ruzstd", "zstd", @@ -9658,7 +9648,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "serde", @@ -9671,7 +9661,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9682,7 +9672,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "sp-api", "sp-core", @@ -9692,7 +9682,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "backtrace", ] @@ -9700,7 +9690,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "rustc-hash", "serde", @@ -9711,7 +9701,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "either", "hash256-std-hasher", @@ -9733,7 +9723,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9750,7 +9740,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9762,7 +9752,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "serde", "serde_json", @@ -9771,7 +9761,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "sp-api", @@ -9784,7 +9774,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9794,7 +9784,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "hash-db", "log", @@ -9817,12 +9807,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9835,7 +9825,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "log", "sp-core", @@ -9848,7 +9838,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9865,7 +9855,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "erased-serde", "log", @@ -9883,7 +9873,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "derive_more", "futures 0.3.15", @@ -9899,7 +9889,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "log", @@ -9914,7 +9904,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "hash-db", "memory-db", @@ -9928,7 +9918,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.3.15", "futures-core", @@ -9940,7 +9930,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9953,7 +9943,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -9965,7 +9955,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10153,7 +10143,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "chrono", "console_error_panic_hook", @@ -10179,7 +10169,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "platforms", ] @@ -10187,7 +10177,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.15", @@ -10210,7 +10200,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-std", "derive_more", @@ -10224,7 +10214,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "async-trait", "futures 0.1.31", @@ -10253,7 +10243,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "futures 0.3.15", "substrate-test-utils-derive", @@ -10263,7 +10253,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -11013,7 +11003,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=kiz-staking-miner#2d83f3d7a5c712c011f467bf78cbc716a1b9ccbb" +source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" dependencies = [ "frame-try-runtime", "log", diff --git a/bridges/bin/millau/node/Cargo.toml b/bridges/bin/millau/node/Cargo.toml index 9253d8976514..9007606ba087 100644 --- a/bridges/bin/millau/node/Cargo.toml +++ b/bridges/bin/millau/node/Cargo.toml @@ -24,35 +24,35 @@ pallet-bridge-messages = { path = "../../../modules/messages" } # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -node-inspect = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "kiz-staking-miner" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +node-inspect = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" } [build-dependencies] substrate-build-script-utils = "3.0.0" -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = [] diff --git a/bridges/bin/millau/runtime/Cargo.toml b/bridges/bin/millau/runtime/Cargo.toml index a5bcbca3bad7..161d7d47c07f 100644 --- a/bridges/bin/millau/runtime/Cargo.toml +++ b/bridges/bin/millau/runtime/Cargo.toml @@ -28,32 +28,32 @@ pallet-shift-session-manager = { path = "../../../modules/shift-session-manager" # Substrate Dependencies -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [build-dependencies] substrate-wasm-builder = "3.0.0" diff --git a/bridges/bin/rialto/node/Cargo.toml b/bridges/bin/rialto/node/Cargo.toml index 906de6062439..beba21084da0 100644 --- a/bridges/bin/rialto/node/Cargo.toml +++ b/bridges/bin/rialto/node/Cargo.toml @@ -25,35 +25,35 @@ rialto-runtime = { path = "../runtime" } # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -node-inspect = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "kiz-staking-miner" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +node-inspect = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" } [build-dependencies] substrate-build-script-utils = "3.0.0" -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = [] diff --git a/bridges/bin/rialto/runtime/Cargo.toml b/bridges/bin/rialto/runtime/Cargo.toml index 646d4cbf7e66..6d1d066e40d3 100644 --- a/bridges/bin/rialto/runtime/Cargo.toml +++ b/bridges/bin/rialto/runtime/Cargo.toml @@ -34,34 +34,34 @@ pallet-shift-session-manager = { path = "../../../modules/shift-session-manager" # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] diff --git a/bridges/bin/runtime-common/Cargo.toml b/bridges/bin/runtime-common/Cargo.toml index 88e086dfd45c..ce30a49a0164 100644 --- a/bridges/bin/runtime-common/Cargo.toml +++ b/bridges/bin/runtime-common/Cargo.toml @@ -23,12 +23,12 @@ pallet-bridge-messages = { path = "../../modules/messages", default-features = f # Substrate dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/fuzz/storage-proof/Cargo.toml b/bridges/fuzz/storage-proof/Cargo.toml index e2c1454b8c90..05456114e6b2 100644 --- a/bridges/fuzz/storage-proof/Cargo.toml +++ b/bridges/fuzz/storage-proof/Cargo.toml @@ -23,12 +23,12 @@ bp-test-utils = { path = "../../primitives/test-utils" } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/modules/currency-exchange/Cargo.toml b/bridges/modules/currency-exchange/Cargo.toml index eff724e27664..fe340434f551 100644 --- a/bridges/modules/currency-exchange/Cargo.toml +++ b/bridges/modules/currency-exchange/Cargo.toml @@ -18,15 +18,15 @@ bp-header-chain = { path = "../../primitives/header-chain", default-features = f # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/bridges/modules/dispatch/Cargo.toml b/bridges/modules/dispatch/Cargo.toml index a83f6b47e818..bb09bf66a4a9 100644 --- a/bridges/modules/dispatch/Cargo.toml +++ b/bridges/modules/dispatch/Cargo.toml @@ -17,14 +17,14 @@ bp-runtime = { path = "../../primitives/runtime", default-features = false } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } serde = "1.0" [features] diff --git a/bridges/modules/ethereum-contract-builtin/Cargo.toml b/bridges/modules/ethereum-contract-builtin/Cargo.toml index f77ba9b2cc1a..d20b0d0be85b 100644 --- a/bridges/modules/ethereum-contract-builtin/Cargo.toml +++ b/bridges/modules/ethereum-contract-builtin/Cargo.toml @@ -19,10 +19,10 @@ rialto-runtime = { path = "../../bin/rialto/runtime" } # Substrate Dependencies -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/modules/ethereum/Cargo.toml b/bridges/modules/ethereum/Cargo.toml index ad69882713d7..6c547637e667 100644 --- a/bridges/modules/ethereum/Cargo.toml +++ b/bridges/modules/ethereum/Cargo.toml @@ -18,12 +18,12 @@ bp-eth-poa = { path = "../../primitives/ethereum-poa", default-features = false # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] libsecp256k1 = { version = "0.3.4", features = ["hmac"] } diff --git a/bridges/modules/grandpa/Cargo.toml b/bridges/modules/grandpa/Cargo.toml index d1c3a4cfdeaf..86efd39922cf 100644 --- a/bridges/modules/grandpa/Cargo.toml +++ b/bridges/modules/grandpa/Cargo.toml @@ -21,19 +21,19 @@ bp-header-chain = { path = "../../primitives/header-chain", default-features = f # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } # Optional Benchmarking Dependencies bp-test-utils = { path = "../../primitives/test-utils", default-features = false, optional = true } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/bridges/modules/messages/Cargo.toml b/bridges/modules/messages/Cargo.toml index 52ebce51c6be..a3d93d3d962a 100644 --- a/bridges/modules/messages/Cargo.toml +++ b/bridges/modules/messages/Cargo.toml @@ -20,18 +20,18 @@ bp-runtime = { path = "../../primitives/runtime", default-features = false } # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] hex = "0.4" hex-literal = "0.3" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/bridges/modules/shift-session-manager/Cargo.toml b/bridges/modules/shift-session-manager/Cargo.toml index aea66763dec6..fd1be6d3c2a8 100644 --- a/bridges/modules/shift-session-manager/Cargo.toml +++ b/bridges/modules/shift-session-manager/Cargo.toml @@ -11,15 +11,15 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } serde = "1.0" [features] diff --git a/bridges/primitives/chain-kusama/Cargo.toml b/bridges/primitives/chain-kusama/Cargo.toml index ebe0659abb2e..151f06beaf54 100644 --- a/bridges/primitives/chain-kusama/Cargo.toml +++ b/bridges/primitives/chain-kusama/Cargo.toml @@ -14,8 +14,8 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/chain-millau/Cargo.toml b/bridges/primitives/chain-millau/Cargo.toml index e205935d8de7..dc30b1a7761c 100644 --- a/bridges/primitives/chain-millau/Cargo.toml +++ b/bridges/primitives/chain-millau/Cargo.toml @@ -21,14 +21,14 @@ serde = { version = "1.0.101", optional = true, features = ["derive"] } # Substrate Based Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/chain-polkadot/Cargo.toml b/bridges/primitives/chain-polkadot/Cargo.toml index 99034f098201..8cb6083cd5f8 100644 --- a/bridges/primitives/chain-polkadot/Cargo.toml +++ b/bridges/primitives/chain-polkadot/Cargo.toml @@ -15,8 +15,8 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/chain-rialto/Cargo.toml b/bridges/primitives/chain-rialto/Cargo.toml index d8258b38d3ea..42cd4d3c7309 100644 --- a/bridges/primitives/chain-rialto/Cargo.toml +++ b/bridges/primitives/chain-rialto/Cargo.toml @@ -15,12 +15,12 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/chain-rococo/Cargo.toml b/bridges/primitives/chain-rococo/Cargo.toml index fb101c962c1f..3e5f0339c222 100644 --- a/bridges/primitives/chain-rococo/Cargo.toml +++ b/bridges/primitives/chain-rococo/Cargo.toml @@ -16,10 +16,10 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/chain-westend/Cargo.toml b/bridges/primitives/chain-westend/Cargo.toml index 5e2b573b6b0d..1f15f7eab288 100644 --- a/bridges/primitives/chain-westend/Cargo.toml +++ b/bridges/primitives/chain-westend/Cargo.toml @@ -16,10 +16,10 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/chain-wococo/Cargo.toml b/bridges/primitives/chain-wococo/Cargo.toml index c3f47001dada..30070d81c511 100644 --- a/bridges/primitives/chain-wococo/Cargo.toml +++ b/bridges/primitives/chain-wococo/Cargo.toml @@ -16,10 +16,10 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/currency-exchange/Cargo.toml b/bridges/primitives/currency-exchange/Cargo.toml index 32f26cbef0ea..e95834dee2ce 100644 --- a/bridges/primitives/currency-exchange/Cargo.toml +++ b/bridges/primitives/currency-exchange/Cargo.toml @@ -11,9 +11,9 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/ethereum-poa/Cargo.toml b/bridges/primitives/ethereum-poa/Cargo.toml index d96e46b8ccda..f8b6eda5095c 100644 --- a/bridges/primitives/ethereum-poa/Cargo.toml +++ b/bridges/primitives/ethereum-poa/Cargo.toml @@ -24,10 +24,10 @@ triehash = { version = "0.8.2", default-features = false } # Substrate Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] hex-literal = "0.2" diff --git a/bridges/primitives/header-chain/Cargo.toml b/bridges/primitives/header-chain/Cargo.toml index 0620e20cb127..4e12077ca5b4 100644 --- a/bridges/primitives/header-chain/Cargo.toml +++ b/bridges/primitives/header-chain/Cargo.toml @@ -13,11 +13,11 @@ serde = { version = "1.0", optional = true } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] bp-test-utils = { path = "../test-utils" } diff --git a/bridges/primitives/message-dispatch/Cargo.toml b/bridges/primitives/message-dispatch/Cargo.toml index a3bd1d5c50ed..ba17ccaa4ea9 100644 --- a/bridges/primitives/message-dispatch/Cargo.toml +++ b/bridges/primitives/message-dispatch/Cargo.toml @@ -12,8 +12,8 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/messages/Cargo.toml b/bridges/primitives/messages/Cargo.toml index f7237fda1eed..a479b2790ec1 100644 --- a/bridges/primitives/messages/Cargo.toml +++ b/bridges/primitives/messages/Cargo.toml @@ -15,9 +15,9 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/primitives/polkadot-core/Cargo.toml b/bridges/primitives/polkadot-core/Cargo.toml index 3c3861261af8..82bd7532ddd9 100644 --- a/bridges/primitives/polkadot-core/Cargo.toml +++ b/bridges/primitives/polkadot-core/Cargo.toml @@ -16,13 +16,13 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] hex = "0.4" diff --git a/bridges/primitives/runtime/Cargo.toml b/bridges/primitives/runtime/Cargo.toml index f9a177c0ac7f..77e90c39ec49 100644 --- a/bridges/primitives/runtime/Cargo.toml +++ b/bridges/primitives/runtime/Cargo.toml @@ -13,16 +13,16 @@ num-traits = { version = "0.2", default-features = false } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] diff --git a/bridges/primitives/test-utils/Cargo.toml b/bridges/primitives/test-utils/Cargo.toml index 11fdec286e09..9f9dceeba94c 100644 --- a/bridges/primitives/test-utils/Cargo.toml +++ b/bridges/primitives/test-utils/Cargo.toml @@ -10,10 +10,10 @@ bp-header-chain = { path = "../header-chain", default-features = false } ed25519-dalek = { version = "1.0", default-features = false, features = ["u64_backend"] } finality-grandpa = { version = "0.14.1", default-features = false } parity-scale-codec = { version = "2.0.0", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/bridges/relays/bin-ethereum/Cargo.toml b/bridges/relays/bin-ethereum/Cargo.toml index 722a105daf32..238afe4fbfe2 100644 --- a/bridges/relays/bin-ethereum/Cargo.toml +++ b/bridges/relays/bin-ethereum/Cargo.toml @@ -12,9 +12,9 @@ async-trait = "0.1.42" clap = { version = "2.33.3", features = ["yaml"] } codec = { package = "parity-scale-codec", version = "2.0.0" } env_logger = "0.8.3" -ethabi = { git = "https://github.com/paritytech/ethabi", branch = "kiz-staking-miner" } -ethabi-contract = { git = "https://github.com/paritytech/ethabi", branch = "kiz-staking-miner" } -ethabi-derive = { git = "https://github.com/paritytech/ethabi", branch = "kiz-staking-miner" } +ethabi = { git = "https://github.com/paritytech/ethabi", branch = "master" } +ethabi-contract = { git = "https://github.com/paritytech/ethabi", branch = "master" } +ethabi-derive = { git = "https://github.com/paritytech/ethabi", branch = "master" } futures = "0.3.12" hex = "0.4" hex-literal = "0.3" @@ -40,9 +40,9 @@ rialto-runtime = { path = "../../bin/rialto/runtime" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/relays/bin-substrate/Cargo.toml b/bridges/relays/bin-substrate/Cargo.toml index a8e6bb778447..bf047e5b9992 100644 --- a/bridges/relays/bin-substrate/Cargo.toml +++ b/bridges/relays/bin-substrate/Cargo.toml @@ -51,13 +51,13 @@ rialto-runtime = { path = "../../bin/rialto/runtime" } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } hex-literal = "0.3" diff --git a/bridges/relays/client-ethereum/Cargo.toml b/bridges/relays/client-ethereum/Cargo.toml index 1f73d2f5ada5..bb819b439280 100644 --- a/bridges/relays/client-ethereum/Cargo.toml +++ b/bridges/relays/client-ethereum/Cargo.toml @@ -15,4 +15,4 @@ jsonrpsee-ws-client = "=0.2.0-alpha.6" libsecp256k1 = { version = "0.3.4", default-features = false, features = ["hmac"] } log = "0.4.11" relay-utils = { path = "../utils" } -web3 = { version = "0.15", git = "https://github.com/tomusdrw/rust-web3", default-features = false , branch = "kiz-staking-miner" } +web3 = { version = "0.15", git = "https://github.com/tomusdrw/rust-web3", default-features = false , branch = "master" } diff --git a/bridges/relays/client-kusama/Cargo.toml b/bridges/relays/client-kusama/Cargo.toml index 108375527faf..b9c397bca6c0 100644 --- a/bridges/relays/client-kusama/Cargo.toml +++ b/bridges/relays/client-kusama/Cargo.toml @@ -17,9 +17,9 @@ bp-kusama = { path = "../../primitives/chain-kusama" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/relays/client-millau/Cargo.toml b/bridges/relays/client-millau/Cargo.toml index ceb321683bdd..e16f06f8528b 100644 --- a/bridges/relays/client-millau/Cargo.toml +++ b/bridges/relays/client-millau/Cargo.toml @@ -17,9 +17,9 @@ millau-runtime = { path = "../../bin/millau/runtime" } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/relays/client-polkadot/Cargo.toml b/bridges/relays/client-polkadot/Cargo.toml index 68550b3acb24..b148745f5a98 100644 --- a/bridges/relays/client-polkadot/Cargo.toml +++ b/bridges/relays/client-polkadot/Cargo.toml @@ -17,9 +17,9 @@ bp-polkadot = { path = "../../primitives/chain-polkadot" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/relays/client-rialto/Cargo.toml b/bridges/relays/client-rialto/Cargo.toml index 2f59eb6359cc..88e8e12add40 100644 --- a/bridges/relays/client-rialto/Cargo.toml +++ b/bridges/relays/client-rialto/Cargo.toml @@ -17,9 +17,9 @@ rialto-runtime = { path = "../../bin/rialto/runtime" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/relays/client-rococo/Cargo.toml b/bridges/relays/client-rococo/Cargo.toml index 98c125b9025c..095f365374a8 100644 --- a/bridges/relays/client-rococo/Cargo.toml +++ b/bridges/relays/client-rococo/Cargo.toml @@ -15,9 +15,9 @@ relay-utils = { path = "../utils" } bp-rococo = { path = "../../primitives/chain-rococo" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/relays/client-substrate/Cargo.toml b/bridges/relays/client-substrate/Cargo.toml index 3af8062516a6..699c3da400ff 100644 --- a/bridges/relays/client-substrate/Cargo.toml +++ b/bridges/relays/client-substrate/Cargo.toml @@ -26,17 +26,17 @@ relay-utils = { path = "../utils" } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } #[dev-dependencies] futures = "0.3.7" diff --git a/bridges/relays/client-westend/Cargo.toml b/bridges/relays/client-westend/Cargo.toml index 6eb723190c2d..a408ae3a46da 100644 --- a/bridges/relays/client-westend/Cargo.toml +++ b/bridges/relays/client-westend/Cargo.toml @@ -17,9 +17,9 @@ bp-westend = { path = "../../primitives/chain-westend" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/relays/client-wococo/Cargo.toml b/bridges/relays/client-wococo/Cargo.toml index 33fa6a1a8096..22d710ca3d7b 100644 --- a/bridges/relays/client-wococo/Cargo.toml +++ b/bridges/relays/client-wococo/Cargo.toml @@ -15,9 +15,9 @@ relay-utils = { path = "../utils" } bp-wococo = { path = "../../primitives/chain-wococo" } # Substrate Dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/relays/utils/Cargo.toml b/bridges/relays/utils/Cargo.toml index 2131c5a02169..ff80cab53381 100644 --- a/bridges/relays/utils/Cargo.toml +++ b/bridges/relays/utils/Cargo.toml @@ -22,4 +22,4 @@ time = "0.2" # Substrate dependencies -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 605323d6cd0e..09b27d6504e2 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -24,19 +24,19 @@ futures = "0.3.15" service = { package = "polkadot-service", path = "../node/service", default-features = false, optional = true } polkadot-node-core-pvf = { path = "../node/core/pvf", optional = true } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } -sc-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } -sc-service = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } -browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } # this crate is used only to enable `trie-memory-tracker` feature # see https://github.com/paritytech/substrate/pull/6745 -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = [ "wasmtime", "db", "cli", "full-node", "trie-memory-tracker" ] diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index e013e4e3b4e0..3f7178942cef 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -5,9 +5,9 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] } parity-util-mem = { version = "0.9.0", default-features = false, optional = true } diff --git a/erasure-coding/Cargo.toml b/erasure-coding/Cargo.toml index 30661387b4c9..a4d9523fa6fe 100644 --- a/erasure-coding/Cargo.toml +++ b/erasure-coding/Cargo.toml @@ -9,6 +9,6 @@ polkadot-primitives = { path = "../primitives" } polkadot-node-primitives = { package = "polkadot-node-primitives", path = "../node/primitives" } novelpoly = { package = "reed-solomon-novelpoly", version = "1.0.0" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["std", "derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.23" diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index cea5921562e0..11b7205a6876 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -5,30 +5,30 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } - -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } - -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-service = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } - -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } - -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } + +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } + +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } + +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master" } + +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } # Polkadot Runtimes polkadot-runtime = { path = "../../runtime/polkadot" } diff --git a/node/collation-generation/Cargo.toml b/node/collation-generation/Cargo.toml index 5f11b5a923ae..e669b9f32cbe 100644 --- a/node/collation-generation/Cargo.toml +++ b/node/collation-generation/Cargo.toml @@ -12,8 +12,8 @@ polkadot-node-primitives = { path = "../primitives" } polkadot-node-subsystem = { path = "../subsystem" } polkadot-node-subsystem-util = { path = "../subsystem-util" } polkadot-primitives = { path = "../../primitives" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.23" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index d50412d6587d..cf90937c3c53 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -23,21 +23,21 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-jaeger = { path = "../../jaeger" } -sc-client-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-consensus = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-consensus-slots = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["full_crypto"] , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sc-client-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-consensus-slots = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["full_crypto"] , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] parking_lot = "0.11.1" rand_core = "0.5.1" # should match schnorrkel -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } maplit = "1.0.2" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } assert_matches = "1.4.0" diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index c00e7a72441b..1880b5b80fff 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -26,8 +26,8 @@ env_logger = "0.8.4" assert_matches = "1.4.0" kvdb-memorydb = "0.9.0" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } parking_lot = "0.11.1" diff --git a/node/core/backing/Cargo.toml b/node/core/backing/Cargo.toml index 4653b211450d..aaac65f4955e 100644 --- a/node/core/backing/Cargo.toml +++ b/node/core/backing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] futures = "0.3.15" -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } @@ -18,11 +18,11 @@ tracing = "0.1.26" thiserror = "1.0.23" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } futures = { version = "0.3.15", features = ["thread-pool"] } assert_matches = "1.4.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/core/bitfield-signing/Cargo.toml b/node/core/bitfield-signing/Cargo.toml index 5bd80c80d3bd..bf67a0f3783c 100644 --- a/node/core/bitfield-signing/Cargo.toml +++ b/node/core/bitfield-signing/Cargo.toml @@ -10,7 +10,7 @@ tracing = "0.1.26" polkadot-primitives = { path = "../../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } wasm-timer = "0.2.5" thiserror = "1.0.23" diff --git a/node/core/candidate-validation/Cargo.toml b/node/core/candidate-validation/Cargo.toml index 844f4d30b835..a109cb590510 100644 --- a/node/core/candidate-validation/Cargo.toml +++ b/node/core/candidate-validation/Cargo.toml @@ -9,7 +9,7 @@ async-trait = "0.1.42" futures = "0.3.15" tracing = "0.1.26" -sp-maybe-compressed-blob = { package = "sp-maybe-compressed-blob", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-maybe-compressed-blob = { package = "sp-maybe-compressed-blob", git = "https://github.com/paritytech/substrate", branch = "master" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } polkadot-primitives = { path = "../../../primitives" } @@ -22,8 +22,8 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-core-pvf = { path = "../pvf" } [dev-dependencies] -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } futures = { version = "0.3.15", features = ["thread-pool"] } assert_matches = "1.4.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/chain-api/Cargo.toml b/node/core/chain-api/Cargo.toml index a9684d2aa141..8f9ec9f8b33f 100644 --- a/node/core/chain-api/Cargo.toml +++ b/node/core/chain-api/Cargo.toml @@ -7,12 +7,12 @@ edition = "2018" [dependencies] futures = "0.3.15" tracing = "0.1.26" -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-primitives = { path = "../../../primitives" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] futures = { version = "0.3.15", features = ["thread-pool"] } @@ -20,4 +20,4 @@ maplit = "1.0.2" parity-scale-codec = "2.0.0" polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/chain-selection/Cargo.toml b/node/core/chain-selection/Cargo.toml index a00532355022..ee498427ea0d 100644 --- a/node/core/chain-selection/Cargo.toml +++ b/node/core/chain-selection/Cargo.toml @@ -18,6 +18,6 @@ parity-scale-codec = "2" [dev-dependencies] polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } parking_lot = "0.11" assert_matches = "1" diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index b3c8440f05f8..f2ba0491005f 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -18,12 +18,12 @@ polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] kvdb-memorydb = "0.9.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers"} -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } assert_matches = "1.4.0" diff --git a/node/core/dispute-participation/Cargo.toml b/node/core/dispute-participation/Cargo.toml index 7681601eab52..7de5c195b6d7 100644 --- a/node/core/dispute-participation/Cargo.toml +++ b/node/core/dispute-participation/Cargo.toml @@ -17,4 +17,4 @@ polkadot-primitives = { path = "../../../primitives" } assert_matches = "1.5.0" parity-scale-codec = "2.0.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers"} -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/parachains-inherent/Cargo.toml b/node/core/parachains-inherent/Cargo.toml index c3159d52495b..6dd3d3bbdab6 100644 --- a/node/core/parachains-inherent/Cargo.toml +++ b/node/core/parachains-inherent/Cargo.toml @@ -13,6 +13,6 @@ async-trait = "0.1.47" polkadot-node-subsystem = { path = "../../subsystem" } polkadot-overseer = { path = "../../overseer" } polkadot-primitives = { path = "../../../primitives" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/provisioner/Cargo.toml b/node/core/provisioner/Cargo.toml index e58347b86376..fb6259f6878e 100644 --- a/node/core/provisioner/Cargo.toml +++ b/node/core/provisioner/Cargo.toml @@ -15,6 +15,6 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" } futures-timer = "3.0.2" [dev-dependencies] -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index 5541630e4c5c..13d0ce7e1dbb 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -23,13 +23,13 @@ rand = "0.8.3" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } polkadot-parachain = { path = "../../../parachain" } polkadot-core-primitives = { path = "../../../core-primitives" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-executor-wasmtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor-wasmtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] adder = { package = "test-parachain-adder", path = "../../../parachain/test-parachains/adder" } diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index c4ae69d869b5..27d2c5a20a3b 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -10,17 +10,17 @@ tracing = "0.1.26" memory-lru = "0.1.0" parity-util-mem = { version = "0.9.0", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-primitives = { path = "../../../primitives" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } futures = { version = "0.3.15", features = ["thread-pool"] } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } polkadot-node-primitives = { path = "../../primitives" } diff --git a/node/jaeger/Cargo.toml b/node/jaeger/Cargo.toml index 214018586686..4bbcb0541473 100644 --- a/node/jaeger/Cargo.toml +++ b/node/jaeger/Cargo.toml @@ -12,8 +12,8 @@ lazy_static = "1.4" parking_lot = "0.11.1" polkadot-primitives = { path = "../../primitives" } polkadot-node-primitives = { path = "../primitives" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.23" log = "0.4.13" parity-scale-codec = { version = "2.0.0", default-features = false } diff --git a/node/network/approval-distribution/Cargo.toml b/node/network/approval-distribution/Cargo.toml index 8c0589a9c64e..6c08e85d5cf6 100644 --- a/node/network/approval-distribution/Cargo.toml +++ b/node/network/approval-distribution/Cargo.toml @@ -15,7 +15,7 @@ futures = "0.3.15" tracing = "0.1.26" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/network/availability-distribution/Cargo.toml b/node/network/availability-distribution/Cargo.toml index 91d0abd7d637..6ac0fe289d2d 100644 --- a/node/network/availability-distribution/Cargo.toml +++ b/node/network/availability-distribution/Cargo.toml @@ -15,20 +15,20 @@ polkadot-node-network-protocol = { path = "../../network/protocol" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-core-runtime-api = { path = "../../core/runtime-api" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.23" rand = "0.8.3" lru = "0.6.5" [dev-dependencies] polkadot-subsystem-testhelpers = { package = "polkadot-node-subsystem-test-helpers", path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } futures-timer = "3.0.2" assert_matches = "1.4.0" maplit = "1.0" diff --git a/node/network/availability-recovery/Cargo.toml b/node/network/availability-recovery/Cargo.toml index 40920d426a0b..c88b9fd98cdb 100644 --- a/node/network/availability-recovery/Cargo.toml +++ b/node/network/availability-recovery/Cargo.toml @@ -26,9 +26,9 @@ futures-timer = "3.0.2" log = "0.4.11" smallvec = "1.5.1" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-subsystem-testhelpers = { package = "polkadot-node-subsystem-test-helpers", path = "../../subsystem-test-helpers" } diff --git a/node/network/bitfield-distribution/Cargo.toml b/node/network/bitfield-distribution/Cargo.toml index 21c5ad2a60f9..35cb91acc83e 100644 --- a/node/network/bitfield-distribution/Cargo.toml +++ b/node/network/bitfield-distribution/Cargo.toml @@ -15,9 +15,9 @@ polkadot-node-network-protocol = { path = "../../network/protocol" } [dev-dependencies] polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } maplit = "1.0.2" log = "0.4.13" env_logger = "0.8.4" diff --git a/node/network/bridge/Cargo.toml b/node/network/bridge/Cargo.toml index 2a1825278348..d9f8fedc19f7 100644 --- a/node/network/bridge/Cargo.toml +++ b/node/network/bridge/Cargo.toml @@ -10,9 +10,9 @@ futures = "0.3.15" tracing = "0.1.26" polkadot-primitives = { path = "../../../primitives" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-network-protocol = { path = "../protocol" } polkadot-node-subsystem-util = { path = "../../subsystem-util"} @@ -22,6 +22,6 @@ parking_lot = "0.11.1" [dev-dependencies] assert_matches = "1.4.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } futures-timer = "3" diff --git a/node/network/collator-protocol/Cargo.toml b/node/network/collator-protocol/Cargo.toml index 33ee76d8de9d..1807f2e255f3 100644 --- a/node/network/collator-protocol/Cargo.toml +++ b/node/network/collator-protocol/Cargo.toml @@ -11,9 +11,9 @@ futures-timer = "3" thiserror = "1.0.23" tracing = "0.1.26" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-primitives = { path = "../../../primitives" } polkadot-node-network-protocol = { path = "../../network/protocol" } @@ -26,7 +26,7 @@ log = "0.4.13" env_logger = "0.8.4" assert_matches = "1.4.0" -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-subsystem-testhelpers = { package = "polkadot-node-subsystem-test-helpers", path = "../../subsystem-test-helpers" } diff --git a/node/network/gossip-support/Cargo.toml b/node/network/gossip-support/Cargo.toml index 1819d756724b..98c5bffcbce0 100644 --- a/node/network/gossip-support/Cargo.toml +++ b/node/network/gossip-support/Cargo.toml @@ -5,9 +5,9 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-network-protocol = { path = "../protocol" } polkadot-node-subsystem = { path = "../../subsystem" } @@ -20,10 +20,10 @@ rand_chacha = { version = "0.3.1", default-features = false } tracing = "0.1.26" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/network/protocol/Cargo.toml b/node/network/protocol/Cargo.toml index 45fb7576aeaf..2e83e01fa045 100644 --- a/node/network/protocol/Cargo.toml +++ b/node/network/protocol/Cargo.toml @@ -10,7 +10,7 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-jaeger = { path = "../../jaeger" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } strum = { version = "0.20", features = ["derive"] } futures = "0.3.15" thiserror = "1.0.23" diff --git a/node/network/statement-distribution/Cargo.toml b/node/network/statement-distribution/Cargo.toml index 3a5b1ce49f8b..f6b5e0027848 100644 --- a/node/network/statement-distribution/Cargo.toml +++ b/node/network/statement-distribution/Cargo.toml @@ -9,9 +9,9 @@ edition = "2018" futures = "0.3.15" tracing = "0.1.26" polkadot-primitives = { path = "../../../primitives" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } @@ -24,10 +24,10 @@ thiserror = "1.0.23" [dev-dependencies] polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } assert_matches = "1.4.0" -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } futures-timer = "3.0.2" diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index de5a913f7047..0d83f5da4150 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -6,8 +6,8 @@ edition = "2018" [dependencies] async-trait = "0.1.42" -client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } futures = "0.3.15" futures-timer = "3.0.2" polkadot-node-primitives = { package = "polkadot-node-primitives", path = "../primitives" } @@ -19,7 +19,7 @@ tracing = "0.1.26" lru = "0.6" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-network-protocol = { path = "../network/protocol" } futures = { version = "0.3.15", features = ["thread-pool"] } femme = "2.1.1" diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index 1cbe96adfc14..2e0c4655c3c6 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -10,13 +10,13 @@ futures = "0.3.15" polkadot-primitives = { path = "../../primitives" } polkadot-statement-table = { path = "../../statement-table" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-vrf = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-vrf = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-parachain = { path = "../../parachain", default-features = false } schnorrkel = "0.9.1" thiserror = "1.0.22" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 699152690ee7..94d6170034e8 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -6,58 +6,58 @@ edition = "2018" [dependencies] # Substrate Client -sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } -beefy-gadget = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } -grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus-uncles = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-finality-grandpa-warp-sync = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -service = { package = "sc-service", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -telemetry = { package = "sc-telemetry", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } +babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } +beefy-gadget = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } +grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } +sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-uncles = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa-warp-sync = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } +service = { package = "sc-service", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +telemetry = { package = "sc-telemetry", git = "https://github.com/paritytech/substrate", branch = "master" } # Substrate Primitives -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } +consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "master" } +grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } # Substrate Pallets -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master" } # Substrate Other -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "master" } # External Crates futures = "0.3.15" diff --git a/node/subsystem-test-helpers/Cargo.toml b/node/subsystem-test-helpers/Cargo.toml index 69be1f4818e9..3ca9f0cdaa83 100644 --- a/node/subsystem-test-helpers/Cargo.toml +++ b/node/subsystem-test-helpers/Cargo.toml @@ -18,9 +18,9 @@ polkadot-node-subsystem = { path = "../subsystem" } polkadot-node-subsystem-util = { path = "../subsystem-util" } polkadot-primitives = { path = "../../primitives" } polkadot-statement-table = { path = "../../statement-table" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } smallvec = "1.6.1" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] polkadot-overseer = { path = "../overseer" } diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index add4e4a051be..63bbeee1ab33 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -25,11 +25,11 @@ polkadot-node-network-protocol = { path = "../network/protocol" } polkadot-primitives = { path = "../../primitives" } metered-channel = { path = "../metered-channel"} -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] assert_matches = "1.4.0" diff --git a/node/subsystem/Cargo.toml b/node/subsystem/Cargo.toml index c5ec29643de4..1300e2abc7dd 100644 --- a/node/subsystem/Cargo.toml +++ b/node/subsystem/Cargo.toml @@ -23,10 +23,10 @@ polkadot-primitives = { path = "../../primitives" } polkadot-statement-table = { path = "../../statement-table" } polkadot-node-jaeger = { path = "../jaeger" } polkadot-procmacro-subsystem-dispatch-gen = { path = "dispatch-gen" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } smallvec = "1.6.1" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.23" log = "0.4.13" diff --git a/node/test/client/Cargo.toml b/node/test/client/Cargo.toml index 11600ea4574e..25853c9d42f9 100644 --- a/node/test/client/Cargo.toml +++ b/node/test/client/Cargo.toml @@ -14,20 +14,20 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } # Substrate dependencies -substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } futures = "0.3.15" diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index 6af0452c76df..66dcc9e03f06 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -25,38 +25,38 @@ polkadot-test-runtime = { path = "../../../runtime/test-runtime" } polkadot-runtime-parachains = { path = "../../../runtime/parachains" } # Substrate dependencies -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -service = { package = "sc-service", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } +babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" } +consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } +grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +service = { package = "sc-service", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } serde_json = "1.0.61" -substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } tokio = { version = "0.2", features = ["macros"] } diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index a3b3dd7aa94b..5b53579bf692 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -11,9 +11,9 @@ edition = "2018" # various unnecessary Substrate-specific endpoints. parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] } parity-util-mem = { version = "0.9.0", optional = true } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } polkadot-core-primitives = { path = "../core-primitives", default-features = false } derive_more = "0.99.11" diff --git a/parachain/test-parachains/Cargo.toml b/parachain/test-parachains/Cargo.toml index d668480ae867..7fe688915cee 100644 --- a/parachain/test-parachains/Cargo.toml +++ b/parachain/test-parachains/Cargo.toml @@ -14,7 +14,7 @@ adder = { package = "test-parachain-adder", path = "adder" } halt = { package = "test-parachain-halt", path = "halt" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = [ "std" ] diff --git a/parachain/test-parachains/adder/Cargo.toml b/parachain/test-parachains/adder/Cargo.toml index 0a167472c586..7184c7afac58 100644 --- a/parachain/test-parachains/adder/Cargo.toml +++ b/parachain/test-parachains/adder/Cargo.toml @@ -9,12 +9,12 @@ build = "build.rs" [dependencies] parachain = { package = "polkadot-parachain", path = "../../", default-features = false, features = [ "wasm-api" ] } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } tiny-keccak = { version = "2.0.2", features = ["keccak"] } dlmalloc = { version = "0.2.1", features = [ "global" ] } # We need to make sure the global allocator is disabled until we have support of full substrate externalities -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, features = [ "disable_allocator" ] , branch = "kiz-staking-miner" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, features = [ "disable_allocator" ] , branch = "master" } [build-dependencies] substrate-wasm-builder = "3.0.0" diff --git a/parachain/test-parachains/adder/collator/Cargo.toml b/parachain/test-parachains/adder/collator/Cargo.toml index 1459b3d1d260..ee0bc558dcf9 100644 --- a/parachain/test-parachains/adder/collator/Cargo.toml +++ b/parachain/test-parachains/adder/collator/Cargo.toml @@ -27,10 +27,10 @@ polkadot-service = { path = "../../../../node/service", features = [ "rococo-nat polkadot-node-primitives = { path = "../../../../node/primitives" } polkadot-node-subsystem = { path = "../../../../node/subsystem" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } # This one is tricky. Even though it is not used directly by the collator, we still need it for the # `puppet_worker` binary, which is required for the integration test. However, this shouldn't be @@ -41,8 +41,8 @@ polkadot-node-core-pvf = { path = "../../../../node/core/pvf" } polkadot-parachain = { path = "../../.." } polkadot-test-service = { path = "../../../../node/test/service" } -substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } tokio = { version = "0.2", features = ["macros"] } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 6a261c7807c4..f2c3057c724d 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -7,30 +7,30 @@ edition = "2018" [dependencies] serde = { version = "1.0.123", optional = true, features = ["derive"] } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } -primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-consensus-slots = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-consensus-slots = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } polkadot-parachain = { path = "../parachain", default-features = false } polkadot-core-primitives = { path = "../core-primitives", default-features = false } -trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } hex-literal = "0.3.1" parity-util-mem = { version = "0.9.0", default-features = false, optional = true } thiserror = "1.0.23" [dev-dependencies] -sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "master" } pretty_assertions = "0.7.2" [features] diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 6d20eb0a6f5a..0c8a1f73517e 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -7,27 +7,27 @@ edition = "2018" [dependencies] jsonrpc-core = "15.1.0" polkadot-primitives = { path = "../primitives" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sc-sync-state-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -txpool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-mmr-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-babe-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-sync-state-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +txpool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master" } +frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-mmr-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } parity-scale-codec = { version = "2.0.0", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -beefy-gadget = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } -beefy-gadget-rpc = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "kiz-staking-miner" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +beefy-gadget = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } +beefy-gadget-rpc = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 5af93c6e199f..eb65d94da41f 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -14,33 +14,33 @@ serde = { version = "1.0.123", default-features = false } serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } -pallet-mmr = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } +pallet-mmr = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features=false, optional = true , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features=false, optional = true , branch = "master" } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } libsecp256k1 = { version = "0.3.5", default-features = false } @@ -51,14 +51,14 @@ xcm = { path = "../../xcm", default-features = false } [dev-dependencies] hex-literal = "0.3.1" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } trie-db = "0.22.3" serde_json = "1.0.61" libsecp256k1 = "0.3.5" diff --git a/runtime/common/slot_range_helper/Cargo.toml b/runtime/common/slot_range_helper/Cargo.toml index a5ee4be1e1d5..1a8168a4a0d2 100644 --- a/runtime/common/slot_range_helper/Cargo.toml +++ b/runtime/common/slot_range_helper/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" paste = "1.0" enumn = "0.1.3" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 184e194e221f..2c6afe14f371 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -15,69 +15,69 @@ serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" smallvec = "1.6.1" -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-arithmetic = { package = "sp-arithmetic", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-arithmetic = { package = "sp-arithmetic", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-gilt = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-gilt = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } hex-literal = { version = "0.3.1", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } @@ -88,14 +88,14 @@ xcm = { package = "xcm", path = "../../xcm", default-features = false } xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false } xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } +max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } [dev-dependencies] hex-literal = "0.3.1" libsecp256k1 = "0.3.5" tiny-keccak = "2.0.2" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } separator = "0.4.1" serde_json = "1.0.61" diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index 266af3faf49d..85d1969844c9 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -12,27 +12,27 @@ rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0.123", features = [ "derive" ], optional = true } derive_more = "0.99.14" -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-keystore = { git = "https://github.com/paritytech/substrate", optional = true , branch = "kiz-staking-miner" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } xcm = { package = "xcm", path = "../../xcm", default-features = false } xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false } @@ -45,17 +45,17 @@ rand_chacha = { version = "0.3.1", default-features = false } [dev-dependencies] futures = "0.3.15" hex-literal = "0.3.1" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" } serde_json = "1.0.61" libsecp256k1 = "0.3.5" -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index db9e83f6c3d8..46ea2587c31d 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -15,77 +15,77 @@ serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" smallvec = "1.6.1" -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } hex-literal = { version = "0.3.1", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] hex-literal = "0.3.1" libsecp256k1 = "0.3.5" tiny-keccak = "2.0.2" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } trie-db = "0.22.3" serde_json = "1.0.61" separator = "0.4.1" diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index dcdeab4b37c0..122d3e65e3b4 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -13,50 +13,50 @@ smallvec = "1.6.1" hex-literal = "0.3.1" log = { version = "0.4.14", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-mmr = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-mmr = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } @@ -73,7 +73,7 @@ bp-rococo = { path = "../../bridges/primitives/chain-rococo", default-features = bp-wococo = { path = "../../bridges/primitives/chain-wococo", default-features = false } pallet-bridge-grandpa = { path = "../../bridges/modules/grandpa", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [build-dependencies] substrate-wasm-builder = "3.0.0" diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index fa427ff9ed60..98a8a1b2f9ba 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -14,44 +14,44 @@ serde = { version = "1.0.123", default-features = false } serde_derive = { version = "1.0.117", optional = true } smallvec = "1.6.1" -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } @@ -62,8 +62,8 @@ polkadot-runtime-parachains = { path = "../parachains", default-features = false hex-literal = "0.3.1" libsecp256k1 = "0.3.5" tiny-keccak = "2.0.2" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } serde_json = "1.0.61" [build-dependencies] diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 36c3b3fc8021..ed9d27998ab7 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -15,66 +15,66 @@ serde_derive = { version = "1.0.117", optional = true } smallvec = "1.6.1" static_assertions = "1.1.0" -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "kiz-staking-miner" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "kiz-staking-miner" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } hex-literal = { version = "0.3.1", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } @@ -86,14 +86,14 @@ xcm = { package = "xcm", path = "../../xcm", default-features = false } xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false } xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [dev-dependencies] hex-literal = "0.3.1" libsecp256k1 = "0.3.5" tiny-keccak = "2.0.2" -keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } serde_json = "1.0.61" [build-dependencies] diff --git a/statement-table/Cargo.toml b/statement-table/Cargo.toml index c2d647d4dee2..993a709abb1b 100644 --- a/statement-table/Cargo.toml +++ b/statement-table/Cargo.toml @@ -6,5 +6,5 @@ edition = "2018" [dependencies] parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } primitives = { package = "polkadot-primitives", path = "../primitives" } diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 46a829c494dd..e8aae026bf72 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -20,21 +20,21 @@ lazy_static = "1.4.0" paste = "1.0.5" thiserror = "1.0.0" -remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } core-primitives = { package = "polkadot-core-primitives", path = "../../core-primitives" } @@ -44,4 +44,4 @@ kusama-runtime = { path = "../../runtime/kusama" } westend-runtime = { path = "../../runtime/westend" } [dev-dependencies] -sp-version = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/xcm/pallet-xcm/Cargo.toml b/xcm/pallet-xcm/Cargo.toml index f3ab1f507aed..2b4fbbbba7dd 100644 --- a/xcm/pallet-xcm/Cargo.toml +++ b/xcm/pallet-xcm/Cargo.toml @@ -8,10 +8,10 @@ version = "0.1.0" codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } xcm = { path = "..", default-features = false } xcm-executor = { path = "../xcm-executor", default-features = false } diff --git a/xcm/xcm-builder/Cargo.toml b/xcm/xcm-builder/Cargo.toml index 51091a3acf3b..96b27c1bd168 100644 --- a/xcm/xcm-builder/Cargo.toml +++ b/xcm/xcm-builder/Cargo.toml @@ -10,13 +10,13 @@ impl-trait-for-tuples = "0.2.0" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } xcm = { path = "..", default-features = false } xcm-executor = { path = "../xcm-executor", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } # Polkadot dependencies polkadot-parachain = { path = "../../parachain", default-features = false } diff --git a/xcm/xcm-executor/Cargo.toml b/xcm/xcm-executor/Cargo.toml index a27c14b308cc..c713c5fe2173 100644 --- a/xcm/xcm-executor/Cargo.toml +++ b/xcm/xcm-executor/Cargo.toml @@ -9,12 +9,12 @@ version = "0.9.7" impl-trait-for-tuples = "0.2.0" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } xcm = { path = "..", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } log = { version = "0.4.14", default-features = false } [features] From 3777a8ad547c1e3ce8e848bb3b0a684bf4c0055e Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 30 Jun 2021 21:09:10 +0200 Subject: [PATCH 16/31] revert all the toml shit --- Cargo.lock | 1672 ++++++++--------- bridges/bin/millau/node/Cargo.toml | 2 +- bridges/bin/millau/runtime/Cargo.toml | 52 +- bridges/bin/rialto/node/Cargo.toml | 2 +- bridges/bin/rialto/runtime/Cargo.toml | 56 +- bridges/modules/currency-exchange/Cargo.toml | 10 +- bridges/modules/dispatch/Cargo.toml | 10 +- bridges/modules/ethereum/Cargo.toml | 12 +- bridges/modules/grandpa/Cargo.toml | 14 +- bridges/modules/messages/Cargo.toml | 12 +- .../modules/shift-session-manager/Cargo.toml | 10 +- bridges/primitives/chain-kusama/Cargo.toml | 4 +- bridges/primitives/chain-polkadot/Cargo.toml | 4 +- bridges/primitives/chain-rialto/Cargo.toml | 12 +- bridges/primitives/chain-westend/Cargo.toml | 8 +- .../primitives/currency-exchange/Cargo.toml | 6 +- bridges/primitives/ethereum-poa/Cargo.toml | 8 +- bridges/primitives/header-chain/Cargo.toml | 10 +- .../primitives/message-dispatch/Cargo.toml | 4 +- bridges/primitives/messages/Cargo.toml | 6 +- bridges/primitives/polkadot-core/Cargo.toml | 14 +- bridges/primitives/runtime/Cargo.toml | 14 +- bridges/relays/bin-ethereum/Cargo.toml | 6 +- bridges/relays/client-ethereum/Cargo.toml | 2 +- cli/Cargo.toml | 12 +- core-primitives/Cargo.toml | 6 +- node/client/Cargo.toml | 2 +- node/core/approval-voting/Cargo.toml | 14 +- node/network/approval-distribution/Cargo.toml | 2 +- .../availability-distribution/Cargo.toml | 4 +- node/network/collator-protocol/Cargo.toml | 2 +- node/network/gossip-support/Cargo.toml | 2 +- .../network/statement-distribution/Cargo.toml | 2 +- node/primitives/Cargo.toml | 2 +- node/service/Cargo.toml | 4 +- node/service/src/chain_spec.rs | 6 +- node/test/service/Cargo.toml | 4 +- parachain/Cargo.toml | 6 +- parachain/test-parachains/adder/Cargo.toml | 4 +- primitives/Cargo.toml | 30 +- runtime/common/Cargo.toml | 22 +- runtime/common/slot_range_helper/Cargo.toml | 4 +- runtime/kusama/Cargo.toml | 122 +- runtime/parachains/Cargo.toml | 42 +- runtime/polkadot/Cargo.toml | 112 +- runtime/polkadot/src/constants.rs | 2 +- runtime/rococo/Cargo.toml | 82 +- runtime/test-runtime/Cargo.toml | 72 +- runtime/westend/Cargo.toml | 114 +- runtime/westend/src/constants.rs | 2 +- xcm/pallet-xcm/Cargo.toml | 2 +- xcm/xcm-builder/Cargo.toml | 14 +- xcm/xcm-executor/Cargo.toml | 12 +- 53 files changed, 1307 insertions(+), 1347 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 310445aacfcc..6864ac7fa634 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,18 +14,27 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.15.2" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7" +dependencies = [ + "gimli 0.23.0", +] + +[[package]] +name = "addr2line" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7a2e47a1fbe209ee101dd6d61285226744c6c8d3c21c8dc878ba6cb9f467f3a" +checksum = "03345e98af8f3d786b6d9f656ccfa6ac316d954e92bc4841f0bba20789d5fb5a" dependencies = [ - "gimli", + "gimli 0.24.0", ] [[package]] name = "adler" -version = "1.0.2" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +checksum = "ccc9a9dd069569f212bc4330af9f17c4afb5e8ce185e83dbb14f1349dda18b10" [[package]] name = "aead" @@ -38,9 +47,9 @@ dependencies = [ [[package]] name = "aes" -version = "0.5.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd2bc6d3f370b5666245ff421e231cba4353df936e26986d2918e61a8fd6aef6" +checksum = "f7001367fde4c768a19d1029f0a8be5abd9308e1119846d5bd9ad26297b8faf5" dependencies = [ "aes-soft", "aesni", @@ -49,49 +58,49 @@ dependencies = [ [[package]] name = "aes-gcm" -version = "0.7.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0301c9e9c443494d970a07885e8cf3e587bae8356a1d5abd0999068413f7205f" +checksum = "86f5007801316299f922a6198d1d09a0bae95786815d066d5880d13f7c45ead1" dependencies = [ "aead", "aes", "block-cipher", "ghash", - "subtle 2.4.0", + "subtle 2.2.3", ] [[package]] name = "aes-soft" -version = "0.5.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63dd91889c49327ad7ef3b500fd1109dbd3c509a03db0d4a9ce413b79f575cb6" +checksum = "4925647ee64e5056cf231608957ce7c81e12d6d6e316b9ce1404778cc1d35fa7" dependencies = [ "block-cipher", "byteorder", - "opaque-debug 0.3.0", + "opaque-debug 0.2.3", ] [[package]] name = "aesni" -version = "0.8.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6fe808308bb07d393e2ea47780043ec47683fcf19cf5efc8ca51c50cc8c68a" +checksum = "d050d39b0b7688b3a3254394c3e30a9d66c41dcf9b05b0e2dbdc623f6505d264" dependencies = [ "block-cipher", - "opaque-debug 0.3.0", + "opaque-debug 0.2.3", ] [[package]] name = "ahash" -version = "0.4.7" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e" +checksum = "f6789e291be47ace86a60303502173d84af8327e3627ecf334356ee0f87a164c" [[package]] name = "aho-corasick" -version = "0.7.18" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86" dependencies = [ "memchr", ] @@ -122,27 +131,24 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.41" +version = "1.0.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15af2628f6890fe2609a3b91bef4c83450512802e59489f9c1cb1fa5df064a61" +checksum = "81cddc5f91628367664cc7c69714ff08deee8a3efc54623011c772544d7b2767" [[package]] name = "approx" -version = "0.4.0" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f2a05fd1bd10b2527e20a2cd32d8873d115b8b39fe219ee25f42a8aca6ba278" +checksum = "f0e60b75072ecd4168020818c0107f2857bb6c4e64252d8d3983f6263b40a5c3" dependencies = [ "num-traits", ] [[package]] -name = "approx" -version = "0.5.0" +name = "arc-swap" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "072df7202e63b127ab55acfe16ce97013d5b97bf160489336d3f1840fd78e99e" -dependencies = [ - "num-traits", -] +checksum = "4d25d88fd6b8041580a654f9d0c581a047baee2b3efee13275f2fc392fc75034" [[package]] name = "arrayref" @@ -167,9 +173,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "arrayvec" -version = "0.7.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4dc07131ffa69b8072d35f5007352af944213cde02545e2103680baed38fcd" +checksum = "5a2f58b0bb10c380af2b26e57212856b8c9a59e0925b4c20f4a174a49734eaf7" [[package]] name = "asn1_der" @@ -179,11 +185,10 @@ checksum = "9d6e24d2cce90c53b948c46271bfb053e4bdc2db9b5d3f65e20f8cf28a1b7fc3" [[package]] name = "assert_cmd" -version = "1.0.5" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88b6bd5df287567ffdf4ddf4d33060048e1068308e5f62d81c6f9824a045a48" +checksum = "3dc1679af9a1ab4bea16f228b05d18f8363f8327b1fa8db00d2760cfafc6b61e" dependencies = [ - "bstr", "doc-comment", "predicates", "predicates-core", @@ -209,9 +214,9 @@ dependencies = [ [[package]] name = "async-channel" -version = "1.6.1" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2114d64672151c0c5eaa5e131ec84a74f06e1e559830dabba01ca30605d66319" +checksum = "59740d83946db6a5af71ae25ddf9562c2b176b2ca42cf99a455f09f4a220d6b9" dependencies = [ "concurrent-queue", "event-listener", @@ -250,20 +255,20 @@ dependencies = [ [[package]] name = "async-io" -version = "1.4.1" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bbfd5cf2794b1e908ea8457e6c45f8f8f1f6ec5f74617bf4662623f47503c3b" +checksum = "9315f8f07556761c3e48fec2e6b276004acf426e6dc068b2c2251854d65ee0fd" dependencies = [ "concurrent-queue", "fastrand", "futures-lite", "libc", "log", + "nb-connect", "once_cell", "parking", "polling", - "slab", - "socket2 0.4.0", + "vec-arena", "waker-fn", "winapi 0.3.9", ] @@ -288,16 +293,15 @@ dependencies = [ [[package]] name = "async-process" -version = "1.1.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f38756dd9ac84671c428afbf7c9f7495feff9ec5b0710f17100098e5b354ac" +checksum = "4c8cea09c1fb10a317d1b5af8024eeba256d6554763e85ecd90ff8df31c7bbda" dependencies = [ "async-io", "blocking", - "cfg-if 1.0.0", + "cfg-if 0.1.10", "event-listener", "futures-lite", - "libc", "once_cell", "signal-hook", "winapi 0.3.9", @@ -315,7 +319,7 @@ dependencies = [ "async-io", "async-lock", "async-process", - "crossbeam-utils 0.8.5", + "crossbeam-utils 0.8.1", "futures-channel", "futures-core", "futures-io", @@ -326,7 +330,7 @@ dependencies = [ "memchr", "num_cpus", "once_cell", - "pin-project-lite 0.2.6", + "pin-project-lite 0.2.4", "pin-utils", "slab", "wasm-bindgen-futures", @@ -334,9 +338,9 @@ dependencies = [ [[package]] name = "async-std-resolver" -version = "0.20.3" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed4e2c3da14d8ad45acb1e3191db7a918e9505b6f155b218e70a7c9a1a48c638" +checksum = "f665c56111e244fe38e7708ee10948a4356ad6a548997c21f5a63a0f4e0edc4d" dependencies = [ "async-std", "async-trait", @@ -373,7 +377,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.6", + "pin-project-lite 0.2.4", ] [[package]] @@ -386,7 +390,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.6", + "pin-project-lite 0.2.4", ] [[package]] @@ -417,22 +421,21 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.0.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" +checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" [[package]] name = "backtrace" -version = "0.3.60" +version = "0.3.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7815ea54e4d821e791162e078acbebfd6d8c8939cd559c9335dceb1c8ca7282" +checksum = "9d117600f438b1707d4e4ae15d3595657288f8235a0eb593e80ecc98ab34e1bc" dependencies = [ - "addr2line", - "cc", + "addr2line 0.14.1", "cfg-if 1.0.0", "libc", "miniz_oxide", - "object 0.25.3", + "object 0.23.0", "rustc-demangle", ] @@ -448,6 +451,12 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5024ee8015f02155eee35c711107ddd9a9bf3cb689cf2a9089c97e79b6e1ae83" +[[package]] +name = "base64" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" + [[package]] name = "base64" version = "0.12.3" @@ -533,10 +542,11 @@ dependencies = [ [[package]] name = "bincode" -version = "1.3.3" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +checksum = "f30d3a39baa26f9651f17b375061f3233dde33424a8b72b0dbe93a68a0bc896d" dependencies = [ + "byteorder", "serde", ] @@ -567,9 +577,9 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" [[package]] name = "bitvec" -version = "0.20.4" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848" +checksum = "f5011ffc90248764d7005b0e10c7294f5aa1bd87d9dd7248f4ad475b347c294d" dependencies = [ "funty", "radium", @@ -579,13 +589,15 @@ dependencies = [ [[package]] name = "blake2" -version = "0.9.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a5720225ef5daecf08657f23791354e1685a8c91a4c60c7f3d3b2892f978f4" +checksum = "84ce5b6108f8e154604bd4eb76a2f726066c3464d5a552a4229262a18c9bb471" dependencies = [ + "byte-tools", + "byteorder", "crypto-mac 0.8.0", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug 0.2.3", ] [[package]] @@ -600,9 +612,9 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "0.5.11" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587" +checksum = "d8fb2d74254a3a0b5cac33ac9f8ed0e44aa50378d9dbb2e5d83bd21ed1dc2c8a" dependencies = [ "arrayref", "arrayvec 0.5.2", @@ -622,9 +634,9 @@ dependencies = [ [[package]] name = "blake3" -version = "0.3.8" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b64485778c4f16a6a5a9d335e80d449ac6c70cdd6a06d2af18a6f6f775a125b3" +checksum = "e9ff35b701f3914bdb8fad3368d822c766ef2858b2583198e41639b936f09d3f" dependencies = [ "arrayref", "arrayvec 0.5.2", @@ -644,7 +656,7 @@ dependencies = [ "block-padding 0.1.5", "byte-tools", "byteorder", - "generic-array 0.12.4", + "generic-array 0.12.3", ] [[package]] @@ -659,9 +671,9 @@ dependencies = [ [[package]] name = "block-cipher" -version = "0.8.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f337a3e6da609650eb74e02bc9fac7b735049f7623ab12f2e4c719316fcc7e80" +checksum = "fa136449e765dc7faa244561ccae839c394048667929af599b5d931ebe7b7f10" dependencies = [ "generic-array 0.14.4", ] @@ -810,13 +822,11 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "0.2.16" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90682c8d613ad3373e66de8c6411e0ae2ab2571e879d2efbf73558cc66f21279" +checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931" dependencies = [ - "lazy_static", "memchr", - "regex-automata", ] [[package]] @@ -830,9 +840,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.7.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631" +checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" [[package]] name = "byte-slice-cast" @@ -848,9 +858,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "byteorder" -version = "1.4.3" +version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" [[package]] name = "bytes" @@ -915,9 +925,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.68" +version = "1.0.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a72c244c1ff497a746a7e1fb3d14bd08420ecda70c8f25c7112f2781652d787" +checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd" dependencies = [ "jobserver", ] @@ -951,9 +961,9 @@ checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" [[package]] name = "chacha20" -version = "0.5.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "244fbce0d47e97e8ef2f63b81d5e05882cb518c68531eb33194990d7b7e85845" +checksum = "086c0f07ac275808b7bf9a39f2fd013aae1498be83632814c8c4e0bd53f2dc58" dependencies = [ "stream-cipher", "zeroize", @@ -961,9 +971,9 @@ dependencies = [ [[package]] name = "chacha20poly1305" -version = "0.6.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bf18d374d66df0c05cdddd528a7db98f78c28e2519b120855c4f84c5027b1f5" +checksum = "18b0c90556d8e3fec7cf18d84a2f53d27b21288f2fe481b830fadcf809e48205" dependencies = [ "aead", "chacha20", @@ -989,9 +999,9 @@ dependencies = [ [[package]] name = "cid" -version = "0.6.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff0e3bc0b6446b3f9663c1a6aba6ef06c5aeaa1bc92bd18077be337198ab9768" +checksum = "7d88f30b1e74e7063df5711496f3ee6e74a9735d62062242d70cddf77717f18e" dependencies = [ "multibase", "multihash", @@ -1051,6 +1061,15 @@ dependencies = [ "bitflags", ] +[[package]] +name = "cloudabi" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4344512281c643ae7638bbabc3af17a11307803ec8f0fcad9fae512a8bf36467" +dependencies = [ + "bitflags", +] + [[package]] name = "color-eyre" version = "0.5.11" @@ -1139,18 +1158,18 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.1.5" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef" +checksum = "ed00c67cb5d0a7d64a44f6ad2668db7e7530311dd53ea79bcd4fb022c64911c8" dependencies = [ "libc", ] [[package]] name = "cpuid-bool" -version = "0.2.0" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" +checksum = "6d375c433320f6c5057ae04a04376eef4d04ce2801448cf8863a78da99107be4" [[package]] name = "cranelift-bforest" @@ -1171,7 +1190,7 @@ dependencies = [ "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-entity", - "gimli", + "gimli 0.24.0", "log", "regalloc", "serde", @@ -1238,7 +1257,7 @@ dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-frontend", - "itertools 0.10.1", + "itertools 0.10.0", "log", "serde", "smallvec 1.6.1", @@ -1248,21 +1267,11 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" +checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1" dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils 0.8.5", + "cfg-if 0.1.10", ] [[package]] @@ -1271,22 +1280,11 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" dependencies = [ - "crossbeam-epoch 0.8.2", + "crossbeam-epoch", "crossbeam-utils 0.7.2", "maybe-uninit", ] -[[package]] -name = "crossbeam-deque" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-epoch 0.9.5", - "crossbeam-utils 0.8.5", -] - [[package]] name = "crossbeam-epoch" version = "0.8.2" @@ -1298,20 +1296,7 @@ dependencies = [ "crossbeam-utils 0.7.2", "lazy_static", "maybe-uninit", - "memoffset 0.5.6", - "scopeguard", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils 0.8.5", - "lazy_static", - "memoffset 0.6.4", + "memoffset 0.5.5", "scopeguard", ] @@ -1339,10 +1324,11 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" +checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d" dependencies = [ + "autocfg", "cfg-if 1.0.0", "lazy_static", ] @@ -1359,7 +1345,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" dependencies = [ - "generic-array 0.12.4", + "generic-array 0.12.3", "subtle 1.0.0", ] @@ -1370,7 +1356,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ "generic-array 0.14.4", - "subtle 2.4.0", + "subtle 2.2.3", ] [[package]] @@ -1384,9 +1370,9 @@ dependencies = [ [[package]] name = "ctor" -version = "0.1.20" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e98e2ad1a782e33928b96fc3948e7c355e5af34ba4de7670fe8bac2a3b2006d" +checksum = "7fbaabec2c953050352311293be5c6aba8e141ba19d6811862b232d6fd020484" dependencies = [ "quote", "syn", @@ -1405,27 +1391,27 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "2.1.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "434e1720189a637d44fe464f4df1e6eb900b4835255b14354497c78af37d9bb8" +checksum = "5d85653f070353a16313d0046f173f70d1aadd5b42600a14de626f0dfb3473a5" dependencies = [ "byteorder", "digest 0.8.1", "rand_core 0.5.1", - "subtle 2.4.0", + "subtle 2.2.3", "zeroize", ] [[package]] name = "curve25519-dalek" -version = "3.1.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "639891fde0dbea823fc3d798a0fdf9d2f9440a42d64a78ab3488b0ca025117b3" +checksum = "c8492de420e9e60bc9a1d66e2dbb91825390b738a388606600663fc529b4b307" dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle 2.4.0", + "subtle 2.2.3", "zeroize", ] @@ -1437,9 +1423,9 @@ checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" [[package]] name = "data-encoding-macro" -version = "0.1.12" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca" +checksum = "0a94feec3d2ba66c0b6621bca8bc6f68415b1e5c69af3586fdd0af9fd9f29b17" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -1447,9 +1433,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.10" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db" +checksum = "f0f83e699727abca3c56e187945f303389590305ab2f0185ea445aa66e8d5f2a" dependencies = [ "data-encoding", "syn", @@ -1496,7 +1482,7 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" dependencies = [ - "generic-array 0.12.4", + "generic-array 0.12.3", ] [[package]] @@ -1510,9 +1496,9 @@ dependencies = [ [[package]] name = "directories" -version = "3.0.2" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7" +checksum = "f8fed639d60b58d0f53498ab13d26f621fd77569cc6edb031f4cc36a2ad9da0f" dependencies = [ "dirs-sys", ] @@ -1529,12 +1515,12 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.6" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" +checksum = "8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a" dependencies = [ "libc", - "redox_users", + "redox_users 0.3.4", "winapi 0.3.9", ] @@ -1545,7 +1531,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ "libc", - "redox_users", + "redox_users 0.4.0", "winapi 0.3.9", ] @@ -1603,15 +1589,15 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.4" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" +checksum = "4c53dc3a653e0f64081026e4bf048d48fec9fce90c66e8326ca7292df0ff2d82" [[package]] name = "ed25519" -version = "1.1.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d0860415b12243916284c67a9be413e044ee6668247b99ba26d94b2bc06c8f6" +checksum = "bf038a7b6fd7ef78ad3348b63f3a17550877b0e28f8d68bcc94894d1412158bc" dependencies = [ "signature", ] @@ -1622,19 +1608,19 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ - "curve25519-dalek 3.1.0", + "curve25519-dalek 3.0.0", "ed25519", "rand 0.7.3", "serde", - "sha2 0.9.5", + "sha2 0.9.2", "zeroize", ] [[package]] name = "either" -version = "1.6.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" +checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f" [[package]] name = "enum-as-inner" @@ -1699,7 +1685,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" dependencies = [ "atty", - "humantime 2.1.0", + "humantime 2.0.1", "log", "regex", "termcolor", @@ -1713,18 +1699,18 @@ checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" [[package]] name = "erased-serde" -version = "0.3.16" +version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3de9ad4541d99dc22b59134e7ff8dc3d6c988c89ecd7324bf10a8362b07a2afa" +checksum = "6ca8b296792113e1500fd935ae487be6e00ce318952a6880555554824d6ebf38" dependencies = [ "serde", ] [[package]] name = "errno" -version = "0.2.7" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa68f2fb9cae9d37c9b2b3584aba698a2e97f72d7aef7b9f7aa71d8b54ce46fe" +checksum = "b480f641ccf0faf324e20c1d3e53d81b7484c698b42ea677f6907ae4db195371" dependencies = [ "errno-dragonfly", "libc", @@ -1785,9 +1771,9 @@ dependencies = [ [[package]] name = "eyre" -version = "0.6.5" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "221239d1d5ea86bf5d6f91c9d6bc3646ffe471b08ff9b0f91c44f115ac969d2b" +checksum = "534ce924bff9118be8b28b24ede6bf7e96a00b53e4ded25050aa7b526e051e1a" dependencies = [ "indenter", "once_cell", @@ -1829,9 +1815,9 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fastrand" -version = "1.4.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77b705829d1e87f762c2df6da140b26af5839e1033aa84aa5f56bb688e4e1bdb" +checksum = "ca5faf057445ce5c9d4329e382b2ce7ca38550ef3b73a5348362d5f24e0c7fe3" dependencies = [ "instant", ] @@ -1863,9 +1849,9 @@ dependencies = [ [[package]] name = "file-per-thread-logger" -version = "0.1.4" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fdbe0d94371f9ce939b555dd342d0686cc4c0cadbcd4b61d70af5ff97eb4126" +checksum = "8b3937f028664bd0e13df401ba49a4567ccda587420365823242977f06609ed1" dependencies = [ "env_logger 0.7.1", "log", @@ -1906,11 +1892,11 @@ checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" [[package]] name = "flate2" -version = "1.0.20" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd3aec53de10fe96d7d8c565eb17f2c687bb5518a2ec453b5b1252964526abe0" +checksum = "68c90b0fc46cf89d227cc78b40e494ff81287a92dd07631e5af0d06fe3cf885e" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 0.1.10", "crc32fast", "libc", "libz-sys", @@ -1933,9 +1919,9 @@ dependencies = [ [[package]] name = "form_urlencoded" -version = "1.0.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" +checksum = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00" dependencies = [ "matches", "percent-encoding 2.1.0", @@ -1951,7 +1937,7 @@ dependencies = [ "linregress", "log", "parity-scale-codec", - "paste", + "paste 1.0.5", "sp-api", "sp-io", "sp-runtime", @@ -2035,7 +2021,7 @@ dependencies = [ "max-encoded-len", "once_cell", "parity-scale-codec", - "paste", + "paste 1.0.5", "serde", "smallvec 1.6.1", "sp-arithmetic", @@ -2157,9 +2143,9 @@ dependencies = [ [[package]] name = "fs-err" -version = "2.6.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0" +checksum = "bcd1163ae48bda72a20ae26d66a04d3094135cadab911cff418ae5e33f253431" [[package]] name = "fs-swap" @@ -2185,9 +2171,9 @@ dependencies = [ [[package]] name = "fs_extra" -version = "1.2.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" +checksum = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674" [[package]] name = "fuchsia-cprng" @@ -2219,9 +2205,9 @@ checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" [[package]] name = "futures" -version = "0.1.31" +version = "0.1.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" +checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" [[package]] name = "futures" @@ -2260,7 +2246,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" dependencies = [ - "futures 0.1.31", + "futures 0.1.29", "num_cpus", ] @@ -2284,16 +2270,16 @@ checksum = "acc499defb3b348f8d8f3f66415835a9131856ff7714bf10dadfc4ec4bdb29a1" [[package]] name = "futures-lite" -version = "1.12.0" +version = "1.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48" +checksum = "b4481d0cd0de1d204a4fa55e7d45f07b1d958abcb06714b3446438e2eff695fb" dependencies = [ "fastrand", "futures-core", "futures-io", "memchr", "parking", - "pin-project-lite 0.2.6", + "pin-project-lite 0.2.4", "waker-fn", ] @@ -2356,7 +2342,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "feb5c238d27e2bf94ffdfd27b2c29e3df4a68c4193bb6427384259e2bf191967" dependencies = [ "autocfg", - "futures 0.1.31", + "futures 0.1.29", "futures-channel", "futures-core", "futures-io", @@ -2364,7 +2350,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.6", + "pin-project-lite 0.2.4", "pin-utils", "proc-macro-hack", "proc-macro-nested", @@ -2377,11 +2363,33 @@ version = "0.3.55" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" +[[package]] +name = "generator" +version = "0.6.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cdc09201b2e8ca1b19290cf7e65de2246b8e91fb6874279722189c4de7b94dc" +dependencies = [ + "cc", + "libc", + "log", + "rustc_version", + "winapi 0.3.9", +] + [[package]] name = "generic-array" -version = "0.12.4" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" +checksum = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec" +dependencies = [ + "typenum", +] + +[[package]] +name = "generic-array" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ed1e761351b56f54eb9dcd0cfaca9fd0daecf93918e1cfc01c8a3d26ee7adcd" dependencies = [ "typenum", ] @@ -2398,12 +2406,11 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.1.16" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb" dependencies = [ - "cfg-if 1.0.0", - "js-sys", + "cfg-if 0.1.10", "libc", "wasi 0.9.0+wasi-snapshot-preview1", "wasm-bindgen", @@ -2411,9 +2418,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" +checksum = "4060f4657be78b8e766215b02b18a2e862d83745545de804638e2b545e81aee6" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -2424,14 +2431,19 @@ dependencies = [ [[package]] name = "ghash" -version = "0.3.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97304e4cd182c3846f7575ced3890c53012ce534ad9114046b0a9e00bb30a375" +checksum = "d6e27f0689a6e15944bdce7e45425efb87eaa8ab0c6e87f11d0987a9133e2531" dependencies = [ - "opaque-debug 0.3.0", "polyval", ] +[[package]] +name = "gimli" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce" + [[package]] name = "gimli" version = "0.24.0" @@ -2451,9 +2463,9 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" [[package]] name = "globset" -version = "0.4.8" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" +checksum = "7ad1da430bd7281dde2576f44c84cc3f0f7b475e7202cd503042dff01a8c8120" dependencies = [ "aho-corasick", "bstr", @@ -2484,7 +2496,7 @@ dependencies = [ "byteorder", "bytes 0.4.12", "fnv", - "futures 0.1.31", + "futures 0.1.29", "http 0.1.21", "indexmap", "log", @@ -2495,34 +2507,33 @@ dependencies = [ [[package]] name = "h2" -version = "0.2.7" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535" +checksum = "79b7246d7e4b979c03fa093da39cfb3617a96bbeee6310af63991668d7e843ff" dependencies = [ "bytes 0.5.6", "fnv", "futures-core", "futures-sink", "futures-util", - "http 0.2.4", + "http 0.2.1", "indexmap", + "log", "slab", - "tokio 0.2.25", + "tokio 0.2.21", "tokio-util", - "tracing", - "tracing-futures", ] [[package]] name = "handlebars" -version = "3.5.5" +version = "3.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4498fc115fa7d34de968184e473529abb40eeb6be8bc5f7faba3d08c316cb3e3" +checksum = "2764f9796c0ddca4b82c07f25dd2cb3db30b9a8f47940e78e1c883d9e95c3db9" dependencies = [ "log", "pest", "pest_derive", - "quick-error 2.0.1", + "quick-error 2.0.0", "serde", "serde_json", ] @@ -2553,27 +2564,27 @@ dependencies = [ [[package]] name = "heck" -version = "0.3.3" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" +checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" dependencies = [ "unicode-segmentation", ] [[package]] name = "hermit-abi" -version = "0.1.19" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9" dependencies = [ "libc", ] [[package]] name = "hex" -version = "0.4.3" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35" [[package]] name = "hex-literal" @@ -2614,7 +2625,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6e570451493f10f6581b48cdd530413b63ea9e780f544bfd3bdcaa0d89d1a7b" dependencies = [ "digest 0.8.1", - "generic-array 0.12.4", + "generic-array 0.12.3", "hmac 0.7.1", ] @@ -2642,11 +2653,11 @@ dependencies = [ [[package]] name = "http" -version = "0.2.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11" +checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9" dependencies = [ - "bytes 1.0.1", + "bytes 0.5.6", "fnv", "itoa", ] @@ -2658,7 +2669,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "http 0.1.21", "tokio-buf", ] @@ -2670,7 +2681,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" dependencies = [ "bytes 0.5.6", - "http 0.2.4", + "http 0.2.1", ] [[package]] @@ -2680,15 +2691,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9" dependencies = [ "bytes 1.0.1", - "http 0.2.4", - "pin-project-lite 0.2.6", + "http 0.2.1", + "pin-project-lite 0.2.4", ] [[package]] name = "httparse" -version = "1.4.1" +version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68" +checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" [[package]] name = "httpdate" @@ -2696,12 +2707,6 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" -[[package]] -name = "httpdate" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440" - [[package]] name = "humantime" version = "1.3.0" @@ -2713,18 +2718,18 @@ dependencies = [ [[package]] name = "humantime" -version = "2.1.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" [[package]] name = "hyper" -version = "0.12.36" +version = "0.12.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52" +checksum = "9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "futures-cpupool", "h2 0.1.26", "http 0.1.21", @@ -2749,23 +2754,23 @@ dependencies = [ [[package]] name = "hyper" -version = "0.13.10" +version = "0.13.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb" +checksum = "f6ad767baac13b44d4529fcf58ba2cd0995e36e7b435bc5b039de6f47e880dbf" dependencies = [ "bytes 0.5.6", "futures-channel", "futures-core", "futures-util", - "h2 0.2.7", - "http 0.2.4", + "h2 0.2.5", + "http 0.2.1", "http-body 0.3.1", "httparse", - "httpdate 0.3.2", + "httpdate", "itoa", "pin-project 1.0.7", - "socket2 0.3.19", - "tokio 0.2.25", + "socket2 0.3.17", + "tokio 0.2.21", "tower-service", "tracing", "want 0.3.0", @@ -2773,21 +2778,21 @@ dependencies = [ [[package]] name = "hyper" -version = "0.14.9" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07d6baa1b441335f3ce5098ac421fb6547c46dda735ca1bc6d0153c838f9dd83" +checksum = "8bf09f61b52cfcf4c00de50df88ae423d6c02354e385a86341133b5338630ad1" dependencies = [ "bytes 1.0.1", "futures-channel", "futures-core", "futures-util", - "http 0.2.4", + "http 0.2.1", "http-body 0.4.2", "httparse", - "httpdate 1.0.1", + "httpdate", "itoa", - "pin-project-lite 0.2.6", - "tokio 1.7.1", + "pin-project 1.0.7", + "tokio 1.6.1", "tower-service", "tracing", "want 0.3.0", @@ -2802,12 +2807,12 @@ dependencies = [ "bytes 0.5.6", "ct-logs", "futures-util", - "hyper 0.13.10", + "hyper 0.13.9", "log", - "rustls 0.18.1", + "rustls 0.18.0", "rustls-native-certs 0.4.0", - "tokio 0.2.25", - "tokio-rustls 0.14.1", + "tokio 0.2.21", + "tokio-rustls 0.14.0", "webpki", ] @@ -2824,9 +2829,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.2.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" +checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9" dependencies = [ "matches", "unicode-bidi", @@ -2856,9 +2861,9 @@ dependencies = [ [[package]] name = "if-watch" -version = "0.2.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8ab7f67bad3240049cb24fb9cb0b4c2c6af4c245840917fbbdededeee91179" +checksum = "6a6d52908d4ea4ab2bc22474ba149bf1011c8e2c3ebc1ff593ae28ac44f494b6" dependencies = [ "async-io", "futures 0.3.15", @@ -2910,15 +2915,15 @@ dependencies = [ [[package]] name = "indenter" -version = "0.3.3" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" +checksum = "e0bd112d44d9d870a6819eb505d04dd92b5e4d94bb8c304924a0872ae7016fb5" [[package]] name = "indexmap" -version = "1.6.2" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3" +checksum = "4fb1fa934250de4de8aef298d81c729a7d33d8c239daa3a7575e6b92bfc7313b" dependencies = [ "autocfg", "hashbrown", @@ -2927,11 +2932,10 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.9" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec" +checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485" dependencies = [ - "cfg-if 1.0.0", "js-sys", "wasm-bindgen", "web-sys", @@ -2939,18 +2943,15 @@ dependencies = [ [[package]] name = "integer-encoding" -version = "1.1.7" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48dc51180a9b377fd75814d0cc02199c20f8e99433d6762f650d39cdbbd3b56f" +checksum = "4f4ebd0bd29be0f11973e9b3e219005661042a019fd757798c36a47c87852625" [[package]] name = "integer-sqrt" -version = "0.1.5" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" -dependencies = [ - "num-traits", -] +checksum = "f65877bf7d44897a473350b1046277941cee20b263397e90869c50b6e766088b" [[package]] name = "intervalier" @@ -2983,7 +2984,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7e2f18aece9709094573a9f24f483c4f65caa4298e2f7ae1b71cc65d853fad7" dependencies = [ - "socket2 0.3.19", + "socket2 0.3.17", "widestring", "winapi 0.3.9", "winreg", @@ -2991,9 +2992,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.3.1" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9" +checksum = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135" [[package]] name = "itertools" @@ -3006,18 +3007,18 @@ dependencies = [ [[package]] name = "itertools" -version = "0.10.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" +checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319" dependencies = [ "either", ] [[package]] name = "itoa" -version = "0.4.7" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" +checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" [[package]] name = "jemalloc-sys" @@ -3042,18 +3043,18 @@ dependencies = [ [[package]] name = "jobserver" -version = "0.1.22" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "972f5ae5d1cb9c6ae417789196c803205313edde988685da5e3aae0827b9e7fd" +checksum = "5c71313ebb9439f74b00d9d2dcec36440beaf57a6aa0623068441dd7cd81a7f2" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.51" +version = "0.3.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83bdfbace3a0e81a4253f73b49e960b053e396a11012cbd49b9b74d6a2b67062" +checksum = "2d99f9e3e84b8f67f846ef5b4cbbc3b1c29f6c759fcbce6f01aa0e73d932a24c" dependencies = [ "wasm-bindgen", ] @@ -3065,7 +3066,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "489b9c612e60c766f751ab40fcb43cbb55a1e10bb44a9b4307ed510ca598cbd7" dependencies = [ "failure", - "futures 0.1.31", + "futures 0.1.29", "jsonrpc-core", "jsonrpc-pubsub", "log", @@ -3080,7 +3081,7 @@ version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0745a6379e3edc893c84ec203589790774e4247420033e71a76d3ab4687991fa" dependencies = [ - "futures 0.1.31", + "futures 0.1.29", "log", "serde", "serde_derive", @@ -3114,7 +3115,7 @@ version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb5c4513b7b542f42da107942b7b759f27120b5cc894729f88254b28dff44b7" dependencies = [ - "hyper 0.12.36", + "hyper 0.12.35", "jsonrpc-core", "jsonrpc-server-utils", "log", @@ -3180,12 +3181,6 @@ dependencies = [ "slab", ] -[[package]] -name = "jsonrpsee" -version = "0.2.0-alpha.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4e48ecdd757b22fae87e87aad2dbadf11c56499c6509763c8ef20db16ffb0e9" - [[package]] name = "jsonrpsee-proc-macros" version = "0.2.0" @@ -3209,7 +3204,7 @@ dependencies = [ "beef", "futures-channel", "futures-util", - "hyper 0.14.9", + "hyper 0.14.5", "log", "serde", "serde_json", @@ -3235,10 +3230,10 @@ dependencies = [ "serde_json", "soketto 0.5.0", "thiserror", - "tokio 0.2.25", + "tokio 0.2.21", "tokio-rustls 0.15.0", "tokio-util", - "url 2.2.2", + "url 2.2.0", ] [[package]] @@ -3421,9 +3416,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "lazycell" -version = "1.3.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" +checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" [[package]] name = "leb128" @@ -3433,9 +3428,9 @@ checksum = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a" [[package]] name = "libc" -version = "0.2.97" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6" +checksum = "8916b1f6ca17130ec6568feccee27c156ad12037880833a3b842a823236502e7" [[package]] name = "libloading" @@ -3504,9 +3499,9 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.28.3" +version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "554d3e7e9e65f939d66b75fd6a4c67f258fe250da61b91f46c545fc4a89b51d9" +checksum = "71dd51b562e14846e65bad00e5808d0644376e6588668c490d3c48e1dfeb4a9a" dependencies = [ "asn1_der", "bs58", @@ -3528,7 +3523,7 @@ dependencies = [ "rand 0.7.3", "ring", "rw-stream-sink", - "sha2 0.9.5", + "sha2 0.9.2", "smallvec 1.6.1", "thiserror", "unsigned-varint 0.7.0", @@ -3581,9 +3576,9 @@ dependencies = [ [[package]] name = "libp2p-gossipsub" -version = "0.30.1" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7b0c8506a6ec3344b9e706d7c7a6dba826f8ede735cfe13dde12a8c263c4af9" +checksum = "73cb9a89a301afde1e588c73f7e9131e12a5388725f290a9047b878862db1b53" dependencies = [ "asynchronous-codec 0.6.0", "base64 0.13.0", @@ -3599,7 +3594,7 @@ dependencies = [ "prost-build", "rand 0.7.3", "regex", - "sha2 0.9.5", + "sha2 0.9.2", "smallvec 1.6.1", "unsigned-varint 0.7.0", "wasm-timer", @@ -3639,7 +3634,7 @@ dependencies = [ "prost", "prost-build", "rand 0.7.3", - "sha2 0.9.5", + "sha2 0.9.2", "smallvec 1.6.1", "uint", "unsigned-varint 0.7.0", @@ -3649,9 +3644,9 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.30.2" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4efa70c1c3d2d91237f8546e27aeb85e287d62c066a7b4f3ea6a696d43ced714" +checksum = "c221897b3fd7f215de7ecfec215c5eba598e5b61c605b5f8b56fe8a4fb507724" dependencies = [ "async-io", "data-encoding", @@ -3693,7 +3688,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36db0f0db3b0433f5b9463f1c0cd9eadc0a3734a9170439ce501ff99733a88bd" dependencies = [ "bytes 1.0.1", - "curve25519-dalek 3.1.0", + "curve25519-dalek 3.0.0", "futures 0.3.15", "lazy_static", "libp2p-core", @@ -3701,10 +3696,10 @@ dependencies = [ "prost", "prost-build", "rand 0.7.3", - "sha2 0.9.5", + "sha2 0.9.2", "snow", "static_assertions", - "x25519-dalek", + "x25519-dalek 1.1.0", "zeroize", ] @@ -3854,9 +3849,9 @@ dependencies = [ [[package]] name = "libp2p-wasm-ext" -version = "0.28.2" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d413e4cf9b8e5dfbcd2a60d3dc5a3391308bdb463684093d4f67137b7113de" +checksum = "cef45d61e43c313531b5e903e4e8415212ff6338e0c54c47da5b9b412b5760de" dependencies = [ "futures 0.3.15", "js-sys", @@ -3879,8 +3874,8 @@ dependencies = [ "log", "quicksink", "rw-stream-sink", - "soketto 0.4.2", - "url 2.2.2", + "soketto 0.4.1", + "url 2.2.0", "webpki-roots", ] @@ -3921,43 +3916,44 @@ dependencies = [ "hmac-drbg", "rand 0.7.3", "sha2 0.8.2", - "subtle 2.4.0", + "subtle 2.2.3", "typenum", ] [[package]] name = "libz-sys" -version = "1.1.3" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66" +checksum = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe" dependencies = [ "cc", + "libc", "pkg-config", "vcpkg", ] [[package]] name = "linked-hash-map" -version = "0.5.4" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" +checksum = "8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a" [[package]] name = "linked_hash_set" -version = "0.1.4" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588" +checksum = "3c7c91c4c7bbeb4f2f7c4e5be11e6a05bd6830bc37249c47ce1ad86ad453ff9c" dependencies = [ "linked-hash-map", ] [[package]] name = "linregress" -version = "0.4.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1ff7f341d23e1275eec0656a9a07225fcc86216c4322392868adffe59023d1a" +checksum = "0d0ad4b5cc8385a881c561fac3501353d63d2a2b7a357b5064d71815c9a92724" dependencies = [ - "nalgebra 0.27.1", + "nalgebra", "statrs", ] @@ -3972,9 +3968,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb" +checksum = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c" dependencies = [ "scopeguard", ] @@ -3989,6 +3985,19 @@ dependencies = [ "value-bag", ] +[[package]] +name = "loom" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0e8460f2f2121162705187214720353c517b97bdfb3494c0b1e33d83ebe4bed" +dependencies = [ + "cfg-if 0.1.10", + "generator", + "scoped-tls", + "serde", + "serde_json", +] + [[package]] name = "lru" version = "0.6.5" @@ -4045,9 +4054,9 @@ checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" [[package]] name = "matrixmultiply" -version = "0.3.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a8a15b776d9dfaecd44b03c5828c2199cddff5247215858aac14624f8d6b741" +checksum = "d4f7ec66360130972f34830bfad9ef05c6610a43938a467bcc9ab9369ab3478f" dependencies = [ "rawpointer", ] @@ -4082,33 +4091,33 @@ checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" [[package]] name = "memchr" -version = "2.4.0" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" +checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" [[package]] name = "memmap2" -version = "0.2.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4" +checksum = "e73be3b7d04a0123e933fea1d50d126cc7196bbc0362c0ce426694f777194eee" dependencies = [ "libc", ] [[package]] name = "memoffset" -version = "0.5.6" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa" +checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f" dependencies = [ "autocfg", ] [[package]] name = "memoffset" -version = "0.6.4" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" +checksum = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87" dependencies = [ "autocfg", ] @@ -4141,9 +4150,9 @@ checksum = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" [[package]] name = "merlin" -version = "2.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" +checksum = "c6feca46f4fa3443a01769d768727f10c10a20fdb65e52dc16a81f0c8269bb78" dependencies = [ "byteorder", "keccak", @@ -4174,18 +4183,18 @@ dependencies = [ [[package]] name = "minicbor" -version = "0.8.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51aa5bb0ca22415daca596a227b507f880ad1b2318a87fa9325312a5d285ca0d" +checksum = "ea79ce4ab9f445ec6b71833a2290ac0a29c9dde0fa7cae4c481eecae021d9bd9" dependencies = [ "minicbor-derive", ] [[package]] name = "minicbor-derive" -version = "0.6.3" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2b9e8883d58e34b18facd16c4564a77ea50fce028ad3d0ee6753440e37acc8" +checksum = "19ce18b5423c573a13e80cb3046ea0af6379ef725dc3af4886bdb8f4e5093068" dependencies = [ "proc-macro2", "quote", @@ -4194,19 +4203,18 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.4.4" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" +checksum = "be0f75932c1f6cfae3c04000e40114adf955636e19040f9c0a2c380702aa1c7f" dependencies = [ "adler", - "autocfg", ] [[package]] name = "mio" -version = "0.6.23" +version = "0.6.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4" +checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430" dependencies = [ "cfg-if 0.1.10", "fuchsia-zircon", @@ -4215,7 +4223,7 @@ dependencies = [ "kernel32-sys", "libc", "log", - "miow 0.2.2", + "miow 0.2.1", "net2", "slab", "winapi 0.2.8", @@ -4241,7 +4249,7 @@ checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" dependencies = [ "log", "mio", - "miow 0.3.7", + "miow 0.3.5", "winapi 0.3.9", ] @@ -4258,9 +4266,9 @@ dependencies = [ [[package]] name = "miow" -version = "0.2.2" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d" +checksum = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" dependencies = [ "kernel32-sys", "net2", @@ -4270,10 +4278,11 @@ dependencies = [ [[package]] name = "miow" -version = "0.3.7" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" +checksum = "07b88fb9795d4d36d62a012dfbf49a8f5cf12751f36d31a9dbe66d528e58979e" dependencies = [ + "socket2 0.3.17", "winapi 0.3.9", ] @@ -4296,9 +4305,9 @@ dependencies = [ [[package]] name = "multihash" -version = "0.13.2" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dac63698b887d2d929306ea48b63760431ff8a24fac40ddb22f9c7f49fb7cab" +checksum = "fb63389ee5fcd4df3f8727600f4a0c3df53c541f0ed4e8b50a9ae51a80fc1efe" dependencies = [ "blake2b_simd", "blake2s_simd", @@ -4306,18 +4315,18 @@ dependencies = [ "digest 0.9.0", "generic-array 0.14.4", "multihash-derive", - "sha2 0.9.5", + "sha2 0.9.2", "sha3", "unsigned-varint 0.5.1", ] [[package]] name = "multihash-derive" -version = "0.7.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99" +checksum = "2f5653449cd45d502a53480ee08d7a599e8f4893d2bacb33c63d65bc20af6c1a" dependencies = [ - "proc-macro-crate 1.0.0", + "proc-macro-crate 0.1.5", "proc-macro-error", "proc-macro2", "quote", @@ -4327,82 +4336,66 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.3" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "d8883adfde9756c1d30b0f519c9b8c502a94b41ac62f696453c37c7fc0a958ce" [[package]] name = "multistream-select" -version = "0.10.2" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d91ec0a2440aaff5f78ec35631a7027d50386c6163aa975f7caa0d5da4b6ff8" +checksum = "10ddc0eb0117736f19d556355464fc87efc8ad98b29e3fd84f02531eb6e90840" dependencies = [ "bytes 1.0.1", "futures 0.3.15", "log", "pin-project 1.0.7", "smallvec 1.6.1", - "unsigned-varint 0.7.0", + "unsigned-varint 0.6.0", ] [[package]] name = "nalgebra" -version = "0.26.2" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "476d1d59fe02fe54c86356e91650cd892f392782a1cb9fc524ec84f7aa9e1d06" +checksum = "d6b6147c3d50b4f3cdabfe2ecc94a0191fd3d6ad58aefd9664cf396285883486" dependencies = [ - "approx 0.4.0", + "approx", + "generic-array 0.13.2", "matrixmultiply", - "num-complex 0.3.1", - "num-rational 0.3.2", + "num-complex", + "num-rational", "num-traits", - "rand 0.8.4", + "rand 0.7.3", "rand_distr", - "simba 0.4.0", - "typenum", -] - -[[package]] -name = "nalgebra" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" -dependencies = [ - "approx 0.5.0", - "matrixmultiply", - "nalgebra-macros", - "num-complex 0.4.0", - "num-rational 0.4.0", - "num-traits", - "simba 0.5.1", + "simba", "typenum", ] [[package]] -name = "nalgebra-macros" -version = "0.1.0" +name = "names" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +checksum = "ef320dab323286b50fb5cdda23f61c796a72a89998ab565ca32525c5c556f2da" dependencies = [ - "proc-macro2", - "quote", - "syn", + "rand 0.3.23", ] [[package]] -name = "names" -version = "0.11.0" +name = "nb-connect" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef320dab323286b50fb5cdda23f61c796a72a89998ab565ca32525c5c556f2da" +checksum = "8123a81538e457d44b933a02faf885d3fe8408806b23fa700e8f01c6c3a98998" dependencies = [ - "rand 0.3.23", + "libc", + "winapi 0.3.9", ] [[package]] name = "net2" -version = "0.2.37" +version = "0.2.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae" +checksum = "2ba7c918ac76704fb42afcbbb43891e72731f3dcca3bef2a19786297baf14af7" dependencies = [ "cfg-if 0.1.10", "libc", @@ -4456,27 +4449,19 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "747d632c0c558b87dbabbe6a82f3b4ae03720d0646ac5b7b4dae89394be5f2c5" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-complex" -version = "0.4.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26873667bbbb7c5182d4a37c1add32cdf09f841af72da53318fdb81543c15085" +checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95" dependencies = [ + "autocfg", "num-traits", ] [[package]] name = "num-integer" -version = "0.1.44" +version = "0.1.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" +checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b" dependencies = [ "autocfg", "num-traits", @@ -4494,28 +4479,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-rational" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12ac428b1cb17fce6f731001d307d351ec70a6d202fc2e60f7d4c5e42d8f4f07" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d41702bd167c2df5520b384281bc111a4b5efcf7fbc4c9c222c815b07e0a6a6a" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.14" @@ -4538,28 +4501,25 @@ dependencies = [ [[package]] name = "object" -version = "0.24.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a5b3dd1c072ee7963717671d1ca129f1048fda25edea6b752bfc71ac8854170" -dependencies = [ - "crc32fast", - "indexmap", -] +checksum = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4" [[package]] name = "object" -version = "0.25.3" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a38f2be3697a57b4060074ff41b44c16870d916ad7877c17696e063257482bc7" +checksum = "1a5b3dd1c072ee7963717671d1ca129f1048fda25edea6b752bfc71ac8854170" dependencies = [ - "memchr", + "crc32fast", + "indexmap", ] [[package]] name = "once_cell" -version = "1.8.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" +checksum = "4ad167a2f54e832b82dbe003a046280dceffe5227b5f79e08e363a29638cfddd" dependencies = [ "parking_lot 0.11.1", ] @@ -4578,15 +4538,15 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl-probe" -version = "0.1.4" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" +checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" [[package]] name = "ordered-float" -version = "1.1.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3305af35278dd29f46fcdd139e0b1fbfae2153f0e5928b39b035542dd31e37b7" +checksum = "3741934be594d77de1c8461ebcbbe866f585ea616a9753aa78f2bdc69f0e4579" dependencies = [ "num-traits", ] @@ -4611,9 +4571,9 @@ dependencies = [ [[package]] name = "owo-colors" -version = "1.3.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2386b4ebe91c2f7f51082d4cefa145d030e33a1842a96b12e4885cc3c01f7a55" +checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-authority-discovery" @@ -5127,7 +5087,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "paste", + "paste 1.0.5", "rand_chacha 0.2.2", "serde", "sp-application-crypto", @@ -5339,16 +5299,16 @@ dependencies = [ "serde", "static_assertions", "unsigned-varint 0.7.0", - "url 2.2.2", + "url 2.2.0", ] [[package]] name = "parity-scale-codec" -version = "2.1.3" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b310f220c335f9df1b3d2e9fbe3890bbfeef5030dad771620f48c5c229877cd3" +checksum = "731f4d179ed52b1c7eeb29baf29c604ea9301b889b23ce93660220a5465d5c6f" dependencies = [ - "arrayvec 0.7.1", + "arrayvec 0.7.0", "bitvec", "byte-slice-cast", "parity-scale-codec-derive", @@ -5357,11 +5317,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "2.1.3" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81038e13ca2c32587201d544ea2e6b6c47120f1e4eae04478f9f60b6bcb89145" +checksum = "f44c5f94427bd0b5076e8f7e15ca3f60a4d8ac0077e4793884e6fdfd8915344e" dependencies = [ - "proc-macro-crate 1.0.0", + "proc-macro-crate 0.1.5", "proc-macro2", "quote", "syn", @@ -5380,11 +5340,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e57fea504fea33f9fbb5f49f378359030e7e026a6ab849bb9e8f0787376f1bf" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "libc", "log", "mio-named-pipes", - "miow 0.3.7", + "miow 0.3.5", "rand 0.7.3", "tokio 0.1.22", "tokio-named-pipes", @@ -5452,7 +5412,7 @@ dependencies = [ "rand 0.7.3", "sha-1 0.8.2", "slab", - "url 2.2.2", + "url 2.2.0", ] [[package]] @@ -5489,8 +5449,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb" dependencies = [ "instant", - "lock_api 0.4.4", - "parking_lot_core 0.8.3", + "lock_api 0.4.1", + "parking_lot_core 0.8.0", ] [[package]] @@ -5500,11 +5460,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" dependencies = [ "cfg-if 0.1.10", - "cloudabi", + "cloudabi 0.0.3", "libc", - "redox_syscall 0.1.57", + "redox_syscall 0.1.56", "rustc_version", - "smallvec 0.6.14", + "smallvec 0.6.13", "winapi 0.3.9", ] @@ -5515,33 +5475,53 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3" dependencies = [ "cfg-if 0.1.10", - "cloudabi", + "cloudabi 0.0.3", "libc", - "redox_syscall 0.1.57", + "redox_syscall 0.1.56", "smallvec 1.6.1", "winapi 0.3.9", ] [[package]] name = "parking_lot_core" -version = "0.8.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018" +checksum = "c361aa727dd08437f2f1447be8b59a33b0edd15e0fcee698f935613d9efbca9b" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 0.1.10", + "cloudabi 0.1.0", "instant", "libc", - "redox_syscall 0.2.9", + "redox_syscall 0.1.56", "smallvec 1.6.1", "winapi 0.3.9", ] +[[package]] +name = "paste" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" +dependencies = [ + "paste-impl", + "proc-macro-hack", +] + [[package]] name = "paste" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58" +[[package]] +name = "paste-impl" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6" +dependencies = [ + "proc-macro-hack", +] + [[package]] name = "pbkdf2" version = "0.3.0" @@ -5640,11 +5620,11 @@ dependencies = [ [[package]] name = "pin-project" -version = "0.4.28" +version = "0.4.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "918192b5c59119d51e0cd221f4d49dde9112824ba717369e903c97d076083d0f" +checksum = "ca4433fff2ae79342e497d9f8ee990d174071408f28f726d6d83af93e58e48aa" dependencies = [ - "pin-project-internal 0.4.28", + "pin-project-internal 0.4.23", ] [[package]] @@ -5658,9 +5638,9 @@ dependencies = [ [[package]] name = "pin-project-internal" -version = "0.4.28" +version = "0.4.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e" +checksum = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f" dependencies = [ "proc-macro2", "quote", @@ -5680,15 +5660,15 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.1.12" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" +checksum = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715" [[package]] name = "pin-project-lite" -version = "0.2.6" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc0e1f259c92177c30a4c9d177246edd0a3568b25756a977d0632cf8fa37e905" +checksum = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827" [[package]] name = "pin-utils" @@ -5698,9 +5678,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.19" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c" +checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677" [[package]] name = "platforms" @@ -6389,7 +6369,7 @@ dependencies = [ "env_logger 0.8.4", "futures 0.3.15", "futures-timer 3.0.2", - "itertools 0.10.1", + "itertools 0.10.0", "log", "lru", "metered-channel", @@ -6957,7 +6937,7 @@ version = "0.9.7" dependencies = [ "frame-benchmarking", "frame-system", - "futures 0.1.31", + "futures 0.1.29", "futures 0.3.15", "hex", "pallet-balances", @@ -7001,55 +6981,53 @@ dependencies = [ "substrate-test-client", "substrate-test-utils", "tempfile", - "tokio 0.2.25", + "tokio 0.2.21", "tracing", ] [[package]] name = "polling" -version = "2.1.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92341d779fa34ea8437ef4d82d440d5e1ce3f3ff7f824aa64424cd481f9a1f25" +checksum = "a2a7bc6b2a29e632e45451c941832803a18cce6781db04de8a04696cdca8bde4" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 0.1.10", "libc", "log", - "wepoll-ffi", + "wepoll-sys", "winapi 0.3.9", ] [[package]] name = "poly1305" -version = "0.6.2" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b7456bc1ad2d4cf82b3a016be4c2ac48daf11bf990c1603ebd447fe6f30fca8" +checksum = "d9b42192ab143ed7619bf888a7f9c6733a9a2153b218e2cd557cfdb52fbf9bb1" dependencies = [ - "cpuid-bool", "universal-hash", ] [[package]] name = "polyval" -version = "0.4.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd" +checksum = "d9a50142b55ab3ed0e9f68dfb3709f1d90d29da24e91033f28b96330643107dc" dependencies = [ - "cpuid-bool", - "opaque-debug 0.3.0", + "cfg-if 0.1.10", "universal-hash", ] [[package]] name = "ppv-lite86" -version = "0.2.10" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" +checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea" [[package]] name = "predicates" -version = "1.0.8" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df" +checksum = "347a1b6f0b21e636bc9872fb60b83b8e185f6f5516298b8238699f7f9a531030" dependencies = [ "difference", "predicates-core", @@ -7057,15 +7035,15 @@ dependencies = [ [[package]] name = "predicates-core" -version = "1.0.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57e35a3326b75e49aa85f5dc6ec15b41108cf5aee58eabb1f274dd18b73c2451" +checksum = "06075c3a3e92559ff8929e7a280684489ea27fe44805174c3ebd9328dcb37178" [[package]] name = "predicates-tree" -version = "1.0.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f553275e5721409451eb85e15fd9a860a6e5ab4496eb215987502b5f5391f2" +checksum = "8e63c4859013b38a76eca2414c64911fba30def9e3202ac461a2d22831220124" dependencies = [ "predicates-core", "treeline", @@ -7159,15 +7137,15 @@ checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" [[package]] name = "proc-macro-nested" -version = "0.1.7" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" +checksum = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a" [[package]] name = "proc-macro2" -version = "1.0.27" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d8caf72986c1a598726adc988bb5984792ef84f5ee5aa50209145ee8077038" +checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" dependencies = [ "unicode-xid", ] @@ -7239,18 +7217,18 @@ dependencies = [ [[package]] name = "psm" -version = "0.1.13" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21ff0279b4a85e576b97e4a21d13e437ebcd56612706cde5d3f0d5c9399490c0" +checksum = "3abf49e5417290756acfd26501536358560c4a5cc4a0934d390939acb3e7083a" dependencies = [ "cc", ] [[package]] name = "pwasm-utils" -version = "0.18.1" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c1a2f10b47d446372a4f397c58b329aaea72b2daf9395a623a411cb8ccb54f" +checksum = "a0e517f47d9964362883182404b68d0b6949382c0baa40aa5ffca94f5f1e3481" dependencies = [ "byteorder", "log", @@ -7265,9 +7243,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quick-error" -version = "2.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" +checksum = "3ac73b1112776fc109b2e61909bc46c7e1bf0d7f690ffb1676553acce16d5cda" [[package]] name = "quicksink" @@ -7277,7 +7255,7 @@ checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" dependencies = [ "futures-core", "futures-sink", - "pin-project-lite 0.1.12", + "pin-project-lite 0.1.7", ] [[package]] @@ -7324,7 +7302,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ - "getrandom 0.1.16", + "getrandom 0.1.14", "libc", "rand_chacha 0.2.2", "rand_core 0.5.1", @@ -7340,8 +7318,8 @@ checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" dependencies = [ "libc", "rand_chacha 0.3.1", - "rand_core 0.6.3", - "rand_hc 0.3.1", + "rand_core 0.6.1", + "rand_hc 0.3.0", ] [[package]] @@ -7361,7 +7339,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.3", + "rand_core 0.6.1", ] [[package]] @@ -7385,26 +7363,25 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" dependencies = [ - "getrandom 0.1.16", + "getrandom 0.1.14", ] [[package]] name = "rand_core" -version = "0.6.3" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" +checksum = "c026d7df8b298d90ccbbc5190bd04d85e159eaf5576caeacf8741da93ccbd2e5" dependencies = [ - "getrandom 0.2.3", + "getrandom 0.2.1", ] [[package]] name = "rand_distr" -version = "0.4.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "051b398806e42b9cd04ad9ec8f81e355d0a382c543ac6672c62f5a5b452ef142" +checksum = "96977acbdd3a6576fb1d27391900035bf3863d4a16422973a409b488cf29ffb2" dependencies = [ - "num-traits", - "rand 0.8.4", + "rand 0.7.3", ] [[package]] @@ -7418,11 +7395,11 @@ dependencies = [ [[package]] name = "rand_hc" -version = "0.3.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" +checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73" dependencies = [ - "rand_core 0.6.3", + "rand_core 0.6.1", ] [[package]] @@ -7442,25 +7419,25 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.5.1" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" +checksum = "62f02856753d04e03e26929f820d0a0a337ebe71f849801eea335d464b349080" dependencies = [ "autocfg", - "crossbeam-deque 0.8.0", + "crossbeam-deque", "either", "rayon-core", ] [[package]] name = "rayon-core" -version = "1.9.1" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" +checksum = "e92e15d89083484e11353891f1af602cc661426deb9564c298b270c726973280" dependencies = [ - "crossbeam-channel", - "crossbeam-deque 0.8.0", - "crossbeam-utils 0.8.5", + "crossbeam-deque", + "crossbeam-queue", + "crossbeam-utils 0.7.2", "lazy_static", "num_cpus", ] @@ -7476,27 +7453,38 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.1.57" +version = "0.1.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" +checksum = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" [[package]] name = "redox_syscall" -version = "0.2.9" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee" +checksum = "05ec8ca9416c5ea37062b502703cd7fcb207736bc294f6e0cf367ac6fc234570" dependencies = [ "bitflags", ] +[[package]] +name = "redox_users" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09b23093265f8d200fa7b4c2c76297f47e681c655f6f1285a8780d6a022f7431" +dependencies = [ + "getrandom 0.1.14", + "redox_syscall 0.1.56", + "rust-argon2", +] + [[package]] name = "redox_users" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" dependencies = [ - "getrandom 0.2.3", - "redox_syscall 0.2.9", + "getrandom 0.2.1", + "redox_syscall 0.2.4", ] [[package]] @@ -7507,25 +7495,25 @@ checksum = "3bd8f48b2066e9f69ab192797d66da804d1935bf22763204ed3675740cb0f221" dependencies = [ "derive_more", "fs-err", - "itertools 0.10.1", + "itertools 0.10.0", "static_init", "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.6" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300f2a835d808734ee295d45007adacb9ebb29dd3ae2424acfa17930cae541da" +checksum = "745c1787167ddae5569661d5ffb8b25ae5fedbf46717eaa92d652221cec72623" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.6" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2" +checksum = "7d21b475ab879ef0e315ad99067fa25778c3b0377f57f1b00207448dac1a3144" dependencies = [ "proc-macro2", "quote", @@ -7546,29 +7534,31 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.4" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" +checksum = "38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c" dependencies = [ "aho-corasick", "memchr", "regex-syntax", + "thread_local", ] [[package]] name = "regex-automata" -version = "0.1.10" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +checksum = "ae1ded71d66a4a97f5e961fd0cb25a5f366a42a41570d16a763a69c092c26ae4" dependencies = [ + "byteorder", "regex-syntax", ] [[package]] name = "regex-syntax" -version = "0.6.25" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" +checksum = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189" [[package]] name = "region" @@ -7728,19 +7718,31 @@ dependencies = [ [[package]] name = "rpassword" -version = "5.0.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb" +checksum = "d755237fc0f99d98641540e66abac8bc46a0652f19148ac9e21de2da06b326c9" dependencies = [ "libc", "winapi 0.3.9", ] +[[package]] +name = "rust-argon2" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017" +dependencies = [ + "base64 0.11.0", + "blake2b_simd", + "constant_time_eq", + "crossbeam-utils 0.7.2", +] + [[package]] name = "rustc-demangle" -version = "0.1.20" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dead70b0b5e03e9c814bcb6b01e03e68f7c57a80aa48c72ec92152ab3e818d49" +checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" [[package]] name = "rustc-hash" @@ -7765,9 +7767,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.18.1" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81" +checksum = "cac94b333ee2aac3284c5b8a1b7fb4dd11cba88c244e3fe33cdbd047af0eb693" dependencies = [ "base64 0.12.3", "log", @@ -7796,7 +7798,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "629d439a7672da82dd955498445e496ee2096fe2117b9f796558a43fdb9e59b8" dependencies = [ "openssl-probe", - "rustls 0.18.1", + "rustls 0.18.0", "schannel", "security-framework 1.0.0", ] @@ -7810,20 +7812,20 @@ dependencies = [ "openssl-probe", "rustls 0.19.1", "schannel", - "security-framework 2.3.1", + "security-framework 2.2.0", ] [[package]] name = "rustversion" -version = "1.0.5" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61b3909d758bb75c79f23d4736fac9433868679d3ad2ea7a61e3c25cfda9a088" +checksum = "cb5d2a036dc6d2d8fd16fde3498b04306e29bd193bf306a57427019b823d5acd" [[package]] name = "ruzstd" -version = "0.2.3" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b36018ba08d4f285d34b80bdff3930a5887b4b2c77b261b7a9f5313dbe929e" +checksum = "3d425143485a37727c7a46e689bbe3b883a00f42b4a52c4ac0f44855c1009b00" dependencies = [ "byteorder", "twox-hash", @@ -7836,7 +7838,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" dependencies = [ "futures 0.3.15", - "pin-project 0.4.28", + "pin-project 0.4.23", "static_assertions", ] @@ -7864,18 +7866,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "sc-allocator" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a4c8ab99d68bdfa0cc85a07ae99b7e9f289ef450" -dependencies = [ - "log", - "sp-core", - "sp-std", - "sp-wasm-interface", - "thiserror", -] - [[package]] name = "sc-authority-discovery" version = "0.9.0" @@ -7959,6 +7949,7 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", + "sp-chain-spec", "sp-consensus-babe", "sp-core", "sp-runtime", @@ -8010,7 +8001,7 @@ dependencies = [ "structopt", "thiserror", "tiny-bip39", - "tokio 0.2.25", + "tokio 0.2.21", ] [[package]] @@ -8103,7 +8094,7 @@ dependencies = [ "log", "merlin", "num-bigint", - "num-rational 0.2.4", + "num-rational", "num-traits", "parity-scale-codec", "parking_lot 0.11.1", @@ -8249,7 +8240,7 @@ dependencies = [ "derive_more", "parity-scale-codec", "pwasm-utils", - "sc-allocator", + "sp-allocator", "sp-core", "sp-maybe-compressed-blob", "sp-serializer", @@ -8265,8 +8256,8 @@ source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083 dependencies = [ "log", "parity-scale-codec", - "sc-allocator", "sc-executor-common", + "sp-allocator", "sp-core", "sp-runtime-interface", "sp-wasm-interface", @@ -8283,9 +8274,9 @@ dependencies = [ "log", "parity-scale-codec", "parity-wasm 0.42.2", - "sc-allocator", "sc-executor-common", "scoped-tls", + "sp-allocator", "sp-core", "sp-runtime-interface", "sp-wasm-interface", @@ -8413,7 +8404,7 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-keystore", - "subtle 2.4.0", + "subtle 2.2.3", ] [[package]] @@ -8515,7 +8506,7 @@ dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", "hex", - "hyper 0.13.10", + "hyper 0.13.9", "hyper-rustls", "log", "num_cpus", @@ -8568,7 +8559,6 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.11.1", "sc-block-builder", - "sc-chain-spec", "sc-client-api", "sc-executor", "sc-keystore", @@ -8577,6 +8567,7 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", + "sp-chain-spec", "sp-core", "sp-keystore", "sp-offchain", @@ -8604,9 +8595,9 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.11.1", - "sc-chain-spec", "serde", "serde_json", + "sp-chain-spec", "sp-core", "sp-rpc", "sp-runtime", @@ -8620,7 +8611,7 @@ name = "sc-rpc-server" version = "3.0.0" source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" dependencies = [ - "futures 0.1.31", + "futures 0.1.29", "jsonrpc-core", "jsonrpc-http-server", "jsonrpc-ipc-server", @@ -8641,7 +8632,7 @@ dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.1.31", + "futures 0.1.29", "futures 0.3.15", "futures-timer 3.0.2", "hash-db", @@ -8867,13 +8858,13 @@ checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" dependencies = [ "arrayref", "arrayvec 0.5.2", - "curve25519-dalek 2.1.2", - "getrandom 0.1.16", + "curve25519-dalek 2.1.0", + "getrandom 0.1.14", "merlin", "rand 0.7.3", "rand_core 0.5.1", "sha2 0.8.2", - "subtle 2.4.0", + "subtle 2.2.3", "zeroize", ] @@ -8891,18 +8882,18 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "scroll" -version = "0.10.2" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda28d4b4830b807a8b43f7b0e6b5df875311b3e7621d84577188c175b6ec1ec" +checksum = "abb2332cb595d33f7edd5700f4cbf94892e680c7f0ae56adab58a35190b66cb1" dependencies = [ "scroll_derive", ] [[package]] name = "scroll_derive" -version = "0.10.5" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaaae8f38bb311444cfb7f1979af0bc9240d95795f75f9ceddf6a59b79ceffa0" +checksum = "e367622f934864ffa1c704ba2b82280aab856e3d8213c84c5720257eb34b15b9" dependencies = [ "proc-macro2", "quote", @@ -8911,9 +8902,9 @@ dependencies = [ [[package]] name = "sct" -version = "0.6.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" +checksum = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c" dependencies = [ "ring", "untrusted", @@ -8943,15 +8934,15 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.3.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23a2ac85147a3a11d77ecf1bc7166ec0b92febfa4461c37944e180f319ece467" +checksum = "3670b1d2fdf6084d192bc71ead7aabe6c06aa2ea3fbd9cc3ac111fa5c2b1bd84" dependencies = [ "bitflags", "core-foundation 0.9.1", "core-foundation-sys 0.8.2", "libc", - "security-framework-sys 2.3.0", + "security-framework-sys 2.2.0", ] [[package]] @@ -8966,9 +8957,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.3.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4effb91b4b8b6fb7732e670b6cee160278ff8e6bf485c7805d9e319d76e284" +checksum = "3676258fd3cfe2c9a0ec99ce3038798d847ce3e4bb17746373eb9f0f1ac16339" dependencies = [ "core-foundation-sys 0.8.2", "libc", @@ -9105,13 +9096,13 @@ dependencies = [ [[package]] name = "sha2" -version = "0.9.5" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12" +checksum = "6e7aab86fe2149bad8c507606bdb3f4ef5e7b2380eb92350f56122cca72a42a8" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpufeatures", + "cpuid-bool", "digest 0.9.0", "opaque-debug 0.3.0", ] @@ -9130,11 +9121,12 @@ dependencies = [ [[package]] name = "sharded-slab" -version = "0.1.1" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79c719719ee05df97490f80a45acfc99e5a30ce98a1e4fb67aee422745ae14e3" +checksum = "7b4921be914e16899a80adefb821f8ddb7974e3f1250223575a44ed994882127" dependencies = [ "lazy_static", + "loom", ] [[package]] @@ -9145,9 +9137,9 @@ checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" [[package]] name = "signal-hook" -version = "0.3.9" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "470c5a6397076fae0094aaf06a08e6ba6f37acb77d3b1b91ea92b4d6c8650c39" +checksum = "604508c1418b99dfe1925ca9224829bb2a8a9a04dda655cc01fcad46f4ab05ed" dependencies = [ "libc", "signal-hook-registry", @@ -9155,48 +9147,37 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.4.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" +checksum = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41" dependencies = [ + "arc-swap", "libc", ] [[package]] name = "signature" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f0242b8e50dd9accdd56170e94ca1ebd223b098eb9c83539a6e367d0f36ae68" - -[[package]] -name = "simba" -version = "0.4.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5132a955559188f3d13c9ba831e77c802ddc8782783f050ed0c52f5988b95f4c" -dependencies = [ - "approx 0.4.0", - "num-complex 0.3.1", - "num-traits", - "paste", -] +checksum = "65211b7b6fc3f14ff9fc7a2011a434e3e6880585bd2e9e9396315ae24cbf7852" [[package]] name = "simba" -version = "0.5.1" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +checksum = "fb931b1367faadea6b1ab1c306a860ec17aaa5fa39f367d0c744e69d971a1fb2" dependencies = [ - "approx 0.5.0", - "num-complex 0.4.0", + "approx", + "num-complex", "num-traits", - "paste", + "paste 0.1.18", ] [[package]] name = "slab" -version = "0.4.3" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527" +checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" [[package]] name = "slog" @@ -9213,25 +9194,25 @@ version = "0.9.7" dependencies = [ "enumn", "parity-scale-codec", - "paste", + "paste 1.0.5", "sp-runtime", "sp-std", ] [[package]] name = "slotmap" -version = "1.0.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "585cd5dffe4e9e06f6dfdf66708b70aca3f781bed561f4f667b2d9c0d4559e36" +checksum = "ab3003725ae562cf995f3dc82bb99e70926e09000396816765bb6d7adbe740b1" dependencies = [ "version_check", ] [[package]] name = "smallvec" -version = "0.6.14" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" +checksum = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6" dependencies = [ "maybe-uninit", ] @@ -9244,9 +9225,9 @@ checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" [[package]] name = "snow" -version = "0.7.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "795dd7aeeee24468e5a32661f6d27f7b5cbed802031b2d7640c7b10f8fb2dd50" +checksum = "32bf8474159a95551661246cda4976e89356999e3cbfef36f493dacc3fae1e8e" dependencies = [ "aes-gcm", "blake2", @@ -9255,19 +9236,20 @@ dependencies = [ "rand_core 0.5.1", "ring", "rustc_version", - "sha2 0.9.5", - "subtle 2.4.0", - "x25519-dalek", + "sha2 0.9.2", + "subtle 2.2.3", + "x25519-dalek 0.6.0", ] [[package]] name = "socket2" -version = "0.3.19" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e" +checksum = "2c29947abdee2a218277abeca306f25789c938e500ea5a9d4b12a5a504466902" dependencies = [ "cfg-if 1.0.0", "libc", + "redox_syscall 0.1.56", "winapi 0.3.9", ] @@ -9283,9 +9265,9 @@ dependencies = [ [[package]] name = "soketto" -version = "0.4.2" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5c71ed3d54db0a699f4948e1bb3e45b450fa31fe602621dee6680361d569c88" +checksum = "85457366ae0c6ce56bf05a958aef14cd38513c236568618edbcd9a8c52cb80b0" dependencies = [ "base64 0.12.3", "bytes 0.5.6", @@ -9294,7 +9276,7 @@ dependencies = [ "httparse", "log", "rand 0.7.3", - "sha-1 0.9.6", + "sha-1 0.8.2", ] [[package]] @@ -9544,7 +9526,7 @@ dependencies = [ "schnorrkel", "secrecy", "serde", - "sha2 0.9.5", + "sha2 0.9.2", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", @@ -9747,7 +9729,7 @@ dependencies = [ "max-encoded-len", "parity-scale-codec", "parity-util-mem", - "paste", + "paste 1.0.5", "rand 0.7.3", "serde", "sp-application-crypto", @@ -10008,47 +9990,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "stable_deref_trait" -version = "1.2.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "staking-miner" -version = "0.9.0" -dependencies = [ - "env_logger 0.8.4", - "frame-election-provider-support", - "frame-support", - "frame-system", - "hex", - "jsonrpsee", - "jsonrpsee-types", - "jsonrpsee-ws-client", - "kusama-runtime", - "lazy_static", - "log", - "pallet-election-provider-multi-phase", - "pallet-staking", - "pallet-transaction-payment", - "parity-scale-codec", - "paste", - "polkadot-core-primitives", - "polkadot-runtime", - "polkadot-runtime-common", - "remote-externalities", - "serde", - "serde_json", - "sp-core", - "sp-io", - "sp-npos-elections", - "sp-runtime", - "sp-transaction-pool", - "sp-version", - "structopt", - "thiserror", - "tokio 0.2.25", - "westend-runtime", -] +checksum = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" [[package]] name = "static_assertions" @@ -10083,24 +10027,19 @@ dependencies = [ [[package]] name = "statrs" -version = "0.14.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e0c1f144861fbfd2a8cc82d564ccbf7fb3b7834d4fa128b84e9c2a73371aead" +checksum = "cce16f6de653e88beca7bd13780d08e09d4489dbca1f9210e041bc4852481382" dependencies = [ - "approx 0.4.0", - "lazy_static", - "nalgebra 0.26.2", - "num-traits", - "rand 0.8.4", + "rand 0.7.3", ] [[package]] name = "stream-cipher" -version = "0.7.1" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c80e15f898d8d8f25db24c253ea615cc14acf418ff307822995814e7d42cfa89" +checksum = "09f8ed9974042b8c3672ff3030a69fcc03b74c47c3d1ecb7755e8a3626011e88" dependencies = [ - "block-cipher", "generic-array 0.14.4", ] @@ -10184,10 +10123,10 @@ source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083 dependencies = [ "chrono", "console_error_panic_hook", - "futures 0.1.31", + "futures 0.1.29", "futures 0.3.15", "futures-timer 3.0.2", - "getrandom 0.2.3", + "getrandom 0.2.1", "js-sys", "kvdb-web", "libp2p-wasm-ext", @@ -10242,10 +10181,10 @@ dependencies = [ "async-std", "derive_more", "futures-util", - "hyper 0.13.10", + "hyper 0.13.9", "log", "prometheus", - "tokio 0.2.25", + "tokio 0.2.21", ] [[package]] @@ -10254,7 +10193,7 @@ version = "2.0.1" source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" dependencies = [ "async-trait", - "futures 0.1.31", + "futures 0.1.29", "futures 0.3.15", "hash-db", "hex", @@ -10284,7 +10223,7 @@ source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083 dependencies = [ "futures 0.3.15", "substrate-test-utils-derive", - "tokio 0.2.25", + "tokio 0.2.21", ] [[package]] @@ -10321,15 +10260,15 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" [[package]] name = "subtle" -version = "2.4.0" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2" +checksum = "502d53007c02d7605a05df1c1a73ee436952781653da5d0bf57ad608f66932c1" [[package]] name = "syn" -version = "1.0.73" +version = "1.0.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f71489ff30030d2ae598524f61326b902466f72a0fb1a8564c001cc63425bcc7" +checksum = "6498a9efc342871f91cc2d0d694c674368b4ceb40f62b65a7a08c3792935e702" dependencies = [ "proc-macro2", "quote", @@ -10356,9 +10295,9 @@ checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" [[package]] name = "tap" -version = "1.0.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" +checksum = "36474e732d1affd3a6ed582781b3683df3d0563714c59c39591e8ff707cf078e" [[package]] name = "target-lexicon" @@ -10375,16 +10314,16 @@ dependencies = [ "cfg-if 1.0.0", "libc", "rand 0.8.4", - "redox_syscall 0.2.9", + "redox_syscall 0.2.4", "remove_dir_all", "winapi 0.3.9", ] [[package]] name = "termcolor" -version = "1.1.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" +checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f" dependencies = [ "winapi-util", ] @@ -10426,7 +10365,7 @@ dependencies = [ "structopt", "substrate-test-utils", "test-parachain-adder", - "tokio 0.2.25", + "tokio 0.2.21", ] [[package]] @@ -10459,18 +10398,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.25" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa6f76457f59514c7eeb4e59d891395fab0b2fd1d40723ae737d64153392e9c6" +checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.25" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a36768c0fbf1bb15eca10defa29526bda730a2376c2ab4393ccfa16fb1a318d" +checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0" dependencies = [ "proc-macro2", "quote", @@ -10510,12 +10449,11 @@ dependencies = [ [[package]] name = "time" -version = "0.1.44" +version = "0.1.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" +checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" dependencies = [ "libc", - "wasi 0.10.0+wasi-snapshot-preview1", "winapi 0.3.9", ] @@ -10531,7 +10469,7 @@ dependencies = [ "pbkdf2 0.4.0", "rand 0.7.3", "rustc-hash", - "sha2 0.9.5", + "sha2 0.9.2", "thiserror", "unicode-normalization", "zeroize", @@ -10548,9 +10486,15 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.2.0" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53953d2d3a5ad81d9f844a32f14ebb121f50b650cd59d0ee2a07cf13c617efed" + +[[package]] +name = "tinyvec" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b5220f05bb7de7f3f53c7c065e1199b3172696fe2db9f9c4d8ad9b4ee74c342" +checksum = "317cca572a0e89c3ce0ca1f1bdc9369547fe318a683418e42ac8f59d14701023" dependencies = [ "tinyvec_macros", ] @@ -10568,7 +10512,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "mio", "num_cpus", "tokio-codec", @@ -10587,9 +10531,9 @@ dependencies = [ [[package]] name = "tokio" -version = "0.2.25" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6703a273949a90131b290be1fe7b039d0fc884aa1935860dfcbe056f28cd8092" +checksum = "d099fa27b9702bed751524694adbe393e18b36b204da91eb1cbbbbb4a5ee2d58" dependencies = [ "bytes 0.5.6", "fnv", @@ -10601,7 +10545,7 @@ dependencies = [ "mio", "mio-uds", "num_cpus", - "pin-project-lite 0.1.12", + "pin-project-lite 0.1.7", "signal-hook-registry", "slab", "tokio-macros", @@ -10610,12 +10554,12 @@ dependencies = [ [[package]] name = "tokio" -version = "1.7.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fb2ed024293bb19f7a5dc54fe83bf86532a44c12a2bb8ba40d64a4509395ca2" +checksum = "0a38d31d7831c6ed7aad00aa4c12d9375fd225a6dd77da1d25b707346319a975" dependencies = [ "autocfg", - "pin-project-lite 0.2.6", + "pin-project-lite 0.2.4", ] [[package]] @@ -10626,7 +10570,7 @@ checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46" dependencies = [ "bytes 0.4.12", "either", - "futures 0.1.31", + "futures 0.1.29", ] [[package]] @@ -10636,7 +10580,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "tokio-io", ] @@ -10646,7 +10590,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" dependencies = [ - "futures 0.1.31", + "futures 0.1.29", "tokio-executor", ] @@ -10657,7 +10601,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" dependencies = [ "crossbeam-utils 0.7.2", - "futures 0.1.31", + "futures 0.1.29", ] [[package]] @@ -10666,7 +10610,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4" dependencies = [ - "futures 0.1.31", + "futures 0.1.29", "tokio-io", "tokio-threadpool", ] @@ -10678,15 +10622,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "log", ] [[package]] name = "tokio-macros" -version = "0.2.6" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e44da00bfc73a25f814cd8d7e57a68a5c31b74b3152a0a1d1f590c97ed06265a" +checksum = "f0c3acc6aa564495a0f2e1d59fab677cd7f81a19994cfc7f3ad0e64301560389" dependencies = [ "proc-macro2", "quote", @@ -10700,7 +10644,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "mio", "mio-named-pipes", "tokio 0.1.22", @@ -10713,7 +10657,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" dependencies = [ "crossbeam-utils 0.7.2", - "futures 0.1.31", + "futures 0.1.29", "lazy_static", "log", "mio", @@ -10727,13 +10671,13 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.14.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a" +checksum = "228139ddd4fea3fa345a29233009635235833e52807af7ea6448ead03890d6a9" dependencies = [ "futures-core", - "rustls 0.18.1", - "tokio 0.2.25", + "rustls 0.18.0", + "tokio 0.2.21", "webpki", ] @@ -10745,7 +10689,7 @@ checksum = "03d15e5669243a45f630a5167d101b942174ca94b615445b2057eace1c818736" dependencies = [ "futures-core", "rustls 0.19.1", - "tokio 0.2.25", + "tokio 0.2.21", "webpki", ] @@ -10755,7 +10699,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162" dependencies = [ - "futures 0.1.31", + "futures 0.1.29", ] [[package]] @@ -10765,7 +10709,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee" dependencies = [ "fnv", - "futures 0.1.31", + "futures 0.1.29", ] [[package]] @@ -10775,7 +10719,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "iovec", "mio", "tokio-io", @@ -10788,10 +10732,10 @@ version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" dependencies = [ - "crossbeam-deque 0.7.3", + "crossbeam-deque", "crossbeam-queue", "crossbeam-utils 0.7.2", - "futures 0.1.31", + "futures 0.1.29", "lazy_static", "log", "num_cpus", @@ -10806,7 +10750,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" dependencies = [ "crossbeam-utils 0.7.2", - "futures 0.1.31", + "futures 0.1.29", "slab", "tokio-executor", ] @@ -10818,7 +10762,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "log", "mio", "tokio-codec", @@ -10833,7 +10777,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0" dependencies = [ "bytes 0.4.12", - "futures 0.1.31", + "futures 0.1.29", "iovec", "libc", "log", @@ -10855,24 +10799,24 @@ dependencies = [ "futures-io", "futures-sink", "log", - "pin-project-lite 0.1.12", - "tokio 0.2.25", + "pin-project-lite 0.1.7", + "tokio 0.2.21", ] [[package]] name = "toml" -version = "0.5.8" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" +checksum = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a" dependencies = [ "serde", ] [[package]] name = "tower-service" -version = "0.3.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" +checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" [[package]] name = "tracing" @@ -10882,7 +10826,7 @@ checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d" dependencies = [ "cfg-if 1.0.0", "log", - "pin-project-lite 0.2.6", + "pin-project-lite 0.2.4", "tracing-attributes", "tracing-core", ] @@ -10909,11 +10853,11 @@ dependencies = [ [[package]] name = "tracing-futures" -version = "0.2.5" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" +checksum = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c" dependencies = [ - "pin-project 1.0.7", + "pin-project 0.4.23", "tracing", ] @@ -10990,9 +10934,9 @@ dependencies = [ [[package]] name = "trust-dns-proto" -version = "0.20.3" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0d7f5db438199a6e2609debe3f69f808d074e0a2888ee0bccb45fe234d03f4" +checksum = "8d57e219ba600dd96c2f6d82eb79645068e14edbc5c7e27514af40436b88150c" dependencies = [ "async-trait", "cfg-if 1.0.0", @@ -11001,22 +10945,22 @@ dependencies = [ "futures-channel", "futures-io", "futures-util", - "idna 0.2.3", + "idna 0.2.0", "ipnet", "lazy_static", "log", "rand 0.8.4", "smallvec 1.6.1", "thiserror", - "tinyvec", - "url 2.2.2", + "tinyvec 1.1.1", + "url 2.2.0", ] [[package]] name = "trust-dns-resolver" -version = "0.20.3" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ad17b608a64bd0735e67bde16b0636f8aa8591f831a25d18443ed00a699770" +checksum = "b0437eea3a6da51acc1e946545ff53d5b8fb2611ff1c3bed58522dde100536ae" dependencies = [ "cfg-if 1.0.0", "futures-util", @@ -11033,9 +10977,9 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.3" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" +checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try-runtime-cli" @@ -11090,9 +11034,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.13.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06" +checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" [[package]] name = "ucd-trie" @@ -11123,27 +11067,27 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.5" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeb8be209bb1c96b7c177c7420d26e04eccacb0eeae6b980e35fcb74678107e0" +checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" dependencies = [ "matches", ] [[package]] name = "unicode-normalization" -version = "0.1.19" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" +checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977" dependencies = [ - "tinyvec", + "tinyvec 0.3.3", ] [[package]] name = "unicode-segmentation" -version = "1.7.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796" +checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" [[package]] name = "unicode-width" @@ -11153,9 +11097,9 @@ checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" [[package]] name = "unicode-xid" -version = "0.2.2" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" +checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" [[package]] name = "universal-hash" @@ -11164,7 +11108,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8326b2c654932e3e4f9196e69d08fdf7cfd718e1dc6f66b347e6024a0c961402" dependencies = [ "generic-array 0.14.4", - "subtle 2.4.0", + "subtle 2.2.3", ] [[package]] @@ -11216,31 +11160,36 @@ dependencies = [ [[package]] name = "url" -version = "2.2.2" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" +checksum = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e" dependencies = [ "form_urlencoded", - "idna 0.2.3", + "idna 0.2.0", "matches", "percent-encoding 2.1.0", ] [[package]] name = "value-bag" -version = "1.0.0-alpha.7" +version = "1.0.0-alpha.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd320e1520f94261153e96f7534476ad869c14022aee1e59af7c778075d840ae" +checksum = "6b676010e055c99033117c2343b33a40a30b91fecd6c49055ac9cd2d6c305ab1" dependencies = [ "ctor", - "version_check", ] [[package]] name = "vcpkg" -version = "0.2.15" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c" + +[[package]] +name = "vec-arena" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" +checksum = "eafc1b9b2dfc6f5529177b62cf806484db55b32dc7c9658a118e11bbeb33061d" [[package]] name = "vec_map" @@ -11250,9 +11199,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "version_check" -version = "0.9.3" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" +checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" [[package]] name = "void" @@ -11277,9 +11226,9 @@ checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" [[package]] name = "walkdir" -version = "2.3.2" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" +checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d" dependencies = [ "same-file", "winapi 0.3.9", @@ -11292,7 +11241,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230" dependencies = [ - "futures 0.1.31", + "futures 0.1.29", "log", "try-lock", ] @@ -11321,9 +11270,9 @@ checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" [[package]] name = "wasm-bindgen" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54ee1d4ed486f78874278e63e4069fc1ab9f6a18ca492076ffb90c5eb2997fd" +checksum = "83240549659d187488f91f33c0f8547cbfef0b2088bc470c116d1d260ef623d9" dependencies = [ "cfg-if 1.0.0", "serde", @@ -11333,9 +11282,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b33f6a0694ccfea53d94db8b2ed1c3a8a4c86dd936b13b9f0a15ec4a451b900" +checksum = "ae70622411ca953215ca6d06d3ebeb1e915f0f6613e3b495122878d7ebec7dae" dependencies = [ "bumpalo", "lazy_static", @@ -11348,9 +11297,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.24" +version = "0.4.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fba7978c679d53ce2d0ac80c8c175840feb849a161664365d1287b41f2e67f1" +checksum = "81b8b767af23de6ac18bf2168b690bed2902743ddf0fb39252e36f9e2bfc63ea" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -11360,9 +11309,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "088169ca61430fe1e58b8096c24975251700e7b1f6fd91cc9d59b04fb9b18bd4" +checksum = "3e734d91443f177bfdb41969de821e15c516931c3c3db3d318fa1b68975d0f6f" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -11370,9 +11319,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be2241542ff3d9f241f5e2cb6dd09b37efe786df8851c54957683a49f0987a97" +checksum = "d53739ff08c8a68b0fdbcd54c372b8ab800b1449ab3c9d706503bc7dd1621b2c" dependencies = [ "proc-macro2", "quote", @@ -11383,9 +11332,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.74" +version = "0.2.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f" +checksum = "d9a543ae66aa233d14bb765ed9af4a33e81b8b58d1584cf1b47ff8cd0b9e4489" [[package]] name = "wasm-gc-api" @@ -11422,7 +11371,7 @@ dependencies = [ "downcast-rs", "libc", "memory_units", - "num-rational 0.2.4", + "num-rational", "num-traits", "parity-wasm 0.42.2", "wasmi-validation", @@ -11458,7 +11407,7 @@ dependencies = [ "lazy_static", "libc", "log", - "paste", + "paste 1.0.5", "psm", "region", "rustc-demangle", @@ -11491,7 +11440,7 @@ dependencies = [ "libc", "log", "serde", - "sha2 0.9.5", + "sha2 0.9.2", "toml", "winapi 0.3.9", "zstd", @@ -11519,7 +11468,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5d2a763e7a6fc734218e0e463196762a4f409c483063d81e0e85f96343b2e0a" dependencies = [ "anyhow", - "gimli", + "gimli 0.24.0", "more-asserts", "object 0.24.0", "target-lexicon", @@ -11538,7 +11487,7 @@ dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-wasm", - "gimli", + "gimli 0.24.0", "indexmap", "log", "more-asserts", @@ -11564,7 +11513,7 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d4539ea734422b7c868107e2187d7746d8affbcaa71916d72639f53757ad707" dependencies = [ - "addr2line", + "addr2line 0.15.1", "anyhow", "cfg-if 1.0.0", "cranelift-codegen", @@ -11572,7 +11521,7 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli", + "gimli 0.24.0", "log", "more-asserts", "object 0.24.0", @@ -11613,7 +11562,7 @@ checksum = "e24364d522dcd67c897c8fffc42e5bdfc57207bbb6d7eeade0da9d4a7d70105b" dependencies = [ "anyhow", "cfg-if 1.0.0", - "gimli", + "gimli 0.24.0", "lazy_static", "libc", "object 0.24.0", @@ -11639,7 +11588,7 @@ dependencies = [ "libc", "log", "mach", - "memoffset 0.6.4", + "memoffset 0.6.1", "more-asserts", "rand 0.8.4", "region", @@ -11651,27 +11600,27 @@ dependencies = [ [[package]] name = "wast" -version = "36.0.0" +version = "35.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b5d7ba374a364571da1cb0a379a3dc302582a2d9937a183bfe35b68ad5bb9c4" +checksum = "1a5800e9f86a1eae935e38bea11e60fd253f6d514d153fb39b3e5535a7b37b56" dependencies = [ "leb128", ] [[package]] name = "wat" -version = "1.0.38" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16383df7f0e3901484c2dda6294ed6895caa3627ce4f6584141dcf30a33a23e6" +checksum = "8ec280a739b69173e0ffd12c1658507996836ba4e992ed9bc1e5385a0bd72a02" dependencies = [ "wast", ] [[package]] name = "web-sys" -version = "0.3.51" +version = "0.3.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e828417b379f3df7111d3a2a9e5753706cae29c41f7c4029ee9fd77f3e09e582" +checksum = "222b1ef9334f92a21d3fb53dc3fd80f30836959a90f9274a626d7e06315ba3c3" dependencies = [ "js-sys", "wasm-bindgen", @@ -11679,9 +11628,9 @@ dependencies = [ [[package]] name = "webpki" -version = "0.21.4" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" +checksum = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae" dependencies = [ "ring", "untrusted", @@ -11689,18 +11638,18 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.21.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940" +checksum = "82015b7e0b8bad8185994674a13a93306bea76cf5a16c5a181382fd3a5ec2376" dependencies = [ "webpki", ] [[package]] -name = "wepoll-ffi" -version = "0.1.2" +name = "wepoll-sys" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb" +checksum = "0fcb14dea929042224824779fbc82d9fab8d2e6d3cbc0ac404de8edf489e77ff" dependencies = [ "cc", ] @@ -11794,12 +11743,12 @@ dependencies = [ [[package]] name = "which" -version = "4.1.0" +version = "4.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b55551e42cbdf2ce2bedd2203d0cc08dba002c27510f86dab6d0ce304cba3dfe" +checksum = "87c14ef7e1b8b8ecfc75d5eca37949410046e66f15d185c01d70824f1f8111ef" dependencies = [ - "either", "libc", + "thiserror", ] [[package]] @@ -11878,11 +11827,22 @@ checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" [[package]] name = "x25519-dalek" -version = "1.1.1" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "637ff90c9540fa3073bb577e65033069e4bae7c79d49d74aa3ffdf5342a53217" +dependencies = [ + "curve25519-dalek 2.1.0", + "rand_core 0.5.1", + "zeroize", +] + +[[package]] +name = "x25519-dalek" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" +checksum = "bc614d95359fd7afc321b66d2107ede58b246b844cf5d8a0adcca413e439f088" dependencies = [ - "curve25519-dalek 3.1.0", + "curve25519-dalek 3.0.0", "rand_core 0.5.1", "zeroize", ] @@ -11946,18 +11906,18 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.3.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" +checksum = "81a974bcdd357f0dca4d41677db03436324d45a4c9ed2d0b873a5a360ce41c36" dependencies = [ "zeroize_derive", ] [[package]] name = "zeroize_derive" -version = "1.1.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2c1e130bebaeab2f23886bf9acbaca14b092408c452543c857f66399cd6dab1" +checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2" dependencies = [ "proc-macro2", "quote", diff --git a/bridges/bin/millau/node/Cargo.toml b/bridges/bin/millau/node/Cargo.toml index fa65fc7a9a3e..8c6d32402ac2 100644 --- a/bridges/bin/millau/node/Cargo.toml +++ b/bridges/bin/millau/node/Cargo.toml @@ -29,7 +29,7 @@ frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", bran node-inspect = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["wasmtime"] } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/bin/millau/runtime/Cargo.toml b/bridges/bin/millau/runtime/Cargo.toml index de101274892a..367c1c3eef70 100644 --- a/bridges/bin/millau/runtime/Cargo.toml +++ b/bridges/bin/millau/runtime/Cargo.toml @@ -28,32 +28,32 @@ pallet-shift-session-manager = { path = "../../../modules/shift-session-manager" # Substrate Dependencies -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/bin/rialto/node/Cargo.toml b/bridges/bin/rialto/node/Cargo.toml index 5b50171f7d5c..1c9ec8b5bb0a 100644 --- a/bridges/bin/rialto/node/Cargo.toml +++ b/bridges/bin/rialto/node/Cargo.toml @@ -30,7 +30,7 @@ frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", bran node-inspect = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["wasmtime"] } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/bin/rialto/runtime/Cargo.toml b/bridges/bin/rialto/runtime/Cargo.toml index 6986e63b06f5..f66b8920c8a5 100644 --- a/bridges/bin/rialto/runtime/Cargo.toml +++ b/bridges/bin/rialto/runtime/Cargo.toml @@ -34,34 +34,34 @@ pallet-shift-session-manager = { path = "../../../modules/shift-session-manager" # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [dev-dependencies] diff --git a/bridges/modules/currency-exchange/Cargo.toml b/bridges/modules/currency-exchange/Cargo.toml index fe340434f551..8094f0f2b6ee 100644 --- a/bridges/modules/currency-exchange/Cargo.toml +++ b/bridges/modules/currency-exchange/Cargo.toml @@ -18,11 +18,11 @@ bp-header-chain = { path = "../../primitives/header-chain", default-features = f # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } [dev-dependencies] sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/modules/dispatch/Cargo.toml b/bridges/modules/dispatch/Cargo.toml index bb09bf66a4a9..6170af272ad9 100644 --- a/bridges/modules/dispatch/Cargo.toml +++ b/bridges/modules/dispatch/Cargo.toml @@ -17,11 +17,11 @@ bp-runtime = { path = "../../primitives/runtime", default-features = false } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [dev-dependencies] sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/modules/ethereum/Cargo.toml b/bridges/modules/ethereum/Cargo.toml index 6c547637e667..fdd93ed73311 100644 --- a/bridges/modules/ethereum/Cargo.toml +++ b/bridges/modules/ethereum/Cargo.toml @@ -18,12 +18,12 @@ bp-eth-poa = { path = "../../primitives/ethereum-poa", default-features = false # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [dev-dependencies] libsecp256k1 = { version = "0.3.4", features = ["hmac"] } diff --git a/bridges/modules/grandpa/Cargo.toml b/bridges/modules/grandpa/Cargo.toml index 86efd39922cf..aa2e33cf447b 100644 --- a/bridges/modules/grandpa/Cargo.toml +++ b/bridges/modules/grandpa/Cargo.toml @@ -21,16 +21,16 @@ bp-header-chain = { path = "../../primitives/header-chain", default-features = f # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } # Optional Benchmarking Dependencies bp-test-utils = { path = "../../primitives/test-utils", default-features = false, optional = true } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } [dev-dependencies] sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/modules/messages/Cargo.toml b/bridges/modules/messages/Cargo.toml index 113cb1ee933e..a26cf65c028b 100644 --- a/bridges/modules/messages/Cargo.toml +++ b/bridges/modules/messages/Cargo.toml @@ -22,12 +22,12 @@ bp-runtime = { path = "../../primitives/runtime", default-features = false } # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [dev-dependencies] hex = "0.4" diff --git a/bridges/modules/shift-session-manager/Cargo.toml b/bridges/modules/shift-session-manager/Cargo.toml index fd1be6d3c2a8..6dac97ddde60 100644 --- a/bridges/modules/shift-session-manager/Cargo.toml +++ b/bridges/modules/shift-session-manager/Cargo.toml @@ -11,11 +11,11 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [dev-dependencies] sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/primitives/chain-kusama/Cargo.toml b/bridges/primitives/chain-kusama/Cargo.toml index 151f06beaf54..70ff3b844df0 100644 --- a/bridges/primitives/chain-kusama/Cargo.toml +++ b/bridges/primitives/chain-kusama/Cargo.toml @@ -14,8 +14,8 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [features] default = ["std"] diff --git a/bridges/primitives/chain-polkadot/Cargo.toml b/bridges/primitives/chain-polkadot/Cargo.toml index 8cb6083cd5f8..22ded41b9145 100644 --- a/bridges/primitives/chain-polkadot/Cargo.toml +++ b/bridges/primitives/chain-polkadot/Cargo.toml @@ -15,8 +15,8 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [features] default = ["std"] diff --git a/bridges/primitives/chain-rialto/Cargo.toml b/bridges/primitives/chain-rialto/Cargo.toml index 42cd4d3c7309..7e039a40acd9 100644 --- a/bridges/primitives/chain-rialto/Cargo.toml +++ b/bridges/primitives/chain-rialto/Cargo.toml @@ -15,12 +15,12 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [features] default = ["std"] diff --git a/bridges/primitives/chain-westend/Cargo.toml b/bridges/primitives/chain-westend/Cargo.toml index 1f15f7eab288..d5fda1ccef05 100644 --- a/bridges/primitives/chain-westend/Cargo.toml +++ b/bridges/primitives/chain-westend/Cargo.toml @@ -16,10 +16,10 @@ bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [features] default = ["std"] diff --git a/bridges/primitives/currency-exchange/Cargo.toml b/bridges/primitives/currency-exchange/Cargo.toml index e95834dee2ce..43367ba7992b 100644 --- a/bridges/primitives/currency-exchange/Cargo.toml +++ b/bridges/primitives/currency-exchange/Cargo.toml @@ -11,9 +11,9 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [features] default = ["std"] diff --git a/bridges/primitives/ethereum-poa/Cargo.toml b/bridges/primitives/ethereum-poa/Cargo.toml index f8b6eda5095c..cd2c3a97a0f3 100644 --- a/bridges/primitives/ethereum-poa/Cargo.toml +++ b/bridges/primitives/ethereum-poa/Cargo.toml @@ -24,10 +24,10 @@ triehash = { version = "0.8.2", default-features = false } # Substrate Dependencies -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [dev-dependencies] hex-literal = "0.2" diff --git a/bridges/primitives/header-chain/Cargo.toml b/bridges/primitives/header-chain/Cargo.toml index 5e0bd71a496c..844e59865202 100644 --- a/bridges/primitives/header-chain/Cargo.toml +++ b/bridges/primitives/header-chain/Cargo.toml @@ -13,11 +13,11 @@ serde = { version = "1.0", optional = true } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [dev-dependencies] assert_matches = "1.5" diff --git a/bridges/primitives/message-dispatch/Cargo.toml b/bridges/primitives/message-dispatch/Cargo.toml index ba17ccaa4ea9..84fa48553a21 100644 --- a/bridges/primitives/message-dispatch/Cargo.toml +++ b/bridges/primitives/message-dispatch/Cargo.toml @@ -12,8 +12,8 @@ codec = { package = "parity-scale-codec", version = "2.0.0", default-features = # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [features] default = ["std"] diff --git a/bridges/primitives/messages/Cargo.toml b/bridges/primitives/messages/Cargo.toml index a4dfefc130e4..b5b68220a409 100644 --- a/bridges/primitives/messages/Cargo.toml +++ b/bridges/primitives/messages/Cargo.toml @@ -18,9 +18,9 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [features] default = ["std"] diff --git a/bridges/primitives/polkadot-core/Cargo.toml b/bridges/primitives/polkadot-core/Cargo.toml index 82bd7532ddd9..995f948e5d47 100644 --- a/bridges/primitives/polkadot-core/Cargo.toml +++ b/bridges/primitives/polkadot-core/Cargo.toml @@ -16,13 +16,13 @@ bp-runtime = { path = "../runtime", default-features = false } # Substrate Based Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [dev-dependencies] hex = "0.4" diff --git a/bridges/primitives/runtime/Cargo.toml b/bridges/primitives/runtime/Cargo.toml index 77e90c39ec49..17fa96b2c908 100644 --- a/bridges/primitives/runtime/Cargo.toml +++ b/bridges/primitives/runtime/Cargo.toml @@ -13,13 +13,13 @@ num-traits = { version = "0.2", default-features = false } # Substrate Dependencies -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false } [dev-dependencies] sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/bridges/relays/bin-ethereum/Cargo.toml b/bridges/relays/bin-ethereum/Cargo.toml index 238afe4fbfe2..efd9c0194b28 100644 --- a/bridges/relays/bin-ethereum/Cargo.toml +++ b/bridges/relays/bin-ethereum/Cargo.toml @@ -12,9 +12,9 @@ async-trait = "0.1.42" clap = { version = "2.33.3", features = ["yaml"] } codec = { package = "parity-scale-codec", version = "2.0.0" } env_logger = "0.8.3" -ethabi = { git = "https://github.com/paritytech/ethabi", branch = "master" } -ethabi-contract = { git = "https://github.com/paritytech/ethabi", branch = "master" } -ethabi-derive = { git = "https://github.com/paritytech/ethabi", branch = "master" } +ethabi = { git = "https://github.com/paritytech/ethabi", branch = "td-eth-types-11" } +ethabi-contract = { git = "https://github.com/paritytech/ethabi", branch = "td-eth-types-11" } +ethabi-derive = { git = "https://github.com/paritytech/ethabi", branch = "td-eth-types-11" } futures = "0.3.12" hex = "0.4" hex-literal = "0.3" diff --git a/bridges/relays/client-ethereum/Cargo.toml b/bridges/relays/client-ethereum/Cargo.toml index aa31a1ab05b2..64a76a6b5dae 100644 --- a/bridges/relays/client-ethereum/Cargo.toml +++ b/bridges/relays/client-ethereum/Cargo.toml @@ -16,4 +16,4 @@ jsonrpsee-ws-client = "=0.2.0-alpha.6" libsecp256k1 = { version = "0.3.4", default-features = false, features = ["hmac"] } log = "0.4.11" relay-utils = { path = "../utils" } -web3 = { version = "0.15", git = "https://github.com/tomusdrw/rust-web3", default-features = false , branch = "master" } +web3 = { version = "0.15", git = "https://github.com/tomusdrw/rust-web3", branch ="td-ethabi", default-features = false } diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 09b27d6504e2..fa9ab9864122 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -25,15 +25,15 @@ service = { package = "polkadot-service", path = "../node/service", default-feat polkadot-node-core-pvf = { path = "../node/core/pvf", optional = true } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } -browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "master", optional = true } # this crate is used only to enable `trie-memory-tracker` feature # see https://github.com/paritytech/substrate/pull/6745 -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [build-dependencies] substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index 3f7178942cef..494fdc4e6193 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -5,9 +5,9 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] } parity-util-mem = { version = "0.9.0", default-features = false, optional = true } diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index 11b7205a6876..4f84b65659a9 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -24,7 +24,7 @@ sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = " sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index cf90937c3c53..104a52621e9e 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -23,13 +23,13 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-jaeger = { path = "../../jaeger" } -sc-client-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sc-keystore = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-consensus-slots = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["full_crypto"] , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["full_crypto"] } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [dev-dependencies] parking_lot = "0.11.1" diff --git a/node/network/approval-distribution/Cargo.toml b/node/network/approval-distribution/Cargo.toml index 6c08e85d5cf6..fc730de427b4 100644 --- a/node/network/approval-distribution/Cargo.toml +++ b/node/network/approval-distribution/Cargo.toml @@ -15,7 +15,7 @@ futures = "0.3.15" tracing = "0.1.26" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } diff --git a/node/network/availability-distribution/Cargo.toml b/node/network/availability-distribution/Cargo.toml index 6ac0fe289d2d..ea6accbeb8cf 100644 --- a/node/network/availability-distribution/Cargo.toml +++ b/node/network/availability-distribution/Cargo.toml @@ -16,7 +16,7 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-core-runtime-api = { path = "../../core/runtime-api" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.23" rand = "0.8.3" @@ -24,7 +24,7 @@ lru = "0.6.5" [dev-dependencies] polkadot-subsystem-testhelpers = { package = "polkadot-node-subsystem-test-helpers", path = "../../subsystem-test-helpers" } -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/network/collator-protocol/Cargo.toml b/node/network/collator-protocol/Cargo.toml index 1807f2e255f3..971e4903f22a 100644 --- a/node/network/collator-protocol/Cargo.toml +++ b/node/network/collator-protocol/Cargo.toml @@ -26,7 +26,7 @@ log = "0.4.13" env_logger = "0.8.4" assert_matches = "1.4.0" -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-subsystem-testhelpers = { package = "polkadot-node-subsystem-test-helpers", path = "../../subsystem-test-helpers" } diff --git a/node/network/gossip-support/Cargo.toml b/node/network/gossip-support/Cargo.toml index 98c5bffcbce0..acce9e222968 100644 --- a/node/network/gossip-support/Cargo.toml +++ b/node/network/gossip-support/Cargo.toml @@ -20,7 +20,7 @@ rand_chacha = { version = "0.3.1", default-features = false } tracing = "0.1.26" [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", features = ["std"] , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["std"] } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/network/statement-distribution/Cargo.toml b/node/network/statement-distribution/Cargo.toml index f6b5e0027848..c21b1fdf7818 100644 --- a/node/network/statement-distribution/Cargo.toml +++ b/node/network/statement-distribution/Cargo.toml @@ -9,7 +9,7 @@ edition = "2018" futures = "0.3.15" tracing = "0.1.26" polkadot-primitives = { path = "../../../primitives" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index 2e0c4655c3c6..7cefeab9ba03 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -10,7 +10,7 @@ futures = "0.3.15" polkadot-primitives = { path = "../../primitives" } polkadot-statement-table = { path = "../../statement-table" } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-vrf = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 94d6170034e8..14b5082b222b 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -19,12 +19,12 @@ sc-consensus-uncles = { git = "https://github.com/paritytech/substrate", branch sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa-warp-sync = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +sc-finality-grandpa-warp-sync = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } -service = { package = "sc-service", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } telemetry = { package = "sc-telemetry", git = "https://github.com/paritytech/substrate", branch = "master" } # Substrate Primitives diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 2eee6b5f4cea..676762b7e536 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -1213,7 +1213,7 @@ pub fn polkadot_testnet_genesis( }, staking: polkadot::StakingConfig { minimum_validator_count: 1, - validator_count: initial_authorities.len() as u32, + validator_count: 2, stakers: initial_authorities .iter() .map(|x| { @@ -1312,7 +1312,7 @@ pub fn kusama_testnet_genesis( }, staking: kusama::StakingConfig { minimum_validator_count: 1, - validator_count: initial_authorities.len() as u32, + validator_count: 2, stakers: initial_authorities .iter() .map(|x| { @@ -1416,7 +1416,7 @@ pub fn westend_testnet_genesis( }, staking: westend::StakingConfig { minimum_validator_count: 1, - validator_count: initial_authorities.len() as u32, + validator_count: 2, stakers: initial_authorities .iter() .map(|x| { diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index 66dcc9e03f06..e3d93ee93bd1 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -46,7 +46,7 @@ sc-executor = { git = "https://github.com/paritytech/substrate", branch = "maste sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -service = { package = "sc-service", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -56,7 +56,7 @@ sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = " substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } serde_json = "1.0.61" substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } tokio = { version = "0.2", features = ["macros"] } diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index 5b53579bf692..fd48968de4ea 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -11,9 +11,9 @@ edition = "2018" # various unnecessary Substrate-specific endpoints. parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] } parity-util-mem = { version = "0.9.0", optional = true } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } polkadot-core-primitives = { path = "../core-primitives", default-features = false } derive_more = "0.99.11" diff --git a/parachain/test-parachains/adder/Cargo.toml b/parachain/test-parachains/adder/Cargo.toml index f84ea93229e3..f330b9b6dc50 100644 --- a/parachain/test-parachains/adder/Cargo.toml +++ b/parachain/test-parachains/adder/Cargo.toml @@ -9,12 +9,12 @@ build = "build.rs" [dependencies] parachain = { package = "polkadot-parachain", path = "../../", default-features = false, features = [ "wasm-api" ] } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } tiny-keccak = { version = "2.0.2", features = ["keccak"] } dlmalloc = { version = "0.2.1", features = [ "global" ] } # We need to make sure the global allocator is disabled until we have support of full substrate externalities -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, features = [ "disable_allocator" ] , branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = [ "disable_allocator" ] } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index f2c3057c724d..677c8b31649c 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -7,24 +7,24 @@ edition = "2018" [dependencies] serde = { version = "1.0.123", optional = true, features = ["derive"] } parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] } -primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-consensus-slots = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +primitives = { package = "sp-core", 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 } +application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } polkadot-parachain = { path = "../parachain", default-features = false } polkadot-core-primitives = { path = "../core-primitives", default-features = false } -trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } hex-literal = "0.3.1" parity-util-mem = { version = "0.9.0", default-features = false, optional = true } thiserror = "1.0.23" diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index e2ae12a5f706..a333eecc16e9 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -14,15 +14,15 @@ serde = { version = "1.0.123", default-features = false } serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } +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 } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -39,8 +39,8 @@ pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/su pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features=false, optional = true , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features=false, optional = true } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } libsecp256k1 = { version = "0.3.5", default-features = false } diff --git a/runtime/common/slot_range_helper/Cargo.toml b/runtime/common/slot_range_helper/Cargo.toml index 1a8168a4a0d2..84e6184b70e2 100644 --- a/runtime/common/slot_range_helper/Cargo.toml +++ b/runtime/common/slot_range_helper/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" paste = "1.0" enumn = "0.1.3" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [features] default = ["std"] diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 9acf19ca1801..24accb9a9a25 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -15,69 +15,69 @@ serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" smallvec = "1.6.1" -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-arithmetic = { package = "sp-arithmetic", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +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 } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } +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 } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-arithmetic = { package = "sp-arithmetic", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-gilt = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-gilt = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } hex-literal = { version = "0.3.1", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } @@ -88,7 +88,7 @@ xcm = { package = "xcm", path = "../../xcm", default-features = false } xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false } xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +max-encoded-len = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [dev-dependencies] hex-literal = "0.3.1" diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index 85d1969844c9..12989b60ab08 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -12,27 +12,27 @@ rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0.123", features = [ "derive" ], optional = true } derive_more = "0.99.14" -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", optional = true , branch = "master" } +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 } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } xcm = { package = "xcm", path = "../../xcm", default-features = false } xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false } @@ -54,7 +54,7 @@ pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "m frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" } serde_json = "1.0.61" libsecp256k1 = "0.3.5" -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 5ef8295dacfc..a6711dbee66d 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -15,70 +15,70 @@ serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" smallvec = "1.6.1" -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +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 } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } +block-builder-api = { package = "sp-block-builder", 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 } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-bounties = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-tips = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } hex-literal = { version = "0.3.1", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +max-encoded-len = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [dev-dependencies] hex-literal = "0.3.1" diff --git a/runtime/polkadot/src/constants.rs b/runtime/polkadot/src/constants.rs index b6339d4fec32..ecfa74d78664 100644 --- a/runtime/polkadot/src/constants.rs +++ b/runtime/polkadot/src/constants.rs @@ -33,7 +33,7 @@ pub mod time { use primitives::v0::{Moment, BlockNumber}; pub const MILLISECS_PER_BLOCK: Moment = 6000; pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK; - pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 4 * MINUTES; // TODO: revert + pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 4 * HOURS; // These time units are defined in number of blocks. pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index 382e5cc5dcee..ec03fbcdbc5e 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -13,50 +13,50 @@ smallvec = "1.6.1" hex-literal = "0.3.1" log = { version = "0.4.14", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +block-builder-api = { package = "sp-block-builder", 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 } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-mmr = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } @@ -73,7 +73,7 @@ bp-rococo = { path = "../../bridges/primitives/chain-rococo", default-features = bp-wococo = { path = "../../bridges/primitives/chain-wococo", default-features = false } pallet-bridge-grandpa = { path = "../../bridges/modules/grandpa", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +max-encoded-len = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index 83c042425e1a..8c350080b4f4 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -14,44 +14,44 @@ serde = { version = "1.0.123", default-features = false } serde_derive = { version = "1.0.117", optional = true } smallvec = "1.6.1" -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +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 } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } +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 } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index a343f3ff1c9b..876b63b3956d 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -15,66 +15,66 @@ serde_derive = { version = "1.0.117", optional = true } smallvec = "1.6.1" static_assertions = "1.1.0" -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", default-features = false , branch = "master" } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +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 } +beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-election-provider-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = {git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-nicks = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-recovery = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } hex-literal = { version = "0.3.1", optional = true } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } @@ -86,7 +86,7 @@ xcm = { package = "xcm", path = "../../xcm", default-features = false } xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false } xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false } -max-encoded-len = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +max-encoded-len = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [dev-dependencies] hex-literal = "0.3.1" diff --git a/runtime/westend/src/constants.rs b/runtime/westend/src/constants.rs index f8b6ab9ab7a6..b5b6b354fcb7 100644 --- a/runtime/westend/src/constants.rs +++ b/runtime/westend/src/constants.rs @@ -33,7 +33,7 @@ pub mod time { use primitives::v0::{Moment, BlockNumber}; pub const MILLISECS_PER_BLOCK: Moment = 6000; pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK; - pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 1 * MINUTES; + pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 1 * HOURS; // These time units are defined in number of blocks. pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); diff --git a/xcm/pallet-xcm/Cargo.toml b/xcm/pallet-xcm/Cargo.toml index 2b4fbbbba7dd..75d737ed69cd 100644 --- a/xcm/pallet-xcm/Cargo.toml +++ b/xcm/pallet-xcm/Cargo.toml @@ -27,4 +27,4 @@ std = [ "frame-system/std", "xcm/std", ] -runtime-benchmarks = [] +runtime-benchmarks = [] \ No newline at end of file diff --git a/xcm/xcm-builder/Cargo.toml b/xcm/xcm-builder/Cargo.toml index 96b27c1bd168..1111802aede4 100644 --- a/xcm/xcm-builder/Cargo.toml +++ b/xcm/xcm-builder/Cargo.toml @@ -10,13 +10,13 @@ impl-trait-for-tuples = "0.2.0" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } xcm = { path = "..", default-features = false } xcm-executor = { path = "../xcm-executor", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } # Polkadot dependencies polkadot-parachain = { path = "../../parachain", default-features = false } diff --git a/xcm/xcm-executor/Cargo.toml b/xcm/xcm-executor/Cargo.toml index c713c5fe2173..1c8505cb2154 100644 --- a/xcm/xcm-executor/Cargo.toml +++ b/xcm/xcm-executor/Cargo.toml @@ -9,12 +9,12 @@ version = "0.9.7" impl-trait-for-tuples = "0.2.0" parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] } xcm = { path = "..", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } log = { version = "0.4.14", default-features = false } [features] From 64c22d98b1e55d1ec5a329c61c275905676f1174 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Wed, 30 Jun 2021 21:37:36 +0200 Subject: [PATCH 17/31] Apply suggestions from code review --- runtime/polkadot/src/lib.rs | 2 +- runtime/westend/src/lib.rs | 2 +- utils/staking-miner/src/dry_run.rs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 945bf7752dbc..7673802912e2 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -416,7 +416,7 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (24 hours). - pub const SessionsPerEra: SessionIndex = 1; // TODO: revert + pub const SessionsPerEra: SessionIndex = 6; // 28 eras for unbonding (28 days). pub const BondingDuration: pallet_staking::EraIndex = 28; pub const SlashDeferDuration: pallet_staking::EraIndex = 27; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 6df2a809839d..4fe574cf0d20 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -413,7 +413,7 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (6 hours). - pub const SessionsPerEra: SessionIndex = 2; + pub const SessionsPerEra: SessionIndex = 6; // 28 eras for unbonding (7 days). pub const BondingDuration: pallet_staking::EraIndex = 28; // 27 eras in which slashes can be cancelled (slightly less than 7 days). diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index 025eecec8671..8a3d1146d137 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -68,7 +68,6 @@ macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { let mut ext = crate::create_election_ext::(shared.uri.clone(), config.at, true).await?; force_create_snapshot::(&mut ext)?; measure_snapshot_size::(&mut ext); - find_threshold::(&mut ext, 20_000); let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 100)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); From bcd394d015ffab0fa1ab0211369c68c99798455f Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 30 Jun 2021 21:42:31 +0200 Subject: [PATCH 18/31] cleanup --- Cargo.lock | 44 +++++++++++++++++++++++++++++++++ utils/staking-miner/.gitignore | 1 + utils/staking-miner/alice | 1 - utils/staking-miner/src/main.rs | 24 ++++-------------- 4 files changed, 50 insertions(+), 20 deletions(-) delete mode 100644 utils/staking-miner/alice diff --git a/Cargo.lock b/Cargo.lock index 6864ac7fa634..e1faad029277 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3181,6 +3181,12 @@ dependencies = [ "slab", ] +[[package]] +name = "jsonrpsee" +version = "0.2.0-alpha.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4e48ecdd757b22fae87e87aad2dbadf11c56499c6509763c8ef20db16ffb0e9" + [[package]] name = "jsonrpsee-proc-macros" version = "0.2.0" @@ -9994,6 +10000,44 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" +[[package]] +name = "staking-miner" +version = "0.9.0" +dependencies = [ + "env_logger 0.8.4", + "frame-election-provider-support", + "frame-support", + "frame-system", + "hex", + "jsonrpsee", + "jsonrpsee-types", + "jsonrpsee-ws-client", + "kusama-runtime", + "lazy_static", + "log", + "pallet-election-provider-multi-phase", + "pallet-staking", + "pallet-transaction-payment", + "parity-scale-codec", + "paste 1.0.5", + "polkadot-core-primitives", + "polkadot-runtime", + "polkadot-runtime-common", + "remote-externalities", + "serde", + "serde_json", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-transaction-pool", + "sp-version", + "structopt", + "thiserror", + "tokio 0.2.21", + "westend-runtime", +] + [[package]] name = "static_assertions" version = "1.1.0" diff --git a/utils/staking-miner/.gitignore b/utils/staking-miner/.gitignore index c996e507d120..db7cff848330 100644 --- a/utils/staking-miner/.gitignore +++ b/utils/staking-miner/.gitignore @@ -1 +1,2 @@ *.key +*.bin diff --git a/utils/staking-miner/alice b/utils/staking-miner/alice deleted file mode 100644 index 8801932fdced..000000000000 --- a/utils/staking-miner/alice +++ /dev/null @@ -1 +0,0 @@ -bottom drive obey lake curtain smoke basket hold race lonely fit walk//Alice diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 954ab4f2ae62..8dc9d0e86e99 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -432,7 +432,9 @@ async fn create_election_ext( .expect("Pallet always has name; qed.") .to_string(), // NOTE: change when staking moves to frame v2. - "Staking".to_owned(), + ::PalletInfo::name::>() + .expect("Pallet always has name; qed.") + .to_string(),, ] } else { vec![::PalletInfo::name::>() @@ -507,10 +509,7 @@ fn mine_dpos( let sum_squared = winners.iter().fold(0u128, |acc, (_, stake)| acc + stake); [min_staker, sum_stake, sum_squared] }; - println!("mined a dpos-like solution with score = {:?}", score); - - todo!(); }) } @@ -603,9 +602,7 @@ async fn main() { Command::Monitor(c) => monitor_cmd(client, shared, c, signer).await, // --------------------^^ comes from the macro prelude, needs no generic. Command::DryRun(c) => dry_run_cmd(client, shared, c, signer).await, - // ------------------^^ likewise. Command::EmergencySolution => emergency_solution_cmd(client, shared).await, - // --------------------------^^ likewise. } }; @@ -627,25 +624,14 @@ mod tests { unsafe { RUNTIME = AnyRuntime::Polkadot; } - let polkadot_version = any_runtime! { get_version() }; + let polkadot_version = any_runtime! { get_version::() }; unsafe { RUNTIME = AnyRuntime::Kusama; } - let kusama_version = any_runtime! { get_version() }; + let kusama_version = any_runtime! { get_version::() }; assert_eq!(polkadot_version.spec_name, "polkadot".into()); assert_eq!(kusama_version.spec_name, "kusama".into()); } - - #[tokio::test] - async fn can_compute_anytime() { - env_logger::Builder::from_default_env().format_module_path(true).format_level(true).init(); - let client = WsClientBuilder::default().build(TEST_URI).await.unwrap(); - - let hash = rpc!(client,).unwrap(); - let mut ext = create_election_ext(TEST_URI.to_owned(), Some(hash), true).await; - force_create_snapshot(&mut ext); - mine_unchecked(&mut ext); - } } From e74218e82c95d6f1ddfbf8cf8718cbbc0121bb77 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Wed, 30 Jun 2021 22:10:59 +0200 Subject: [PATCH 19/31] Fix more --- utils/staking-miner/src/dry_run.rs | 5 +- utils/staking-miner/src/main.rs | 270 +++++++------------------ utils/staking-miner/src/monitor.rs | 7 +- utils/staking-miner/src/rpc_helpers.rs | 107 ++++++++++ 4 files changed, 190 insertions(+), 199 deletions(-) create mode 100644 utils/staking-miner/src/rpc_helpers.rs diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index 8a3d1146d137..41a19d5d2aa6 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -32,6 +32,7 @@ fn force_create_snapshot(ext: &mut Ext) -> Result<(), Error> { }) } +/// Helper method to print the encoded size of the snapshot. fn measure_snapshot_size(ext: &mut Ext) { ext.execute_with(|| { log::info!(target: LOG_TARGET, "Metadata: {:?}", >::snapshot_metadata()); @@ -46,13 +47,15 @@ fn measure_snapshot_size(ext: &mut Ext) { }) } +/// Fir the stake threshold to in order to have at most `count` voters. +#[allow(unused)] fn find_threshold(ext: &mut Ext, count: usize) { ext.execute_with(|| { let mut voters = >::snapshot() .expect("snapshot must exist before calling `measure_snapshot_size`") .voters; voters.sort_by_key(|v| v.1); - dbg!(voters.into_iter().rev().take(count).last()); + println!("smallest allowed voter is {:?}", voters.into_iter().rev().take(count).last()); }) } diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 8dc9d0e86e99..75a59822a499 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -19,9 +19,9 @@ // things to look out for: // 1. weight (already taken care of). // 2. length (already taken care of). -// 3. Important, but hard to do: memory usage of the chain. For this we need to bring in a substrate -// wasm executor. +// 3. Important, but hard to do: memory usage of the chain. +mod rpc_helpers; mod dry_run; mod emergency_solution; mod monitor; @@ -44,61 +44,59 @@ pub(crate) enum AnyRuntime { pub(crate) static mut RUNTIME: AnyRuntime = AnyRuntime::Polkadot; macro_rules! construct_runtime_prelude { - ($runtime:ident, $npos:ty) => { - paste::paste! { - #[allow(unused_import)] - pub(crate) mod [<$runtime _runtime_exports>] { - pub(crate) use crate::prelude::EPM; - pub(crate) use [<$runtime _runtime>]::*; - pub(crate) type NposCompactSolution = [<$runtime _runtime>]::$npos; - pub(crate) use crate::monitor::[] as monitor_cmd; - pub(crate) use crate::dry_run::[] as dry_run_cmd; - pub(crate) use crate::emergency_solution::[] as emergency_solution_cmd; - pub(crate) use private::{[] as create_uxt}; - - mod private { - use super::*; - pub(crate) fn []( - raw_solution: EPM::RawSolution>, - witness: u32, - signer: crate::Signer, - nonce: crate::prelude::Index, - tip: crate::prelude::Balance, - era: sp_runtime::generic::Era, - ) -> UncheckedExtrinsic { - use codec::Encode as _; - use sp_core::Pair as _; - use sp_runtime::traits::StaticLookup as _; - - let crate::Signer { account, pair, .. } = signer; - - let local_call = EPMCall::::submit(raw_solution, witness); - let call: Call = as std::convert::TryInto>::try_into(local_call) - .expect("election provider pallet must exist in the runtime, thus \ - inner call can be converted, qed." - ); - - let extra: SignedExtra = crate::[](nonce, tip, era); - let raw_payload = SignedPayload::new(call, extra).expect("creating signed payload infallible; qed."); - let signature = raw_payload.using_encoded(|payload| { - pair.clone().sign(payload) - }); - let (call, extra, _) = raw_payload.deconstruct(); - let address = ::Lookup::unlookup(account.clone()); - let extrinsic = UncheckedExtrinsic::new_signed(call, address, signature.into(), extra); - log::debug!( - target: crate::LOG_TARGET, "constructed extrinsic {}", - sp_core::hexdisplay::HexDisplay::from(&extrinsic.encode()) - ); - extrinsic - } - } + ($runtime:ident, $npos:ty) => { paste::paste! { + #[allow(unused_import)] + pub(crate) mod [<$runtime _runtime_exports>] { + pub(crate) use crate::prelude::EPM; + pub(crate) use [<$runtime _runtime>]::*; + pub(crate) type NposCompactSolution = [<$runtime _runtime>]::$npos; + pub(crate) use crate::monitor::[] as monitor_cmd; + pub(crate) use crate::dry_run::[] as dry_run_cmd; + pub(crate) use crate::emergency_solution::[] as emergency_solution_cmd; + pub(crate) use private::{[] as create_uxt}; + + mod private { + use super::*; + pub(crate) fn []( + raw_solution: EPM::RawSolution>, + witness: u32, + signer: crate::Signer, + nonce: crate::prelude::Index, + tip: crate::prelude::Balance, + era: sp_runtime::generic::Era, + ) -> UncheckedExtrinsic { + use codec::Encode as _; + use sp_core::Pair as _; + use sp_runtime::traits::StaticLookup as _; + + let crate::Signer { account, pair, .. } = signer; + + let local_call = EPMCall::::submit(raw_solution, witness); + let call: Call = as std::convert::TryInto>::try_into(local_call) + .expect("election provider pallet must exist in the runtime, thus \ + inner call can be converted, qed." + ); + + let extra: SignedExtra = crate::[](nonce, tip, era); + let raw_payload = SignedPayload::new(call, extra).expect("creating signed payload infallible; qed."); + let signature = raw_payload.using_encoded(|payload| { + pair.clone().sign(payload) + }); + let (call, extra, _) = raw_payload.deconstruct(); + let address = ::Lookup::unlookup(account.clone()); + let extrinsic = UncheckedExtrinsic::new_signed(call, address, signature.into(), extra); + log::debug!( + target: crate::LOG_TARGET, "constructed extrinsic {}", + sp_core::hexdisplay::HexDisplay::from(&extrinsic.encode()) + ); + extrinsic } } + }} }; } -// TODO: we might be able to use some code from the bridges repo here. +// NOTE: we might be able to use some code from the bridges repo here. fn signed_ext_builder_polkadot( nonce: Index, tip: Balance, @@ -155,6 +153,12 @@ construct_runtime_prelude!(polkadot, NposCompactSolution16); construct_runtime_prelude!(kusama, NposCompactSolution24); construct_runtime_prelude!(westend, NposCompactSolution16); +// NOTE: this is no longer used extensively, most of the per-runtime stuff us delegated to +// `construct_runtime_prelude` and macro's the import directly from it. A part of the code is also +// still generic over `T`. My hope is to still make everything generic over a `Runtime`, but sadly +// that is not currently possible as each runtime has its unique `Call`, and all Calls are not +// sharing any generic trait. In other words, to create the `UncheckedExtrinsic` of each chain, you +// need the concrete `Call` of that chain as well. #[macro_export] macro_rules! any_runtime { ($($code:tt)*) => { @@ -177,45 +181,6 @@ macro_rules! any_runtime { } } -#[derive(codec::Encode, codec::Decode, Clone, Copy, Debug)] -#[allow(unused)] -enum MinerProfile { - /// seq-phragmen -> balancing(round) -> reduce - WithBalancing(u32), - /// seq-phragmen -> reduce - JustSeqPhragmen, - /// trim the least staked `perbill%` nominators, then seq-phragmen -> reduce - TrimmedVoters(sp_runtime::Percent), - /// Terminate. There's nothing else that we can do about this. Sorry. - Terminate, -} - -#[allow(unused)] -impl MinerProfile { - /// Get the next miner profile to use, should this one fail. - fn next(self) -> Self { - use sp_runtime::Percent; - match self { - MinerProfile::WithBalancing(count) => { - if count > 0 { - MinerProfile::WithBalancing(count.saturating_sub(3)) - } else { - MinerProfile::JustSeqPhragmen - } - } - MinerProfile::JustSeqPhragmen => MinerProfile::TrimmedVoters(Percent::from_percent(90)), - MinerProfile::TrimmedVoters(percent) => { - if !percent.is_zero() { - MinerProfile::TrimmedVoters(percent.saturating_sub(Percent::from_percent(10))) - } else { - MinerProfile::Terminate - } - } - MinerProfile::Terminate => panic!("miner profile is to terminate."), - } - } -} - #[derive(Debug, thiserror::Error)] enum Error { Io(#[from] std::io::Error), @@ -261,17 +226,6 @@ impl std::fmt::Display for Error { } } -/// Some information about the signer. Redundant at this point, but makes life easier. -#[derive(Clone)] -struct Signer { - /// The account id. - account: AccountId, - /// The full crypto key-pair. - pair: Pair, - /// The raw uri read from file. - uri: String, -} - #[derive(Debug, Clone, StructOpt)] enum Command { /// Monitor for the phase being signed, then compute. @@ -320,96 +274,15 @@ struct Opt { command: Command, } -mod rpc_helpers { - use super::*; - use jsonrpsee_ws_client::traits::Client; - pub(crate) use jsonrpsee_ws_client::v2::params::JsonRpcParams; - - #[macro_export] - macro_rules! params { - ($($param:expr),*) => { - { - let mut __params = vec![]; - $( - __params.push(serde_json::to_value($param).expect("json serialization infallible; qed.")); - )* - $crate::rpc_helpers::JsonRpcParams::Array(__params) - } - }; - () => { - $crate::rpc::JsonRpcParams::NoParams, - } - } - - /// Make the rpc request, returning `Ret`. - pub(crate) async fn rpc<'a, Ret: serde::de::DeserializeOwned>( - client: &WsClient, - method: &'a str, - params: JsonRpcParams<'a>, - ) -> Result { - client.request::(method, params).await.map_err(Into::into) - } - - /// Make the rpc request, decode the outcome into `Dec`. Don't use for storage, it will fail for - /// non-existent storage items. - pub(crate) async fn rpc_decode<'a, Dec: codec::Decode>( - client: &WsClient, - method: &'a str, - params: JsonRpcParams<'a>, - ) -> Result { - let bytes = rpc::(client, method, params).await?; - ::decode(&mut &*bytes.0).map_err(Into::into) - } - - /// Get the storage item. - pub(crate) async fn get_storage<'a, T: codec::Decode>( - client: &WsClient, - params: JsonRpcParams<'a>, - ) -> Result, Error> { - let maybe_bytes = rpc::>(client, "state_getStorage", params).await?; - if let Some(bytes) = maybe_bytes { - let decoded = ::decode(&mut &*bytes.0)?; - Ok(Some(decoded)) - } else { - Ok(None) - } - } - - use codec::{EncodeLike, FullCodec}; - use frame_support::storage::{StorageMap, StorageValue}; - #[allow(unused)] - pub(crate) async fn get_storage_value_frame_v2<'a, V: StorageValue, T: FullCodec, Hash>( - client: &WsClient, - maybe_at: Option, - ) -> Result, Error> - where - V::Query: codec::Decode, - Hash: serde::Serialize, - { - let key = >::hashed_key(); - get_storage::(&client, params! { key, maybe_at }).await - } - - #[allow(unused)] - pub(crate) async fn get_storage_map_frame_v2< - 'a, - Hash, - KeyArg: EncodeLike, - K: FullCodec, - T: FullCodec, - M: StorageMap, - >( - client: &WsClient, - key: KeyArg, - maybe_at: Option, - ) -> Result, Error> - where - M::Query: codec::Decode, - Hash: serde::Serialize, - { - let key = >::hashed_key_for(key); - get_storage::(&client, params! { key, maybe_at }).await - } +/// Some information about the signer. Redundant at this point, but makes life easier. +#[derive(Clone)] +struct Signer { + /// The account id. + account: AccountId, + /// The full crypto key-pair. + pair: Pair, + /// The raw uri read from file. + uri: String, } /// Build the `Ext` at `hash` with all the data of `ElectionProviderMultiPhase` and `Staking` @@ -431,10 +304,9 @@ async fn create_election_ext( ::PalletInfo::name::>() .expect("Pallet always has name; qed.") .to_string(), - // NOTE: change when staking moves to frame v2. ::PalletInfo::name::>() .expect("Pallet always has name; qed.") - .to_string(),, + .to_string(), ] } else { vec![::PalletInfo::name::>() @@ -463,6 +335,7 @@ fn mine_unchecked( }) } +/// Same as `mine_checked`, but it also does all the needed internal checks as well. fn mine_checked( ext: &mut Ext, iterations: usize, @@ -477,7 +350,7 @@ fn mine_checked( #[allow(unused)] fn mine_dpos( ext: &mut Ext, -) -> Result<(EPM::RawSolution>, u32), Error> { +) -> Result<(), Error> { ext.execute_with(|| { use EPM::RoundSnapshot; use std::collections::BTreeMap; @@ -510,6 +383,7 @@ fn mine_dpos( [min_staker, sum_stake, sum_squared] }; println!("mined a dpos-like solution with score = {:?}", score); + Ok(()) }) } @@ -570,6 +444,8 @@ async fn main() { sp_core::crypto::set_default_ss58_version( sp_core::crypto::Ss58AddressFormat::PolkadotAccount, ); + // safety: this program will always be single threaded, thus accessing global static is + // safe. unsafe { RUNTIME = AnyRuntime::Polkadot; } @@ -578,6 +454,8 @@ async fn main() { sp_core::crypto::set_default_ss58_version( sp_core::crypto::Ss58AddressFormat::KusamaAccount, ); + // safety: this program will always be single threaded, thus accessing global static is + // safe. unsafe { RUNTIME = AnyRuntime::Kusama; } @@ -586,6 +464,8 @@ async fn main() { sp_core::crypto::set_default_ss58_version( sp_core::crypto::Ss58AddressFormat::PolkadotAccount, ); + // safety: this program will always be single threaded, thus accessing global static is + // safe. unsafe { RUNTIME = AnyRuntime::Westend; } diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index c02fd5b76bb9..d83858132492 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -21,6 +21,7 @@ use codec::Encode; use jsonrpsee_ws_client::{ traits::SubscriptionClient, v2::params::JsonRpcParams, Subscription, WsClient, }; +use sp_transaction_pool::TransactionStatus; /// Ensure that now is the singed phase. async fn ensure_signed_phase( @@ -82,6 +83,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { let hash = now.hash(); log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number, hash); + // we prefer doing this check before fetching anything into a remote-ext. if ensure_signed_phase::(&client, hash).await.is_err() { log::debug!(target: LOG_TARGET, "phase closed, not interested in this block at all."); continue; @@ -101,7 +103,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { continue; } - let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 50)?; + let (raw_solution, witness) = crate::mine_checked::(&mut ext, 50)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); let nonce = crate::get_account_info::(&client, &signer.account, Some(hash)) @@ -112,11 +114,10 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { it is likely due to a bug, or the signer got slashed. Terminating." ); let tip = 0 as Balance; - let era = sp_runtime::generic::Era::Immortal; + let era = sp_runtime::generic::Era::Immortal; // TODO: make this a mortal transaction. let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone(), nonce, tip, era)); let bytes = sp_core::Bytes(extrinsic.encode()); - use sp_transaction_pool::TransactionStatus; let mut tx_subscription: Subscription< TransactionStatus<::Hash, ::Hash> > = client diff --git a/utils/staking-miner/src/rpc_helpers.rs b/utils/staking-miner/src/rpc_helpers.rs new file mode 100644 index 000000000000..c2590d1f8406 --- /dev/null +++ b/utils/staking-miner/src/rpc_helpers.rs @@ -0,0 +1,107 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Helper method for RPC. + +use super::*; +use jsonrpsee_ws_client::traits::Client; +pub(crate) use jsonrpsee_ws_client::v2::params::JsonRpcParams; + +#[macro_export] +macro_rules! params { + ($($param:expr),*) => { + { + let mut __params = vec![]; + $( + __params.push(serde_json::to_value($param).expect("json serialization infallible; qed.")); + )* + $crate::rpc_helpers::JsonRpcParams::Array(__params) + } + }; + () => { + $crate::rpc::JsonRpcParams::NoParams, + } +} + +/// Make the rpc request, returning `Ret`. +pub(crate) async fn rpc<'a, Ret: serde::de::DeserializeOwned>( + client: &WsClient, + method: &'a str, + params: JsonRpcParams<'a>, +) -> Result { + client.request::(method, params).await.map_err(Into::into) +} + +/// Make the rpc request, decode the outcome into `Dec`. Don't use for storage, it will fail for +/// non-existent storage items. +pub(crate) async fn rpc_decode<'a, Dec: codec::Decode>( + client: &WsClient, + method: &'a str, + params: JsonRpcParams<'a>, +) -> Result { + let bytes = rpc::(client, method, params).await?; + ::decode(&mut &*bytes.0).map_err(Into::into) +} + +/// Get the storage item. +pub(crate) async fn get_storage<'a, T: codec::Decode>( + client: &WsClient, + params: JsonRpcParams<'a>, +) -> Result, Error> { + let maybe_bytes = rpc::>(client, "state_getStorage", params).await?; + if let Some(bytes) = maybe_bytes { + let decoded = ::decode(&mut &*bytes.0)?; + Ok(Some(decoded)) + } else { + Ok(None) + } +} + +use codec::{EncodeLike, FullCodec}; +use frame_support::storage::{StorageMap, StorageValue}; +#[allow(unused)] +pub(crate) async fn get_storage_value_frame_v2<'a, V: StorageValue, T: FullCodec, Hash>( + client: &WsClient, + maybe_at: Option, +) -> Result, Error> +where + V::Query: codec::Decode, + Hash: serde::Serialize, +{ + let key = >::hashed_key(); + get_storage::(&client, params! { key, maybe_at }).await +} + +#[allow(unused)] +pub(crate) async fn get_storage_map_frame_v2< + 'a, + Hash, + KeyArg: EncodeLike, + K: FullCodec, + T: FullCodec, + M: StorageMap, +>( + client: &WsClient, + key: KeyArg, + maybe_at: Option, +) -> Result, Error> +where + M::Query: codec::Decode, + Hash: serde::Serialize, +{ + let key = >::hashed_key_for(key); + get_storage::(&client, params! { key, maybe_at }).await +} From 3ce287fabbcc04a4883314f7def347bc4296664d Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 1 Jul 2021 09:37:15 +0200 Subject: [PATCH 20/31] Fix era --- utils/staking-miner/src/monitor.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index d83858132492..96706f1169db 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -114,7 +114,13 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { it is likely due to a bug, or the signer got slashed. Terminating." ); let tip = 0 as Balance; - let era = sp_runtime::generic::Era::Immortal; // TODO: make this a mortal transaction. + let period = Runtime::BlockHashCount::get() + .checked_next_power_of_two() + .map(|c| c / 2) + .unwrap_or(2) as u64; + let current_block = now.number + .saturated_into::(); + let era = Era::mortal(period, current_block); let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone(), nonce, tip, era)); let bytes = sp_core::Bytes(extrinsic.encode()); From 7dd7e6419899f6e8f1f3eb277fac2ec9099783c9 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Thu, 1 Jul 2021 09:50:00 +0200 Subject: [PATCH 21/31] Apply suggestions from code review --- utils/staking-miner/src/dry_run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index 41a19d5d2aa6..ab4309522f9a 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -47,7 +47,7 @@ fn measure_snapshot_size(ext: &mut Ext) { }) } -/// Fir the stake threshold to in order to have at most `count` voters. +/// Find the stake threshold in order to have at most `count` voters. #[allow(unused)] fn find_threshold(ext: &mut Ext, count: usize) { ext.execute_with(|| { From ab87195e9ad18d68068c5dd055933825198e649e Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 1 Jul 2021 11:21:58 +0200 Subject: [PATCH 22/31] Few fixes --- Cargo.lock | 350 ++++++++++++++--------------- node/service/src/chain_spec.rs | 6 +- utils/staking-miner/src/dry_run.rs | 2 +- utils/staking-miner/src/main.rs | 51 +++-- utils/staking-miner/src/monitor.rs | 15 +- 5 files changed, 207 insertions(+), 217 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e1faad029277..83bf34147d12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1912,7 +1912,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", ] @@ -1930,7 +1930,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -1949,7 +1949,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "Inflector", "chrono", @@ -1972,7 +1972,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -1985,7 +1985,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -2000,7 +2000,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "serde", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "bitflags", "frame-metadata", @@ -2038,7 +2038,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2050,7 +2050,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2062,7 +2062,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "proc-macro2", "quote", @@ -2072,7 +2072,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-metadata", "frame-support", @@ -2092,7 +2092,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2109,7 +2109,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "sp-api", @@ -2132,7 +2132,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "parity-scale-codec", @@ -4070,7 +4070,7 @@ dependencies = [ [[package]] name = "max-encoded-len" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "impl-trait-for-tuples", "max-encoded-len-derive", @@ -4081,7 +4081,7 @@ dependencies = [ [[package]] name = "max-encoded-len-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -4584,7 +4584,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -4599,7 +4599,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -4613,7 +4613,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4636,7 +4636,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4666,7 +4666,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4702,7 +4702,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4718,7 +4718,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4733,7 +4733,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4771,7 +4771,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4785,7 +4785,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4807,7 +4807,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4822,7 +4822,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4841,7 +4841,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4857,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4872,7 +4872,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4889,7 +4889,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4923,7 +4923,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -4951,7 +4951,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -4967,7 +4967,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5005,7 +5005,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "enumflags2", "frame-support", @@ -5019,7 +5019,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5034,7 +5034,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -5054,7 +5054,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5070,7 +5070,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5107,7 +5107,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5118,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "log", "sp-arithmetic", @@ -5127,7 +5127,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5158,7 +5158,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5173,7 +5173,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-support", "frame-system", @@ -5189,7 +5189,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5206,7 +5206,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5217,7 +5217,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5233,7 +5233,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5248,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7581,7 +7581,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "env_logger 0.8.4", "hex", @@ -7872,10 +7872,22 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "sc-allocator" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +dependencies = [ + "log", + "sp-core", + "sp-std", + "sp-wasm-interface", + "thiserror", +] + [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "derive_more", @@ -7904,7 +7916,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -7927,7 +7939,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7943,7 +7955,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7955,7 +7967,6 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-chain-spec", "sp-consensus-babe", "sp-core", "sp-runtime", @@ -7964,7 +7975,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -7975,7 +7986,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "chrono", "fdlimit", @@ -8013,7 +8024,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "derive_more", "fnv", @@ -8047,7 +8058,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "blake2-rfc", "hash-db", @@ -8077,7 +8088,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "parking_lot 0.11.1", @@ -8090,7 +8101,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "derive_more", @@ -8136,7 +8147,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "derive_more", "futures 0.3.15", @@ -8160,7 +8171,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8173,7 +8184,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "futures 0.3.15", @@ -8201,7 +8212,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "sc-client-api", "sp-authorship", @@ -8212,7 +8223,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "derive_more", "lazy_static", @@ -8241,12 +8252,12 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "derive_more", "parity-scale-codec", "pwasm-utils", - "sp-allocator", + "sc-allocator", "sp-core", "sp-maybe-compressed-blob", "sp-serializer", @@ -8258,12 +8269,12 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "log", "parity-scale-codec", + "sc-allocator", "sc-executor-common", - "sp-allocator", "sp-core", "sp-runtime-interface", "sp-wasm-interface", @@ -8273,16 +8284,16 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "cfg-if 1.0.0", "libc", "log", "parity-scale-codec", "parity-wasm 0.42.2", + "sc-allocator", "sc-executor-common", "scoped-tls", - "sp-allocator", "sp-core", "sp-runtime-interface", "sp-wasm-interface", @@ -8292,7 +8303,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "derive_more", @@ -8333,7 +8344,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "derive_more", "finality-grandpa", @@ -8357,7 +8368,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "derive_more", "futures 0.3.15", @@ -8378,7 +8389,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "ansi_term 0.12.1", "futures 0.3.15", @@ -8396,7 +8407,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "derive_more", @@ -8416,7 +8427,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "hash-db", "lazy_static", @@ -8435,7 +8446,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-std", "async-trait", @@ -8488,7 +8499,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8505,7 +8516,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "bytes 0.5.6", "fnv", @@ -8533,7 +8544,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.3.15", "libp2p", @@ -8546,7 +8557,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8555,7 +8566,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.3.15", "hash-db", @@ -8565,6 +8576,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.11.1", "sc-block-builder", + "sc-chain-spec", "sc-client-api", "sc-executor", "sc-keystore", @@ -8573,7 +8585,6 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-chain-spec", "sp-core", "sp-keystore", "sp-offchain", @@ -8590,7 +8601,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "derive_more", "futures 0.3.15", @@ -8601,9 +8612,9 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.11.1", + "sc-chain-spec", "serde", "serde_json", - "sp-chain-spec", "sp-core", "sp-rpc", "sp-runtime", @@ -8615,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.1.29", "jsonrpc-core", @@ -8633,7 +8644,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "directories", @@ -8699,7 +8710,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "log", "parity-scale-codec", @@ -8714,7 +8725,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8734,7 +8745,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "chrono", "futures 0.3.15", @@ -8754,7 +8765,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8791,7 +8802,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8802,7 +8813,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "derive_more", "futures 0.3.15", @@ -8824,7 +8835,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.3.15", "intervalier", @@ -9300,22 +9311,10 @@ dependencies = [ "sha-1 0.9.6", ] -[[package]] -name = "sp-allocator" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" -dependencies = [ - "log", - "sp-core", - "sp-std", - "sp-wasm-interface", - "thiserror", -] - [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "hash-db", "log", @@ -9332,7 +9331,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9344,7 +9343,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "max-encoded-len", "parity-scale-codec", @@ -9357,7 +9356,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "integer-sqrt", "num-traits", @@ -9371,7 +9370,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9383,7 +9382,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9395,7 +9394,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9407,7 +9406,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.3.15", "log", @@ -9422,19 +9421,10 @@ dependencies = [ "thiserror", ] -[[package]] -name = "sp-chain-spec" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" -dependencies = [ - "serde", - "serde_json", -] - [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "futures 0.3.15", @@ -9461,7 +9451,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "merlin", @@ -9483,7 +9473,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9493,7 +9483,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9505,7 +9495,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "base58", "blake2-rfc", @@ -9550,7 +9540,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9559,7 +9549,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "proc-macro2", "quote", @@ -9569,7 +9559,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "environmental", "parity-scale-codec", @@ -9580,7 +9570,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "finality-grandpa", "log", @@ -9597,7 +9587,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9611,7 +9601,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.3.15", "hash-db", @@ -9636,7 +9626,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "lazy_static", "sp-core", @@ -9647,7 +9637,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "derive_more", @@ -9664,7 +9654,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "ruzstd", "zstd", @@ -9673,7 +9663,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "serde", @@ -9686,7 +9676,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9697,7 +9687,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "sp-api", "sp-core", @@ -9707,7 +9697,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "backtrace", ] @@ -9715,7 +9705,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "rustc-hash", "serde", @@ -9726,7 +9716,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "either", "hash256-std-hasher", @@ -9748,7 +9738,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9765,7 +9755,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9777,7 +9767,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "serde", "serde_json", @@ -9786,7 +9776,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9799,7 +9789,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9809,7 +9799,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "hash-db", "log", @@ -9832,12 +9822,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9850,7 +9840,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "log", "sp-core", @@ -9863,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9880,7 +9870,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "erased-serde", "log", @@ -9898,7 +9888,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "derive_more", "futures 0.3.15", @@ -9914,7 +9904,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "log", @@ -9929,7 +9919,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "hash-db", "memory-db", @@ -9943,7 +9933,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.3.15", "futures-core", @@ -9955,7 +9945,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9968,7 +9958,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -9980,7 +9970,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10163,7 +10153,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "chrono", "console_error_panic_hook", @@ -10189,7 +10179,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "platforms", ] @@ -10197,7 +10187,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.15", @@ -10220,7 +10210,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-std", "derive_more", @@ -10234,7 +10224,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "async-trait", "futures 0.1.29", @@ -10263,7 +10253,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "futures 0.3.15", "substrate-test-utils-derive", @@ -10273,7 +10263,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -10283,7 +10273,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "ansi_term 0.12.1", "atty", @@ -11028,7 +11018,7 @@ checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c6240ce90083f9e8db94b6c33f81297c11534ea0" +source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" dependencies = [ "frame-try-runtime", "log", diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 676762b7e536..2eee6b5f4cea 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -1213,7 +1213,7 @@ pub fn polkadot_testnet_genesis( }, staking: polkadot::StakingConfig { minimum_validator_count: 1, - validator_count: 2, + validator_count: initial_authorities.len() as u32, stakers: initial_authorities .iter() .map(|x| { @@ -1312,7 +1312,7 @@ pub fn kusama_testnet_genesis( }, staking: kusama::StakingConfig { minimum_validator_count: 1, - validator_count: 2, + validator_count: initial_authorities.len() as u32, stakers: initial_authorities .iter() .map(|x| { @@ -1416,7 +1416,7 @@ pub fn westend_testnet_genesis( }, staking: westend::StakingConfig { minimum_validator_count: 1, - validator_count: 2, + validator_count: initial_authorities.len() as u32, stakers: initial_authorities .iter() .map(|x| { diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index 41a19d5d2aa6..e8e0d545538f 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -71,7 +71,7 @@ macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { let mut ext = crate::create_election_ext::(shared.uri.clone(), config.at, true).await?; force_create_snapshot::(&mut ext)?; measure_snapshot_size::(&mut ext); - let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 100)?; + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 100, false)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); let nonce = crate::get_account_info::(&client, &signer.account, config.at) diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 75a59822a499..09f5e2521a99 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -31,7 +31,7 @@ use jsonrpsee_ws_client::{WsClient, WsClientBuilder}; use prelude::*; use remote_externalities::{Builder, Mode, OnlineConfig}; use sp_core::crypto::Pair as _; -use sp_runtime::traits::{Block as BlockT, Saturating}; +use sp_runtime::traits::Block as BlockT; use std::path::{Path, PathBuf}; use structopt::StructOpt; @@ -44,12 +44,11 @@ pub(crate) enum AnyRuntime { pub(crate) static mut RUNTIME: AnyRuntime = AnyRuntime::Polkadot; macro_rules! construct_runtime_prelude { - ($runtime:ident, $npos:ty) => { paste::paste! { + ($runtime:ident) => { paste::paste! { #[allow(unused_import)] pub(crate) mod [<$runtime _runtime_exports>] { pub(crate) use crate::prelude::EPM; pub(crate) use [<$runtime _runtime>]::*; - pub(crate) type NposCompactSolution = [<$runtime _runtime>]::$npos; pub(crate) use crate::monitor::[] as monitor_cmd; pub(crate) use crate::dry_run::[] as dry_run_cmd; pub(crate) use crate::emergency_solution::[] as emergency_solution_cmd; @@ -149,9 +148,9 @@ fn signed_ext_builder_westend( ) } -construct_runtime_prelude!(polkadot, NposCompactSolution16); -construct_runtime_prelude!(kusama, NposCompactSolution24); -construct_runtime_prelude!(westend, NposCompactSolution16); +construct_runtime_prelude!(polkadot); +construct_runtime_prelude!(kusama); +construct_runtime_prelude!(westend); // NOTE: this is no longer used extensively, most of the per-runtime stuff us delegated to // `construct_runtime_prelude` and macro's the import directly from it. A part of the code is also @@ -327,21 +326,13 @@ async fn create_election_ext( fn mine_unchecked( ext: &mut Ext, iterations: usize, + do_feasibility: bool, ) -> Result<(EPM::RawSolution>, u32), Error> { ext.execute_with(|| { let (solution, _) = >::mine_solution(iterations)?; - let witness = >::decode_len().unwrap_or_default(); - Ok((solution, witness as u32)) - }) -} - -/// Same as `mine_checked`, but it also does all the needed internal checks as well. -fn mine_checked( - ext: &mut Ext, - iterations: usize, -) -> Result<(EPM::RawSolution>, u32), Error> { - ext.execute_with(|| { - let (solution, _) = >::mine_and_check(iterations)?; + if do_feasibility { + let _ = >::feasibility_check(solution.clone(), EPM::ElectionCompute::Signed)?; + } let witness = >::decode_len().unwrap_or_default(); Ok((solution, witness as u32)) }) @@ -429,12 +420,24 @@ async fn main() { let Opt { shared, command } = Opt::from_args(); log::debug!(target: LOG_TARGET, "attempting to connect to {:?}", shared.uri); - let client = WsClientBuilder::default() - .connection_timeout(std::time::Duration::new(20, 0)) - .max_request_body_size(u32::MAX) - .build(&shared.uri) - .await - .unwrap(); + let client = loop { + let maybe_client = WsClientBuilder::default() + .connection_timeout(std::time::Duration::new(20, 0)) + .max_request_body_size(u32::MAX) + .build(&shared.uri) + .await; + match maybe_client { + Ok(client) => break client, + Err(why) => { + log::warn!( + target: LOG_TARGET, + "failed to connect to client due to {:?}, retrying soon..", + why + ); + std::thread::sleep_ms(2500); + } + } + }; let chain = rpc_helpers::rpc::(&client, "system_chain", params! {}) .await diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 96706f1169db..4083599d07f9 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -103,7 +103,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { continue; } - let (raw_solution, witness) = crate::mine_checked::(&mut ext, 50)?; + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 100, true)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); let nonce = crate::get_account_info::(&client, &signer.account, Some(hash)) @@ -114,13 +114,10 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { it is likely due to a bug, or the signer got slashed. Terminating." ); let tip = 0 as Balance; - let period = Runtime::BlockHashCount::get() - .checked_next_power_of_two() - .map(|c| c / 2) - .unwrap_or(2) as u64; - let current_block = now.number - .saturated_into::(); - let era = Era::mortal(period, current_block); + let period = ::BlockHashCount::get() / 2; + let current_block = now.number.saturating_sub(1); + let era = sp_runtime::generic::Era::mortal(period.into(), current_block.into()); + dbg!(era); let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone(), nonce, tip, era)); let bytes = sp_core::Bytes(extrinsic.encode()); @@ -131,7 +128,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { .await .unwrap(); - let _success = while let Some(status_update) = tx_subscription.next().await.unwrap() { + let _success = while let Ok(Some(status_update)) = tx_subscription.next().await { log::trace!(target: LOG_TARGET, "status update {:?}", status_update); match status_update { TransactionStatus::Ready | TransactionStatus::Broadcast(_) | TransactionStatus::Future => continue, From c77bf51345e87ce40a8394d499ac388d7843dbab Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 1 Jul 2021 12:02:55 +0200 Subject: [PATCH 23/31] Better reward scheme --- runtime/common/src/elections.rs | 37 ++++++++++++++++++++------------- runtime/kusama/src/lib.rs | 18 +++++++++------- runtime/polkadot/src/lib.rs | 16 ++++++++------ runtime/westend/src/lib.rs | 16 ++++++++------ 4 files changed, 53 insertions(+), 34 deletions(-) diff --git a/runtime/common/src/elections.rs b/runtime/common/src/elections.rs index 3b7086fcfd5d..b2109b598ebd 100644 --- a/runtime/common/src/elections.rs +++ b/runtime/common/src/elections.rs @@ -18,10 +18,14 @@ use frame_support::{ parameter_types, - traits::Get, - weights::{DispatchClass, Weight, WeightToFeePolynomial}, + weights::{DispatchClass, Weight}, }; -use sp_runtime::Perbill; +use sp_runtime::{ + traits::{Zero, Dispatchable}, + FixedU128, FixedPointNumber, Perbill, +}; +use pallet_transaction_payment::OnChargeTransaction; +use frame_support::weights::{DispatchInfo, Pays}; use super::{BlockExecutionWeight, BlockLength, BlockWeights}; parameter_types! { @@ -44,18 +48,21 @@ parameter_types! { .get(DispatchClass::Normal); } -/// Compute the expected fee for submitting an election solution. -/// -/// This is `multiplier` multiplied by the fee for the expected submission weight according to the -/// weight info. -/// -/// Assumes that the signed submission queue is full. -pub fn fee_for_submit_call(multiplier: Perbill) -> WeightToFee::Balance +pub fn fee_for_submit_call( + multiplier: FixedU128, + weight: Weight, + length: u32, +) -> primitives::v1::Balance where - T: pallet_election_provider_multi_phase::Config, - WeightToFee: WeightToFeePolynomial, - WeightInfo: pallet_election_provider_multi_phase::WeightInfo, + T: pallet_transaction_payment::Config, + ::OnChargeTransaction: + OnChargeTransaction, + ::Call: Dispatchable, { - let expected_weight = WeightInfo::submit(T::SignedMaxSubmissions::get()); - multiplier * WeightToFee::calc(&expected_weight) + let info = DispatchInfo { weight, class: DispatchClass::Normal, pays_fee: Pays::Yes }; + multiplier.saturating_mul_int(pallet_transaction_payment::Pallet::::compute_fee( + length, + &info, + Zero::zero(), + )) } diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 6f81000a99d3..1d58eb54f877 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -65,8 +65,8 @@ use xcm_builder::{ use xcm_executor::XcmExecutor; use sp_arithmetic::Perquintill; use sp_runtime::{ - create_runtime_str, generic, impl_opaque_keys, - ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, + create_runtime_str, generic, impl_opaque_keys, ApplyExtrinsicResult, KeyTypeId, Percent, + Permill, Perbill, FixedPointNumber, transaction_validity::{TransactionValidity, TransactionSource, TransactionPriority}, traits::{ BlakeTwo256, Block as BlockT, OpaqueKeys, ConvertInto, AccountIdLookup, @@ -349,6 +349,7 @@ impl pallet_session::historical::Config for Runtime { type FullIdentificationOf = pallet_staking::ExposureOf; } +use pallet_election_provider_multi_phase::WeightInfo; parameter_types! { // phase durations. 1/4 of the last session for each. pub const SignedPhase: u32 = EPOCH_DURATION_IN_SLOTS / 4; @@ -361,11 +362,14 @@ parameter_types! { // This formula is currently adjusted such that a typical solution will spend an amount equal // to the base deposit for every 50 kb. pub const SignedDepositByte: Balance = deposit(1, 0) / (50 * 1024); - pub SignedRewardBase: Balance = fee_for_submit_call::< - Runtime, - crate::constants::fee::WeightToFee, - crate::weights::pallet_election_provider_multi_phase::WeightInfo, - >(Perbill::from_perthousand(1500)); + pub SignedRewardBase: Balance = fee_for_submit_call::( + // give 20% threshold. + sp_runtime::FixedU128::saturating_from_rational(12, 10), + // maximum weight possible. + weights::pallet_election_provider_multi_phase::WeightInfo::::submit(SignedMaxSubmissions::get()), + // assume a solution of 100kb length. + 100 * 1024 + ); // fallback: emergency phase. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 7673802912e2..c1d66f36e1aa 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -41,7 +41,7 @@ use primitives::v1::{ ValidatorIndex, InboundDownwardMessage, InboundHrmpMessage, SessionInfo, }; use sp_runtime::{ - create_runtime_str, generic, impl_opaque_keys, ApplyExtrinsicResult, + create_runtime_str, generic, impl_opaque_keys, ApplyExtrinsicResult, FixedPointNumber, KeyTypeId, Percent, Permill, Perbill, curve::PiecewiseLinear, transaction_validity::{TransactionValidity, TransactionSource, TransactionPriority}, traits::{ @@ -329,6 +329,7 @@ impl pallet_session::historical::Config for Runtime { type FullIdentificationOf = pallet_staking::ExposureOf; } +use pallet_election_provider_multi_phase::WeightInfo; parameter_types! { // phase durations. 1/4 of the last session for each. pub const SignedPhase: u32 = EPOCH_DURATION_IN_SLOTS / 4; @@ -341,11 +342,14 @@ parameter_types! { // This formula is currently adjusted such that a typical solution will spend an amount equal // to the base deposit for every 50 kb. pub const SignedDepositByte: Balance = deposit(1, 0) / (50 * 1024); - pub SignedRewardBase: Balance = fee_for_submit_call::< - Runtime, - crate::constants::fee::WeightToFee, - crate::weights::pallet_election_provider_multi_phase::WeightInfo, - >(Perbill::from_perthousand(1500)); + pub SignedRewardBase: Balance = fee_for_submit_call::( + // give 20% threshold. + sp_runtime::FixedU128::saturating_from_rational(12, 10), + // maximum weight possible. + weights::pallet_election_provider_multi_phase::WeightInfo::::submit(SignedMaxSubmissions::get()), + // assume a solution of 200kb length. + 200 * 1024 + ); // fallback: emergency phase. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 4fe574cf0d20..2386abdec9c1 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -65,7 +65,7 @@ use xcm_builder::{ }; use sp_runtime::{ - create_runtime_str, generic, impl_opaque_keys, + create_runtime_str, generic, impl_opaque_keys, FixedPointNumber, ApplyExtrinsicResult, KeyTypeId, Perbill, curve::PiecewiseLinear, transaction_validity::{TransactionValidity, TransactionSource, TransactionPriority}, traits::{ @@ -334,6 +334,7 @@ impl pallet_session::historical::Config for Runtime { type FullIdentificationOf = pallet_staking::ExposureOf; } +use pallet_election_provider_multi_phase::WeightInfo; parameter_types! { // phase durations. 1/4 of the last session for each. pub const SignedPhase: u32 = EPOCH_DURATION_IN_SLOTS / 4; @@ -346,11 +347,14 @@ parameter_types! { // This formula is currently adjusted such that a typical solution will spend an amount equal // to the base deposit for every 50 kb. pub const SignedDepositByte: Balance = deposit(1, 0) / (50 * 1024); - pub SignedRewardBase: Balance = fee_for_submit_call::< - Runtime, - crate::constants::fee::WeightToFee, - crate::weights::pallet_election_provider_multi_phase::WeightInfo, - >(Perbill::from_perthousand(1500)); + pub SignedRewardBase: Balance = fee_for_submit_call::( + // give 20% threshold. + sp_runtime::FixedU128::saturating_from_rational(12, 10), + // maximum weight possible. + weights::pallet_election_provider_multi_phase::WeightInfo::::submit(SignedMaxSubmissions::get()), + // assume a solution of 100kb length. + 100 * 1024 + ); // fallback: emergency phase. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = From 10508ae2ee8af6c149537a9ed8aec8bb38a990e9 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:41:53 +0200 Subject: [PATCH 24/31] Update utils/staking-miner/src/main.rs Co-authored-by: Peter Goodspeed-Niklaus --- utils/staking-miner/src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 09f5e2521a99..e03ad37d8327 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -473,7 +473,10 @@ async fn main() { RUNTIME = AnyRuntime::Westend; } } - _ => panic!("unexpected chain: {:?}", chain), + _ => { + eprintln!("unexpected chain: {:?}", chain); + return; + } } log::info!(target: LOG_TARGET, "connected to chain {:?}", chain); From f83ddb69f4682eb0b21c8ae0070be0c9024da985 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:43:10 +0200 Subject: [PATCH 25/31] Update utils/staking-miner/src/dry_run.rs Co-authored-by: Peter Goodspeed-Niklaus --- utils/staking-miner/src/dry_run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index bc567b2600e3..ae5369bfded0 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -54,7 +54,7 @@ fn find_threshold(ext: &mut Ext, count: usize) { let mut voters = >::snapshot() .expect("snapshot must exist before calling `measure_snapshot_size`") .voters; - voters.sort_by_key(|v| v.1); + voters.sort_by_key(|(_voter, score, _targets)| std::cmp::Reverse(score)); println!("smallest allowed voter is {:?}", voters.into_iter().rev().take(count).last()); }) } From 913e75aed042257f106a2ca95177f5570b60e151 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:44:37 +0200 Subject: [PATCH 26/31] Update utils/staking-miner/src/dry_run.rs Co-authored-by: Peter Goodspeed-Niklaus --- utils/staking-miner/src/dry_run.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index ae5369bfded0..03dd7182b05a 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -55,7 +55,13 @@ fn find_threshold(ext: &mut Ext, count: usize) { .expect("snapshot must exist before calling `measure_snapshot_size`") .voters; voters.sort_by_key(|(_voter, score, _targets)| std::cmp::Reverse(score)); - println!("smallest allowed voter is {:?}", voters.into_iter().rev().take(count).last()); + match voters.get(count) { + Some(threshold_voter) => println!("smallest allowed voter is {:?}", threshold_voter), + None => { + println!("requested truncation to {} voters but had only {}", count, voters.len()); + println!("smallest current voter: {:?}", voters.last()); + } + } }) } From 89e0a38dc0fed5a1e7936e27fb35ae0c21481087 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:44:44 +0200 Subject: [PATCH 27/31] Update utils/staking-miner/src/monitor.rs Co-authored-by: Peter Goodspeed-Niklaus --- utils/staking-miner/src/monitor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 4083599d07f9..60e412088202 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -23,7 +23,7 @@ use jsonrpsee_ws_client::{ }; use sp_transaction_pool::TransactionStatus; -/// Ensure that now is the singed phase. +/// Ensure that now is the signed phase. async fn ensure_signed_phase( client: &WsClient, at: B::Hash, From dcbe582512abca287d8c6a0c43d99e7106e376ee Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 1 Jul 2021 18:16:27 +0200 Subject: [PATCH 28/31] More chnages --- Cargo.lock | 308 ++++++++++++++--------------- runtime/polkadot/src/constants.rs | 2 +- runtime/polkadot/src/lib.rs | 2 +- utils/staking-miner/src/dry_run.rs | 6 +- utils/staking-miner/src/main.rs | 78 ++------ utils/staking-miner/src/monitor.rs | 12 +- utils/staking-miner/src/signer.rs | 73 +++++++ 7 files changed, 256 insertions(+), 225 deletions(-) create mode 100644 utils/staking-miner/src/signer.rs diff --git a/Cargo.lock b/Cargo.lock index 83bf34147d12..19b16a323c76 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1912,7 +1912,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", ] @@ -1930,7 +1930,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -1949,7 +1949,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "Inflector", "chrono", @@ -1972,7 +1972,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -1985,7 +1985,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -2000,7 +2000,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "serde", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "bitflags", "frame-metadata", @@ -2038,7 +2038,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2050,7 +2050,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2062,7 +2062,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "proc-macro2", "quote", @@ -2072,7 +2072,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-metadata", "frame-support", @@ -2092,7 +2092,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2109,7 +2109,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "sp-api", @@ -2132,7 +2132,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "parity-scale-codec", @@ -4070,7 +4070,7 @@ dependencies = [ [[package]] name = "max-encoded-len" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "impl-trait-for-tuples", "max-encoded-len-derive", @@ -4081,7 +4081,7 @@ dependencies = [ [[package]] name = "max-encoded-len-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -4584,7 +4584,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -4599,7 +4599,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -4613,7 +4613,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4636,7 +4636,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4666,7 +4666,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4702,7 +4702,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4718,7 +4718,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4733,7 +4733,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4771,7 +4771,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4785,7 +4785,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4807,7 +4807,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4822,7 +4822,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4841,7 +4841,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4857,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4872,7 +4872,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4889,7 +4889,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4923,7 +4923,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -4951,7 +4951,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -4967,7 +4967,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -5005,7 +5005,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "enumflags2", "frame-support", @@ -5019,7 +5019,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -5034,7 +5034,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -5054,7 +5054,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -5070,7 +5070,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5107,7 +5107,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5118,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "log", "sp-arithmetic", @@ -5127,7 +5127,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -5158,7 +5158,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -5173,7 +5173,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-support", "frame-system", @@ -5189,7 +5189,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5206,7 +5206,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5217,7 +5217,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -5233,7 +5233,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-benchmarking", "frame-support", @@ -5248,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7581,7 +7581,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "env_logger 0.8.4", "hex", @@ -7875,7 +7875,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "log", "sp-core", @@ -7887,7 +7887,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "derive_more", @@ -7916,7 +7916,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -7939,7 +7939,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7955,7 +7955,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7975,7 +7975,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -7986,7 +7986,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "chrono", "fdlimit", @@ -8024,7 +8024,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "derive_more", "fnv", @@ -8058,7 +8058,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "blake2-rfc", "hash-db", @@ -8088,7 +8088,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "parking_lot 0.11.1", @@ -8101,7 +8101,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "derive_more", @@ -8147,7 +8147,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "derive_more", "futures 0.3.15", @@ -8171,7 +8171,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8184,7 +8184,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "futures 0.3.15", @@ -8212,7 +8212,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "sc-client-api", "sp-authorship", @@ -8223,7 +8223,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "derive_more", "lazy_static", @@ -8252,7 +8252,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "derive_more", "parity-scale-codec", @@ -8269,7 +8269,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "log", "parity-scale-codec", @@ -8284,7 +8284,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8303,7 +8303,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "derive_more", @@ -8344,7 +8344,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "derive_more", "finality-grandpa", @@ -8368,7 +8368,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "derive_more", "futures 0.3.15", @@ -8389,7 +8389,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "ansi_term 0.12.1", "futures 0.3.15", @@ -8407,7 +8407,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "derive_more", @@ -8427,7 +8427,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "hash-db", "lazy_static", @@ -8446,7 +8446,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-std", "async-trait", @@ -8499,7 +8499,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8516,7 +8516,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "bytes 0.5.6", "fnv", @@ -8544,7 +8544,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.3.15", "libp2p", @@ -8557,7 +8557,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8566,7 +8566,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.3.15", "hash-db", @@ -8601,7 +8601,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "derive_more", "futures 0.3.15", @@ -8626,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.1.29", "jsonrpc-core", @@ -8644,7 +8644,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "directories", @@ -8710,7 +8710,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "log", "parity-scale-codec", @@ -8725,7 +8725,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8745,7 +8745,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "chrono", "futures 0.3.15", @@ -8765,7 +8765,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8802,7 +8802,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8813,7 +8813,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "derive_more", "futures 0.3.15", @@ -8835,7 +8835,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.3.15", "intervalier", @@ -9314,7 +9314,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "hash-db", "log", @@ -9331,7 +9331,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9343,7 +9343,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "max-encoded-len", "parity-scale-codec", @@ -9356,7 +9356,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "integer-sqrt", "num-traits", @@ -9370,7 +9370,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "sp-api", @@ -9382,7 +9382,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "parity-scale-codec", @@ -9394,7 +9394,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "sp-api", @@ -9406,7 +9406,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.3.15", "log", @@ -9424,7 +9424,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "futures 0.3.15", @@ -9451,7 +9451,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "merlin", @@ -9473,7 +9473,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9483,7 +9483,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9495,7 +9495,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "base58", "blake2-rfc", @@ -9540,7 +9540,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9549,7 +9549,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "proc-macro2", "quote", @@ -9559,7 +9559,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "environmental", "parity-scale-codec", @@ -9570,7 +9570,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "finality-grandpa", "log", @@ -9587,7 +9587,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9601,7 +9601,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.3.15", "hash-db", @@ -9626,7 +9626,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "lazy_static", "sp-core", @@ -9637,7 +9637,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "derive_more", @@ -9654,7 +9654,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "ruzstd", "zstd", @@ -9663,7 +9663,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "serde", @@ -9676,7 +9676,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9687,7 +9687,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "sp-api", "sp-core", @@ -9697,7 +9697,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "backtrace", ] @@ -9705,7 +9705,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "rustc-hash", "serde", @@ -9716,7 +9716,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "either", "hash256-std-hasher", @@ -9738,7 +9738,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9755,7 +9755,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9767,7 +9767,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "serde", "serde_json", @@ -9776,7 +9776,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "sp-api", @@ -9789,7 +9789,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9799,7 +9799,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "hash-db", "log", @@ -9822,12 +9822,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9840,7 +9840,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "log", "sp-core", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9870,7 +9870,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "erased-serde", "log", @@ -9888,7 +9888,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "derive_more", "futures 0.3.15", @@ -9904,7 +9904,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "log", @@ -9919,7 +9919,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "hash-db", "memory-db", @@ -9933,7 +9933,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.3.15", "futures-core", @@ -9945,7 +9945,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9958,7 +9958,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -9970,7 +9970,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10153,7 +10153,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "chrono", "console_error_panic_hook", @@ -10179,7 +10179,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "platforms", ] @@ -10187,7 +10187,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.15", @@ -10210,7 +10210,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-std", "derive_more", @@ -10224,7 +10224,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "async-trait", "futures 0.1.29", @@ -10253,7 +10253,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "futures 0.3.15", "substrate-test-utils-derive", @@ -10263,7 +10263,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "proc-macro-crate 1.0.0", "quote", @@ -10273,7 +10273,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "ansi_term 0.12.1", "atty", @@ -11018,7 +11018,7 @@ checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4cb42231b31ed0dda753144f1e2958b7c78f381f" +source = "git+https://github.com/paritytech/substrate?branch=master#938e3a2379599a8a80cde8d3e4ed698e5eded490" dependencies = [ "frame-try-runtime", "log", diff --git a/runtime/polkadot/src/constants.rs b/runtime/polkadot/src/constants.rs index ecfa74d78664..80955bee41d6 100644 --- a/runtime/polkadot/src/constants.rs +++ b/runtime/polkadot/src/constants.rs @@ -33,7 +33,7 @@ pub mod time { use primitives::v0::{Moment, BlockNumber}; pub const MILLISECS_PER_BLOCK: Moment = 6000; pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK; - pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 4 * HOURS; + pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = 2 * MINUTES; // These time units are defined in number of blocks. pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index c1d66f36e1aa..48a98ce6ebd5 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -420,7 +420,7 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (24 hours). - pub const SessionsPerEra: SessionIndex = 6; + pub const SessionsPerEra: SessionIndex = 1; // 28 eras for unbonding (28 days). pub const BondingDuration: pallet_staking::EraIndex = 28; pub const SlashDeferDuration: pallet_staking::EraIndex = 27; diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index bc567b2600e3..a32e8c980793 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -16,7 +16,9 @@ //! The dry-run command. -use crate::{prelude::*, Signer, SharedConfig, DryRunConfig, WsClient, Error, rpc_helpers::*, params}; +use crate::{ + params, prelude::*, rpc_helpers::*, signer::Signer, DryRunConfig, Error, SharedConfig, WsClient, +}; use codec::Encode; /// Forcefully create the snapshot. This can be used to compute the election at anytime. @@ -71,7 +73,7 @@ macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { let mut ext = crate::create_election_ext::(shared.uri.clone(), config.at, true).await?; force_create_snapshot::(&mut ext)?; measure_snapshot_size::(&mut ext); - let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 100, false)?; + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, config.iterations, false)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); let nonce = crate::get_account_info::(&client, &signer.account, config.at) diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 09f5e2521a99..37d64594073b 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -21,18 +21,19 @@ // 2. length (already taken care of). // 3. Important, but hard to do: memory usage of the chain. -mod rpc_helpers; mod dry_run; mod emergency_solution; mod monitor; mod prelude; +mod rpc_helpers; +mod signer; + +pub(crate) use prelude::*; +pub(crate) use signer::get_account_info; use jsonrpsee_ws_client::{WsClient, WsClientBuilder}; -use prelude::*; use remote_externalities::{Builder, Mode, OnlineConfig}; -use sp_core::crypto::Pair as _; use sp_runtime::traits::Block as BlockT; -use std::path::{Path, PathBuf}; use structopt::StructOpt; pub(crate) enum AnyRuntime { @@ -59,7 +60,7 @@ macro_rules! construct_runtime_prelude { pub(crate) fn []( raw_solution: EPM::RawSolution>, witness: u32, - signer: crate::Signer, + signer: crate::signer::Signer, nonce: crate::prelude::Index, tip: crate::prelude::Balance, era: sp_runtime::generic::Era, @@ -68,7 +69,7 @@ macro_rules! construct_runtime_prelude { use sp_core::Pair as _; use sp_runtime::traits::StaticLookup as _; - let crate::Signer { account, pair, .. } = signer; + let crate::signer::Signer { account, pair, .. } = signer; let local_call = EPMCall::::submit(raw_solution, witness); let call: Call = as std::convert::TryInto>::try_into(local_call) @@ -243,6 +244,9 @@ struct MonitorConfig { /// slower. It is recommended if the duration of the signed phase is longer than the a #[structopt(long, default_value = "head", possible_values = &["head", "finalized"])] listen: String, + + #[structopt(long, short, default_value = "10")] + iterations: usize, } #[derive(Debug, Clone, StructOpt)] @@ -250,6 +254,9 @@ struct DryRunConfig { /// The block hash at which scraping happens. If none is provided, the latest head is used. #[structopt(long)] at: Option, + + #[structopt(long, short, default_value = "10")] + iterations: usize, } #[derive(Debug, Clone, StructOpt)] @@ -260,7 +267,7 @@ struct SharedConfig { /// The file from which we read the account seed. #[structopt(long)] - account_seed: PathBuf, + account_seed: std::path::PathBuf, } #[derive(Debug, Clone, StructOpt)] @@ -273,17 +280,6 @@ struct Opt { command: Command, } -/// Some information about the signer. Redundant at this point, but makes life easier. -#[derive(Clone)] -struct Signer { - /// The account id. - account: AccountId, - /// The full crypto key-pair. - pair: Pair, - /// The raw uri read from file. - uri: String, -} - /// Build the `Ext` at `hash` with all the data of `ElectionProviderMultiPhase` and `Staking` /// stored. async fn create_election_ext( @@ -339,12 +335,10 @@ fn mine_unchecked( } #[allow(unused)] -fn mine_dpos( - ext: &mut Ext, -) -> Result<(), Error> { +fn mine_dpos(ext: &mut Ext) -> Result<(), Error> { ext.execute_with(|| { - use EPM::RoundSnapshot; use std::collections::BTreeMap; + use EPM::RoundSnapshot; let RoundSnapshot { voters, .. } = EPM::Snapshot::::get().unwrap(); let desired_targets = EPM::DesiredTargets::::get().unwrap(); let mut candidates_and_backing = BTreeMap::::new(); @@ -378,42 +372,6 @@ fn mine_dpos( }) } -pub(crate) async fn get_account_info( - client: &WsClient, - who: &T::AccountId, - maybe_at: Option, -) -> Result>, Error> { - rpc_helpers::get_storage::>( - client, - params! { - sp_core::storage::StorageKey(>::hashed_key_for(&who)), - maybe_at - }, - ) - .await -} - -/// Read the signer account's uri from the given `path`. -async fn read_signer_uri< - P: AsRef, - T: frame_system::Config, ->( - path: P, - client: &WsClient, -) -> Result { - let uri = std::fs::read_to_string(path)?; - - // trim any trailing garbage. - let uri = uri.trim_end(); - - let pair = Pair::from_string(&uri, None)?; - let account = T::AccountId::from(pair.public()); - let _info = - get_account_info::(&client, &account, None).await?.ok_or(Error::AccountDoesNotExists)?; - log::info!(target: LOG_TARGET, "loaded account {:?}, info: {:?}", &account, _info); - Ok(Signer { account, pair, uri: uri.to_string() }) -} - #[tokio::main] async fn main() { env_logger::Builder::from_default_env().format_module_path(true).format_level(true).init(); @@ -434,7 +392,7 @@ async fn main() { "failed to connect to client due to {:?}, retrying soon..", why ); - std::thread::sleep_ms(2500); + std::thread::sleep(std::time::Duration::from_millis(2500)); } } }; @@ -478,7 +436,7 @@ async fn main() { log::info!(target: LOG_TARGET, "connected to chain {:?}", chain); let outcome = any_runtime! { - let signer = read_signer_uri::<_, Runtime>(&shared.account_seed, &client) + let signer = signer::read_signer_uri::<_, Runtime>(&shared.account_seed, &client) .await .expect("Provided account is invalid, terminating."); match command { diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 4083599d07f9..a7d26e9cfb99 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -16,7 +16,9 @@ //! The monitor command. -use crate::{params, prelude::*, rpc_helpers::*, Error, MonitorConfig, SharedConfig, Signer}; +use crate::{ + params, prelude::*, rpc_helpers::*, signer::Signer, Error, MonitorConfig, SharedConfig, +}; use codec::Encode; use jsonrpsee_ws_client::{ traits::SubscriptionClient, v2::params::JsonRpcParams, Subscription, WsClient, @@ -103,21 +105,17 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { continue; } - let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, 100, true)?; + let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, config.iterations, true)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); let nonce = crate::get_account_info::(&client, &signer.account, Some(hash)) .await? .map(|i| i.nonce) - .expect("signer account is checked to exist upon startup; it can only die if it \ - transfers funds out of it, or get slashed. If it does not exist at this point, \ - it is likely due to a bug, or the signer got slashed. Terminating." - ); + .expect(crate::signer::SIGNER_ACCOUNT_WILL_EXIST); let tip = 0 as Balance; let period = ::BlockHashCount::get() / 2; let current_block = now.number.saturating_sub(1); let era = sp_runtime::generic::Era::mortal(period.into(), current_block.into()); - dbg!(era); let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone(), nonce, tip, era)); let bytes = sp_core::Bytes(extrinsic.encode()); diff --git a/utils/staking-miner/src/signer.rs b/utils/staking-miner/src/signer.rs new file mode 100644 index 000000000000..409d7befab8a --- /dev/null +++ b/utils/staking-miner/src/signer.rs @@ -0,0 +1,73 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Wrappers around creating a signer account. + +use crate::{rpc_helpers, AccountId, Error, Index, Pair, WsClient, LOG_TARGET}; +use sp_core::crypto::Pair as _; +use std::path::Path; + +pub(crate) const SIGNER_ACCOUNT_WILL_EXIST: &'static str = + "signer account is checked to exist upon startup; it can only die if it transfers funds out \ + of it, or get slashed. If it does not exist at this point, it is likely due to a bug, or the \ + signer got slashed. Terminating."; + +/// Some information about the signer. Redundant at this point, but makes life easier. +#[derive(Clone)] +pub(crate) struct Signer { + /// The account id. + pub(crate) account: AccountId, + /// The full crypto key-pair. + pub(crate) pair: Pair, + /// The raw uri read from file. + pub(crate) uri: String, +} + +pub(crate) async fn get_account_info( + client: &WsClient, + who: &T::AccountId, + maybe_at: Option, +) -> Result>, Error> { + rpc_helpers::get_storage::>( + client, + crate::params! { + sp_core::storage::StorageKey(>::hashed_key_for(&who)), + maybe_at + }, + ) + .await +} + +/// Read the signer account's uri from the given `path`. +pub(crate) async fn read_signer_uri< + P: AsRef, + T: frame_system::Config, +>( + path: P, + client: &WsClient, +) -> Result { + let uri = std::fs::read_to_string(path)?; + + // trim any trailing garbage. + let uri = uri.trim_end(); + + let pair = Pair::from_string(&uri, None)?; + let account = T::AccountId::from(pair.public()); + let _info = + get_account_info::(&client, &account, None).await?.ok_or(Error::AccountDoesNotExists)?; + log::info!(target: LOG_TARGET, "loaded account {:?}, info: {:?}", &account, _info); + Ok(Signer { account, pair, uri: uri.to_string() }) +} From df8725b05ef9412fd5a461c4b3563bc73720c0f4 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 1 Jul 2021 19:46:49 +0200 Subject: [PATCH 29/31] Fix --- utils/staking-miner/src/dry_run.rs | 2 +- utils/staking-miner/src/main.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index b0ac75eda210..12e002cdcc5c 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -56,7 +56,7 @@ fn find_threshold(ext: &mut Ext, count: usize) { let mut voters = >::snapshot() .expect("snapshot must exist before calling `measure_snapshot_size`") .voters; - voters.sort_by_key(|(_voter, score, _targets)| std::cmp::Reverse(score)); + voters.sort_by_key(|(_voter, weight, _targets)| std::cmp::Reverse(*weight)); match voters.get(count) { Some(threshold_voter) => println!("smallest allowed voter is {:?}", threshold_voter), None => { diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 93758eda029a..04681c8ca816 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -456,7 +456,6 @@ async fn main() { #[cfg(test)] mod tests { use super::*; - const TEST_URI: &'static str = DEFAULT_URI; fn get_version() -> sp_version::RuntimeVersion { use frame_support::traits::Get; From 01e92c4945ee65ae3a392fe1c7b456428d0c772f Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 1 Jul 2021 20:25:32 +0200 Subject: [PATCH 30/31] Make it restart automatically. --- utils/staking-miner/src/main.rs | 27 ++++++++++++++------------- utils/staking-miner/src/monitor.rs | 2 +- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 20345b9fb349..09188377e5e5 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -449,19 +449,20 @@ async fn main() { } log::info!(target: LOG_TARGET, "connected to chain {:?}", chain); - let outcome = any_runtime! { - let signer = signer::read_signer_uri::<_, Runtime>(&shared.account_seed, &client) - .await - .expect("Provided account is invalid, terminating."); - match command { - Command::Monitor(c) => monitor_cmd(client, shared, c, signer).await, - // --------------------^^ comes from the macro prelude, needs no generic. - Command::DryRun(c) => dry_run_cmd(client, shared, c, signer).await, - Command::EmergencySolution => emergency_solution_cmd(client, shared).await, - } - }; - - log::info!(target: LOG_TARGET, "execution finished. outcome = {:?}", outcome); + loop { + let outcome = any_runtime! { + let signer = signer::read_signer_uri::<_, Runtime>(&shared.account_seed, &client) + .await + .expect("Provided account is invalid, terminating."); + match command { + Command::Monitor(c) => monitor_cmd(client, shared, c, signer).await, + // --------------------^^ comes from the macro prelude, needs no generic. + Command::DryRun(c) => dry_run_cmd(client, shared, c, signer).await, + Command::EmergencySolution => emergency_solution_cmd(client, shared).await, + } + }; + log::info!(target: LOG_TARGET, "round of execution finished. outcome = {:?}", outcome); + } } #[cfg(test)] diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index fbf5c790481a..60494ac4af20 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -81,7 +81,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { .await .unwrap(); - while let Some(now) = subscription.next().await.unwrap() { + while let Ok(Some(now)) = subscription.next().await { let hash = now.hash(); log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number, hash); From 979cfcc408e027677b0a23ed681d902bf70c0a4a Mon Sep 17 00:00:00 2001 From: kianenigma Date: Thu, 1 Jul 2021 20:42:51 +0200 Subject: [PATCH 31/31] Final touches --- utils/staking-miner/src/dry_run.rs | 6 ++-- utils/staking-miner/src/emergency_solution.rs | 3 +- utils/staking-miner/src/main.rs | 29 ++++++++++--------- utils/staking-miner/src/monitor.rs | 12 ++++---- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/utils/staking-miner/src/dry_run.rs b/utils/staking-miner/src/dry_run.rs index 12e002cdcc5c..853e8da588b8 100644 --- a/utils/staking-miner/src/dry_run.rs +++ b/utils/staking-miner/src/dry_run.rs @@ -70,7 +70,7 @@ fn find_threshold(ext: &mut Ext, count: usize) { macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { /// Execute the dry-run command. pub(crate) async fn []( - client: WsClient, + client: &WsClient, shared: SharedConfig, config: DryRunConfig, signer: Signer, @@ -82,7 +82,7 @@ macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, config.iterations, false)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); - let nonce = crate::get_account_info::(&client, &signer.account, config.at) + let nonce = crate::get_account_info::(client, &signer.account, config.at) .await? .map(|i| i.nonce) .expect("signer account is checked to exist upon startup; it can only die if it \ @@ -94,7 +94,7 @@ macro_rules! dry_run_cmd_for { ($runtime:ident) => { paste::paste! { let extrinsic = ext.execute_with(|| create_uxt(raw_solution, witness, signer.clone(), nonce, tip, era)); let bytes = sp_core::Bytes(extrinsic.encode().to_vec()); - let outcome = rpc_decode::(&client, "system_dryRun", params!{ bytes }).await?; + let outcome = rpc_decode::(client, "system_dryRun", params!{ bytes }).await?; log::info!(target: LOG_TARGET, "dry-run outcome is {:?}", outcome); Ok(()) } diff --git a/utils/staking-miner/src/emergency_solution.rs b/utils/staking-miner/src/emergency_solution.rs index 01d0957d3315..b41c69e1e0e6 100644 --- a/utils/staking-miner/src/emergency_solution.rs +++ b/utils/staking-miner/src/emergency_solution.rs @@ -16,14 +16,13 @@ //! The emergency-solution command. -use crate::{prelude::*, SharedConfig, WsClient, Error}; +use crate::{prelude::*, SharedConfig, Error}; use std::io::Write; use codec::Encode; macro_rules! emergency_solution_cmd_for { ($runtime:ident) => { paste::paste! { /// Execute the emergency-solution command. pub(crate) async fn []( - _client: WsClient, shared: SharedConfig, ) -> Result<(), Error> { use $crate::[<$runtime _runtime_exports>]::*; diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 09188377e5e5..0bc83866f977 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -449,20 +449,21 @@ async fn main() { } log::info!(target: LOG_TARGET, "connected to chain {:?}", chain); - loop { - let outcome = any_runtime! { - let signer = signer::read_signer_uri::<_, Runtime>(&shared.account_seed, &client) - .await - .expect("Provided account is invalid, terminating."); - match command { - Command::Monitor(c) => monitor_cmd(client, shared, c, signer).await, - // --------------------^^ comes from the macro prelude, needs no generic. - Command::DryRun(c) => dry_run_cmd(client, shared, c, signer).await, - Command::EmergencySolution => emergency_solution_cmd(client, shared).await, - } - }; - log::info!(target: LOG_TARGET, "round of execution finished. outcome = {:?}", outcome); - } + let signer_account = any_runtime! { + signer::read_signer_uri::<_, Runtime>(&shared.account_seed, &client) + .await + .expect("Provided account is invalid, terminating.") + }; + + let outcome = any_runtime! { + match command.clone() { + Command::Monitor(c) => monitor_cmd(&client, shared, c, signer_account).await, + // --------------------^^ comes from the macro prelude, needs no generic. + Command::DryRun(c) => dry_run_cmd(&client, shared, c, signer_account).await, + Command::EmergencySolution => emergency_solution_cmd(shared.clone()).await, + } + }; + log::info!(target: LOG_TARGET, "round of execution finished. outcome = {:?}", outcome); } #[cfg(test)] diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 60494ac4af20..502b5a0bc55e 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -63,7 +63,7 @@ async fn ensure_no_previous_solution< macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { /// The monitor command. pub(crate) async fn []( - client: WsClient, + client: &WsClient, shared: SharedConfig, config: MonitorConfig, signer: Signer, @@ -81,12 +81,12 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { .await .unwrap(); - while let Ok(Some(now)) = subscription.next().await { + while let Some(now) = subscription.next().await? { let hash = now.hash(); log::debug!(target: LOG_TARGET, "new event at #{:?} ({:?})", now.number, hash); // we prefer doing this check before fetching anything into a remote-ext. - if ensure_signed_phase::(&client, hash).await.is_err() { + if ensure_signed_phase::(client, hash).await.is_err() { log::debug!(target: LOG_TARGET, "phase closed, not interested in this block at all."); continue; }; @@ -108,7 +108,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { let (raw_solution, witness) = crate::mine_unchecked::(&mut ext, config.iterations, true)?; log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); - let nonce = crate::get_account_info::(&client, &signer.account, Some(hash)) + let nonce = crate::get_account_info::(client, &signer.account, Some(hash)) .await? .map(|i| i.nonce) .expect(crate::signer::SIGNER_ACCOUNT_WILL_EXIST); @@ -127,7 +127,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { .await .unwrap(); - let _success = while let Ok(Some(status_update)) = tx_subscription.next().await { + let _success = while let Some(status_update) = tx_subscription.next().await? { log::trace!(target: LOG_TARGET, "status update {:?}", status_update); match status_update { TransactionStatus::Ready | TransactionStatus::Broadcast(_) | TransactionStatus::Future => continue, @@ -136,7 +136,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { let key = sp_core::storage::StorageKey(frame_system::Events::::hashed_key().to_vec()); let events =get_storage::< Vec::Hash>> - >(&client, params!{ key, hash }).await?.unwrap_or_default(); + >(client, params!{ key, hash }).await?.unwrap_or_default(); log::info!(target: LOG_TARGET, "events at inclusion {:?}", events); } TransactionStatus::Retracted(hash) => {