From 1217e2021935007e67d7d35f6b1e51fbc0e53c4e Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 4 Apr 2023 12:57:58 +0100 Subject: [PATCH 01/50] set MaxPermanentSlots and MaxTemporarySlots with a extrinsic instead of a constant --- runtime/common/src/assigned_slots.rs | 123 ++++++++++++++++++++++++--- 1 file changed, 109 insertions(+), 14 deletions(-) diff --git a/runtime/common/src/assigned_slots.rs b/runtime/common/src/assigned_slots.rs index d766b08e7329..4cb1877af0c6 100644 --- a/runtime/common/src/assigned_slots.rs +++ b/runtime/common/src/assigned_slots.rs @@ -104,14 +104,6 @@ pub mod pallet { #[pallet::constant] type TemporarySlotLeasePeriodLength: Get; - /// The max number of permanent slots that can be assigned. - #[pallet::constant] - type MaxPermanentSlots: Get; - - /// The max number of temporary slots that can be assigned. - #[pallet::constant] - type MaxTemporarySlots: Get; - /// The max number of temporary slots to be scheduled per lease periods. #[pallet::constant] type MaxTemporarySlotPerLeasePeriod: Get; @@ -149,6 +141,16 @@ pub mod pallet { #[pallet::getter(fn active_temporary_slot_count)] pub type ActiveTemporarySlotCount = StorageValue<_, u32, ValueQuery>; + /// Assigned max temporary slots storage. + #[pallet::storage] + #[pallet::getter(fn max_temporary_slots)] + pub type MaxTemporarySlots = StorageValue<_, u32, ValueQuery>; + + /// Assigned max permanent slots storage. + #[pallet::storage] + #[pallet::getter(fn max_permanent_slots)] + pub type MaxPermanentSlots = StorageValue<_, u32, ValueQuery>; + #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { @@ -156,6 +158,10 @@ pub mod pallet { PermanentSlotAssigned(ParaId), /// A para was assigned a temporary parachain slot TemporarySlotAssigned(ParaId), + /// A maximum number of permanent slots has been assigned + MaxPermanentSlotsAssigned {slots: u32}, + /// A maximum number of temporary slots has been assigned + MaxTemporarySlotsAssigned {slots: u32}, } #[pallet::error] @@ -228,7 +234,7 @@ pub mod pallet { ); ensure!( - PermanentSlotCount::::get() < T::MaxPermanentSlots::get(), + PermanentSlotCount::::get() < MaxPermanentSlots::::get(), Error::::MaxPermanentSlotsExceeded ); @@ -291,7 +297,7 @@ pub mod pallet { ); ensure!( - TemporarySlotCount::::get() < T::MaxTemporarySlots::get(), + TemporarySlotCount::::get() < MaxTemporarySlots::::get(), Error::::MaxTemporarySlotsExceeded ); @@ -386,6 +392,37 @@ pub mod pallet { Ok(()) } + + // TODO: Benchmark this + /// Assign a max permanent slot number. + #[pallet::call_index(3)] + #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] + pub fn set_max_permanent_slots(origin: OriginFor, slots: u32) -> DispatchResultWithPostInfo { + ensure_root(origin)?; + + >::put(slots); + + // Emit an event. + Self::deposit_event(Event::::MaxPermanentSlotsAssigned {slots}); + // Return a successful DispatchResultWithPostInfo + Ok(().into()) + } + + // TODO: Benchmark this + /// Assign a max temporary slot number. + #[pallet::call_index(4)] + #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] + pub fn set_max_temporary_slots(origin: OriginFor, slots: u32) -> DispatchResultWithPostInfo { + ensure_root(origin)?; + + >::put(slots); + + // Emit an event. + Self::deposit_event(Event::::MaxTemporarySlotsAssigned {slots}); + // Return a successful DispatchResultWithPostInfo + Ok(().into()) + } + } } @@ -673,8 +710,6 @@ mod tests { parameter_types! { pub const PermanentSlotLeasePeriodLength: u32 = 3; pub const TemporarySlotLeasePeriodLength: u32 = 2; - pub const MaxPermanentSlots: u32 = 2; - pub const MaxTemporarySlots: u32 = 6; pub const MaxTemporarySlotPerLeasePeriod: u32 = 2; } @@ -684,8 +719,6 @@ mod tests { type Leaser = Slots; type PermanentSlotLeasePeriodLength = PermanentSlotLeasePeriodLength; type TemporarySlotLeasePeriodLength = TemporarySlotLeasePeriodLength; - type MaxPermanentSlots = MaxPermanentSlots; - type MaxTemporarySlots = MaxTemporarySlots; type MaxTemporarySlotPerLeasePeriod = MaxTemporarySlotPerLeasePeriod; } @@ -724,6 +757,9 @@ mod tests { Slots::on_initialize(block); AssignedSlots::on_initialize(block); } + //Set the testing MaxTemporarySlots and MaxPermanentSlots values + AssignedSlots::set_max_temporary_slots(RuntimeOrigin::root(), 6).unwrap(); + AssignedSlots::set_max_permanent_slots(RuntimeOrigin::root(), 2).unwrap(); } #[test] @@ -1324,4 +1360,63 @@ mod tests { assert_eq!(Slots::already_leased(ParaId::from(1_u32), 0, 1), false); }); } + #[test] + fn set_max_permanent_slots_fails_for_no_root_origin() { + new_test_ext().execute_with(|| { + run_to_block(1); + + assert_noop!( + AssignedSlots::set_max_permanent_slots( + RuntimeOrigin::signed(1), + 5 + ), + BadOrigin + ); + }); + } + #[test] + fn set_max_permanent_slots_succeeds() { + new_test_ext().execute_with(|| { + run_to_block(1); + + assert_eq!(AssignedSlots::max_permanent_slots(), 2); + assert_ok!( + AssignedSlots::set_max_permanent_slots( + RuntimeOrigin::root(), + 10 + ), + ); + assert_eq!(AssignedSlots::max_permanent_slots(), 10); + }); + } + + #[test] + fn set_max_temporary_slots_fails_for_no_root_origin() { + new_test_ext().execute_with(|| { + run_to_block(1); + + assert_noop!( + AssignedSlots::set_max_temporary_slots( + RuntimeOrigin::signed(1), + 5 + ), + BadOrigin + ); + }); + } + #[test] + fn set_max_temporary_slots_succeeds() { + new_test_ext().execute_with(|| { + run_to_block(1); + + assert_eq!(AssignedSlots::max_temporary_slots(), 6); + assert_ok!( + AssignedSlots::set_max_temporary_slots( + RuntimeOrigin::root(), + 12 + ), + ); + assert_eq!(AssignedSlots::max_temporary_slots(), 12); + }); + } } From 8a0d7656d07c41560b77131eb592e62a421f00b7 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 4 Apr 2023 16:13:06 +0100 Subject: [PATCH 02/50] delete the MaxPermanentSlots and MaxTemporarySlots constants from config on Rococo and Westend --- runtime/rococo/src/lib.rs | 4 ---- runtime/westend/src/lib.rs | 4 ---- 2 files changed, 8 deletions(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 139a65c7347e..10a64fd46737 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1313,8 +1313,6 @@ impl paras_sudo_wrapper::Config for Runtime {} parameter_types! { pub const PermanentSlotLeasePeriodLength: u32 = 365; pub const TemporarySlotLeasePeriodLength: u32 = 3; - pub const MaxPermanentSlots: u32 = 40; - pub const MaxTemporarySlots: u32 = 40; pub const MaxTemporarySlotPerLeasePeriod: u32 = 5; } @@ -1324,8 +1322,6 @@ impl assigned_slots::Config for Runtime { type Leaser = Slots; type PermanentSlotLeasePeriodLength = PermanentSlotLeasePeriodLength; type TemporarySlotLeasePeriodLength = TemporarySlotLeasePeriodLength; - type MaxPermanentSlots = MaxPermanentSlots; - type MaxTemporarySlots = MaxTemporarySlots; type MaxTemporarySlotPerLeasePeriod = MaxTemporarySlotPerLeasePeriod; } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 722d12c8f1bd..91702157d7bc 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -946,8 +946,6 @@ impl paras_sudo_wrapper::Config for Runtime {} parameter_types! { pub const PermanentSlotLeasePeriodLength: u32 = 26; pub const TemporarySlotLeasePeriodLength: u32 = 1; - pub const MaxPermanentSlots: u32 = 5; - pub const MaxTemporarySlots: u32 = 20; pub const MaxTemporarySlotPerLeasePeriod: u32 = 5; } @@ -957,8 +955,6 @@ impl assigned_slots::Config for Runtime { type Leaser = Slots; type PermanentSlotLeasePeriodLength = PermanentSlotLeasePeriodLength; type TemporarySlotLeasePeriodLength = TemporarySlotLeasePeriodLength; - type MaxPermanentSlots = MaxPermanentSlots; - type MaxTemporarySlots = MaxTemporarySlots; type MaxTemporarySlotPerLeasePeriod = MaxTemporarySlotPerLeasePeriod; } From 2d7f78ff85c554703ad97a6ec26f421b3d58be10 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Fri, 12 May 2023 11:48:21 +0200 Subject: [PATCH 03/50] migration code for assigned slots --- .../common/src/assigned_slots/migration.rs | 39 +++++++++++++++++++ .../mod.rs} | 9 +++++ 2 files changed, 48 insertions(+) create mode 100644 runtime/common/src/assigned_slots/migration.rs rename runtime/common/src/{assigned_slots.rs => assigned_slots/mod.rs} (99%) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs new file mode 100644 index 000000000000..6dd8962deaa8 --- /dev/null +++ b/runtime/common/src/assigned_slots/migration.rs @@ -0,0 +1,39 @@ +// Copyright (C) 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 . + +use super::*; +use frame_support::{ + traits::{Get, StorageVersion, GetStorageVersion}, + weights::Weight, +}; +// simply add into the storage the MaxPermanentSlots and MaxTemporarySlots set on the old migration +pub fn migrate_to_v2() -> Weight { + let onchain_version = Pallet::::on_chain_storage_version(); + if onchain_version < 2 { + const MAX_PERMANENT_SLOTS: u32 = 100; + const MAX_TEMPORARY_SLOTS: u32 = 100; + + >::put(MAX_PERMANENT_SLOTS); + >::put(MAX_TEMPORARY_SLOTS); + // Update storage version. + StorageVersion::new(2).put::>(); + // Return the weight consumed by the migration. + T::DbWeight::get().reads_writes(1, 3) + } + else{ + Weight::zero() + } +} \ No newline at end of file diff --git a/runtime/common/src/assigned_slots.rs b/runtime/common/src/assigned_slots/mod.rs similarity index 99% rename from runtime/common/src/assigned_slots.rs rename to runtime/common/src/assigned_slots/mod.rs index f0a98be10232..e2235a46a9d3 100644 --- a/runtime/common/src/assigned_slots.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -23,6 +23,8 @@ //! This pallet should not be used on a production relay chain, //! only on a test relay chain (e.g. Rococo). +mod migration; + use crate::{ slots::{self, Pallet as Slots, WeightInfo}, traits::{LeaseError, Leaser, Registrar}, @@ -77,7 +79,11 @@ type LeasePeriodOf = pub mod pallet { use super::*; + /// The current storage version. + const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); + #[pallet::pallet] + #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(_); #[pallet::config] @@ -199,6 +205,9 @@ pub mod pallet { // We didn't return early above, so we didn't do anything. Weight::zero() } + fn on_runtime_upgrade() -> frame_support::weights::Weight { + migration::migrate_to_v2::() + } } #[pallet::call] From ef0225945621359fb81e76a731ed327db4667d02 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 16 May 2023 12:38:59 +0200 Subject: [PATCH 04/50] remove getters --- runtime/common/src/assigned_slots/mod.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index e2235a46a9d3..d5ac3d604ad5 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -149,12 +149,10 @@ pub mod pallet { /// Assigned max temporary slots storage. #[pallet::storage] - #[pallet::getter(fn max_temporary_slots)] pub type MaxTemporarySlots = StorageValue<_, u32, ValueQuery>; /// Assigned max permanent slots storage. #[pallet::storage] - #[pallet::getter(fn max_permanent_slots)] pub type MaxPermanentSlots = StorageValue<_, u32, ValueQuery>; #[pallet::event] @@ -1388,14 +1386,14 @@ mod tests { new_test_ext().execute_with(|| { run_to_block(1); - assert_eq!(AssignedSlots::max_permanent_slots(), 2); + assert_eq!(MaxPermanentSlots::::get(), 2); assert_ok!( AssignedSlots::set_max_permanent_slots( RuntimeOrigin::root(), 10 ), ); - assert_eq!(AssignedSlots::max_permanent_slots(), 10); + assert_eq!(MaxPermanentSlots::::get(), 10); }); } @@ -1418,14 +1416,14 @@ mod tests { new_test_ext().execute_with(|| { run_to_block(1); - assert_eq!(AssignedSlots::max_temporary_slots(), 6); + assert_eq!(MaxTemporarySlots::::get(), 6); assert_ok!( AssignedSlots::set_max_temporary_slots( RuntimeOrigin::root(), 12 ), ); - assert_eq!(AssignedSlots::max_temporary_slots(), 12); + assert_eq!(MaxTemporarySlots::::get(), 12); }); } } From c1792f265cec59f05fd8f8b01fd5b9a253e05a23 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 16 May 2023 12:43:48 +0200 Subject: [PATCH 05/50] little refactor --- runtime/common/src/assigned_slots/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index d5ac3d604ad5..79054f36a152 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -404,30 +404,30 @@ pub mod pallet { /// Assign a max permanent slot number. #[pallet::call_index(3)] #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] - pub fn set_max_permanent_slots(origin: OriginFor, slots: u32) -> DispatchResultWithPostInfo { + pub fn set_max_permanent_slots(origin: OriginFor, slots: u32) -> DispatchResult { ensure_root(origin)?; >::put(slots); // Emit an event. Self::deposit_event(Event::::MaxPermanentSlotsAssigned {slots}); - // Return a successful DispatchResultWithPostInfo - Ok(().into()) + // Return a successful DispatchResult + Ok(()) } // TODO: Benchmark this /// Assign a max temporary slot number. #[pallet::call_index(4)] #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] - pub fn set_max_temporary_slots(origin: OriginFor, slots: u32) -> DispatchResultWithPostInfo { + pub fn set_max_temporary_slots(origin: OriginFor, slots: u32) -> DispatchResult { ensure_root(origin)?; >::put(slots); // Emit an event. Self::deposit_event(Event::::MaxTemporarySlotsAssigned {slots}); - // Return a successful DispatchResultWithPostInfo - Ok(().into()) + // Return a successful DispatchResult + Ok(()) } } From 89992b1ff7e8cd63a77bce43e3c670a4d8a80a3b Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Wed, 17 May 2023 09:54:55 +0100 Subject: [PATCH 06/50] set values in the GenesisConfig --- runtime/common/src/assigned_slots/mod.rs | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 79054f36a152..77e89572b266 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -155,6 +155,21 @@ pub mod pallet { #[pallet::storage] pub type MaxPermanentSlots = StorageValue<_, u32, ValueQuery>; + #[pallet::genesis_config] + #[derive(Default)] + pub struct GenesisConfig { + pub max_temporary_slots: u32, + pub max_permanent_slots: u32, + } + + #[pallet::genesis_build] + impl GenesisBuild for GenesisConfig { + fn build(&self) { + >::put(&self.max_permanent_slots); + >::put(&self.max_temporary_slots); + } + } + #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { @@ -738,6 +753,12 @@ mod tests { } .assimilate_storage(&mut t) .unwrap(); + + GenesisBuild::::assimilate_storage(&crate::assigned_slots::GenesisConfig { + max_temporary_slots: 6, + max_permanent_slots: 2, + }, &mut t).unwrap(); + t.into() } @@ -764,9 +785,6 @@ mod tests { Slots::on_initialize(block); AssignedSlots::on_initialize(block); } - //Set the testing MaxTemporarySlots and MaxPermanentSlots values - AssignedSlots::set_max_temporary_slots(RuntimeOrigin::root(), 6).unwrap(); - AssignedSlots::set_max_permanent_slots(RuntimeOrigin::root(), 2).unwrap(); } #[test] From f68e45a2faab6d9156c82ea1067822c046a1b1d0 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Wed, 17 May 2023 13:04:41 +0100 Subject: [PATCH 07/50] refactor in the migration, adding it in the rococo runtime --- .../common/src/assigned_slots/migration.rs | 54 +++++++++++------- runtime/common/src/assigned_slots/mod.rs | 56 +++++++------------ runtime/rococo/src/lib.rs | 4 +- 3 files changed, 58 insertions(+), 56 deletions(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 6dd8962deaa8..48bcef5412b5 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -16,24 +16,40 @@ use super::*; use frame_support::{ - traits::{Get, StorageVersion, GetStorageVersion}, + traits::{Get, GetStorageVersion, OnRuntimeUpgrade, StorageVersion}, weights::Weight, }; -// simply add into the storage the MaxPermanentSlots and MaxTemporarySlots set on the old migration -pub fn migrate_to_v2() -> Weight { - let onchain_version = Pallet::::on_chain_storage_version(); - if onchain_version < 2 { - const MAX_PERMANENT_SLOTS: u32 = 100; - const MAX_TEMPORARY_SLOTS: u32 = 100; - - >::put(MAX_PERMANENT_SLOTS); - >::put(MAX_TEMPORARY_SLOTS); - // Update storage version. - StorageVersion::new(2).put::>(); - // Return the weight consumed by the migration. - T::DbWeight::get().reads_writes(1, 3) - } - else{ - Weight::zero() - } -} \ No newline at end of file + + +pub struct MigrateToV1(sp_std::marker::PhantomData); +impl OnRuntimeUpgrade for MigrateToV1 { + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result, &'static str> { + Ok(Default::default()) + } + + fn on_runtime_upgrade() -> frame_support::weights::Weight { + let onchain_version = Pallet::::on_chain_storage_version(); + if onchain_version < 1 { + const MAX_PERMANENT_SLOTS: u32 = 100; + const MAX_TEMPORARY_SLOTS: u32 = 100; + + >::put(MAX_PERMANENT_SLOTS); + >::put(MAX_TEMPORARY_SLOTS); + // Update storage version. + StorageVersion::new(1).put::>(); + // Return the weight consumed by the migration. + T::DbWeight::get().reads_writes(1, 3) + } else { + Weight::zero() + } + } + + #[cfg(feature = "try-runtime")] + fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + let onchain_version = Pallet::::on_chain_storage_version(); + ensure!(onchain == 1, "assigned_slots::MigrateToV1 needs to be run"); + Ok(()) + } +} + diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 77e89572b266..f229ed70bcd3 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -23,7 +23,7 @@ //! This pallet should not be used on a production relay chain, //! only on a test relay chain (e.g. Rococo). -mod migration; +pub mod migration; use crate::{ slots::{self, Pallet as Slots, WeightInfo}, @@ -166,7 +166,7 @@ pub mod pallet { impl GenesisBuild for GenesisConfig { fn build(&self) { >::put(&self.max_permanent_slots); - >::put(&self.max_temporary_slots); + >::put(&self.max_temporary_slots); } } @@ -178,9 +178,9 @@ pub mod pallet { /// A para was assigned a temporary parachain slot TemporarySlotAssigned(ParaId), /// A maximum number of permanent slots has been assigned - MaxPermanentSlotsAssigned {slots: u32}, + MaxPermanentSlotsAssigned { slots: u32 }, /// A maximum number of temporary slots has been assigned - MaxTemporarySlotsAssigned {slots: u32}, + MaxTemporarySlotsAssigned { slots: u32 }, } #[pallet::error] @@ -218,9 +218,6 @@ pub mod pallet { // We didn't return early above, so we didn't do anything. Weight::zero() } - fn on_runtime_upgrade() -> frame_support::weights::Weight { - migration::migrate_to_v2::() - } } #[pallet::call] @@ -425,7 +422,7 @@ pub mod pallet { >::put(slots); // Emit an event. - Self::deposit_event(Event::::MaxPermanentSlotsAssigned {slots}); + Self::deposit_event(Event::::MaxPermanentSlotsAssigned { slots }); // Return a successful DispatchResult Ok(()) } @@ -440,11 +437,10 @@ pub mod pallet { >::put(slots); // Emit an event. - Self::deposit_event(Event::::MaxTemporarySlotsAssigned {slots}); + Self::deposit_event(Event::::MaxTemporarySlotsAssigned { slots }); // Return a successful DispatchResult Ok(()) - } - + } } } @@ -753,11 +749,15 @@ mod tests { } .assimilate_storage(&mut t) .unwrap(); - - GenesisBuild::::assimilate_storage(&crate::assigned_slots::GenesisConfig { - max_temporary_slots: 6, - max_permanent_slots: 2, - }, &mut t).unwrap(); + + GenesisBuild::::assimilate_storage( + &crate::assigned_slots::GenesisConfig { + max_temporary_slots: 6, + max_permanent_slots: 2, + }, + &mut t, + ) + .unwrap(); t.into() } @@ -1391,10 +1391,7 @@ mod tests { run_to_block(1); assert_noop!( - AssignedSlots::set_max_permanent_slots( - RuntimeOrigin::signed(1), - 5 - ), + AssignedSlots::set_max_permanent_slots(RuntimeOrigin::signed(1), 5), BadOrigin ); }); @@ -1405,12 +1402,7 @@ mod tests { run_to_block(1); assert_eq!(MaxPermanentSlots::::get(), 2); - assert_ok!( - AssignedSlots::set_max_permanent_slots( - RuntimeOrigin::root(), - 10 - ), - ); + assert_ok!(AssignedSlots::set_max_permanent_slots(RuntimeOrigin::root(), 10),); assert_eq!(MaxPermanentSlots::::get(), 10); }); } @@ -1421,10 +1413,7 @@ mod tests { run_to_block(1); assert_noop!( - AssignedSlots::set_max_temporary_slots( - RuntimeOrigin::signed(1), - 5 - ), + AssignedSlots::set_max_temporary_slots(RuntimeOrigin::signed(1), 5), BadOrigin ); }); @@ -1435,12 +1424,7 @@ mod tests { run_to_block(1); assert_eq!(MaxTemporarySlots::::get(), 6); - assert_ok!( - AssignedSlots::set_max_temporary_slots( - RuntimeOrigin::root(), - 12 - ), - ); + assert_ok!(AssignedSlots::set_max_temporary_slots(RuntimeOrigin::root(), 12),); assert_eq!(MaxTemporarySlots::::get(), 12); }); } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index c86b63d5e4e4..feaf87ed9e78 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1491,7 +1491,9 @@ pub mod migrations { ); /// Unreleased migrations. Add new ones here: - pub type Unreleased = (); + pub type Unreleased = ( + assigned_slots::migration::MigrateToV1, + ); } /// Executive: handles dispatch to the various modules. From 9bc0f07ef5c4e050a161b02492163ed39cc606d2 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Wed, 17 May 2023 13:07:23 +0100 Subject: [PATCH 08/50] refactor: fmt --- runtime/common/src/assigned_slots/migration.rs | 2 -- runtime/rococo/src/lib.rs | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 48bcef5412b5..6eadf41c8810 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -20,7 +20,6 @@ use frame_support::{ weights::Weight, }; - pub struct MigrateToV1(sp_std::marker::PhantomData); impl OnRuntimeUpgrade for MigrateToV1 { #[cfg(feature = "try-runtime")] @@ -52,4 +51,3 @@ impl OnRuntimeUpgrade for MigrateToV1 { Ok(()) } } - diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index feaf87ed9e78..882442b6de5b 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1491,9 +1491,7 @@ pub mod migrations { ); /// Unreleased migrations. Add new ones here: - pub type Unreleased = ( - assigned_slots::migration::MigrateToV1, - ); + pub type Unreleased = (assigned_slots::migration::MigrateToV1,); } /// Executive: handles dispatch to the various modules. From d189c76ba5f25cc02206a81196564971bbb343b0 Mon Sep 17 00:00:00 2001 From: al3mart <11448715+al3mart@users.noreply.github.com> Date: Thu, 18 May 2023 18:14:16 +0200 Subject: [PATCH 09/50] Minor fix --- runtime/common/src/assigned_slots/migration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 6eadf41c8810..0577f2d29049 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -47,7 +47,7 @@ impl OnRuntimeUpgrade for MigrateToV1 { #[cfg(feature = "try-runtime")] fn post_upgrade(_state: Vec) -> Result<(), &'static str> { let onchain_version = Pallet::::on_chain_storage_version(); - ensure!(onchain == 1, "assigned_slots::MigrateToV1 needs to be run"); + ensure!(onchain_version == 1, "assigned_slots::MigrateToV1 needs to be run"); Ok(()) } } From 2bbbda737cfb5b320c4b4339867b7e720c5f4c9c Mon Sep 17 00:00:00 2001 From: al3mart <11448715+al3mart@users.noreply.github.com> Date: Thu, 18 May 2023 19:57:35 +0200 Subject: [PATCH 10/50] pre_upgrade check --- runtime/common/src/assigned_slots/migration.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 0577f2d29049..878a6a74cc10 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -24,6 +24,8 @@ pub struct MigrateToV1(sp_std::marker::PhantomData); impl OnRuntimeUpgrade for MigrateToV1 { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, &'static str> { + let onchain_version = Pallet::::on_chain_storage_version(); + ensure!(onchain_version < 1, "assigned_slots::MigrateToV1 migration can be deleted"); Ok(Default::default()) } From 81e269c8faa69cdf2809a97dae409cb8ef8b2e74 Mon Sep 17 00:00:00 2001 From: al3mart <11448715+al3mart@users.noreply.github.com> Date: Thu, 18 May 2023 20:25:03 +0200 Subject: [PATCH 11/50] add migration to mod v1 --- .../common/src/assigned_slots/migration.rs | 65 ++++++++++--------- runtime/rococo/src/lib.rs | 2 +- 2 files changed, 36 insertions(+), 31 deletions(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 878a6a74cc10..11189736929b 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -14,42 +14,47 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use super::*; +use super::{Config, MaxPermanentSlots, MaxTemporarySlots, Pallet}; use frame_support::{ - traits::{Get, GetStorageVersion, OnRuntimeUpgrade, StorageVersion}, + dispatch::GetStorageVersion, + traits::{Get, OnRuntimeUpgrade, StorageVersion}, weights::Weight, }; -pub struct MigrateToV1(sp_std::marker::PhantomData); -impl OnRuntimeUpgrade for MigrateToV1 { - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { - let onchain_version = Pallet::::on_chain_storage_version(); - ensure!(onchain_version < 1, "assigned_slots::MigrateToV1 migration can be deleted"); - Ok(Default::default()) - } +pub mod v1 { - fn on_runtime_upgrade() -> frame_support::weights::Weight { - let onchain_version = Pallet::::on_chain_storage_version(); - if onchain_version < 1 { - const MAX_PERMANENT_SLOTS: u32 = 100; - const MAX_TEMPORARY_SLOTS: u32 = 100; - - >::put(MAX_PERMANENT_SLOTS); - >::put(MAX_TEMPORARY_SLOTS); - // Update storage version. - StorageVersion::new(1).put::>(); - // Return the weight consumed by the migration. - T::DbWeight::get().reads_writes(1, 3) - } else { - Weight::zero() + use super::*; + pub struct MigrateToV1(sp_std::marker::PhantomData); + impl OnRuntimeUpgrade for MigrateToV1 { + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result, &'static str> { + let onchain_version = Pallet::::on_chain_storage_version(); + ensure!(onchain_version < 1, "assigned_slots::MigrateToV1 migration can be deleted"); + Ok(Default::default()) } - } - #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { - let onchain_version = Pallet::::on_chain_storage_version(); - ensure!(onchain_version == 1, "assigned_slots::MigrateToV1 needs to be run"); - Ok(()) + fn on_runtime_upgrade() -> frame_support::weights::Weight { + let onchain_version = Pallet::::on_chain_storage_version(); + if onchain_version < 1 { + const MAX_PERMANENT_SLOTS: u32 = 100; + const MAX_TEMPORARY_SLOTS: u32 = 100; + + >::put(MAX_PERMANENT_SLOTS); + >::put(MAX_TEMPORARY_SLOTS); + // Update storage version. + StorageVersion::new(1).put::>(); + // Return the weight consumed by the migration. + T::DbWeight::get().reads_writes(1, 3) + } else { + Weight::zero() + } + } + + #[cfg(feature = "try-runtime")] + fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + let onchain_version = Pallet::::on_chain_storage_version(); + ensure!(onchain_version == 1, "assigned_slots::MigrateToV1 needs to be run"); + Ok(()) + } } } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 882442b6de5b..eb594b996693 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1491,7 +1491,7 @@ pub mod migrations { ); /// Unreleased migrations. Add new ones here: - pub type Unreleased = (assigned_slots::migration::MigrateToV1,); + pub type Unreleased = (assigned_slots::migration::v1::MigrateToV1,); } /// Executive: handles dispatch to the various modules. From 09c691b9d531d541f5a9a61525314c998503ec00 Mon Sep 17 00:00:00 2001 From: al3mart <11448715+al3mart@users.noreply.github.com> Date: Thu, 18 May 2023 20:31:35 +0200 Subject: [PATCH 12/50] Logs following Substrate#12873 --- .../common/src/assigned_slots/migration.rs | 4 +++- runtime/common/src/assigned_slots/mod.rs | 22 ++++++++++++++----- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 11189736929b..79643e9afc31 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use super::{Config, MaxPermanentSlots, MaxTemporarySlots, Pallet}; +use super::{Config, MaxPermanentSlots, MaxTemporarySlots, Pallet, LOG_TARGET}; use frame_support::{ dispatch::GetStorageVersion, traits::{Get, OnRuntimeUpgrade, StorageVersion}, @@ -46,6 +46,8 @@ pub mod v1 { // Return the weight consumed by the migration. T::DbWeight::get().reads_writes(1, 3) } else { + log::info!(target: LOG_TARGET, "assigned_slots::MigrateToV1 should be removed"); + Weight::zero() } } diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index f229ed70bcd3..6b0cafa63c19 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -43,6 +43,8 @@ use scale_info::TypeInfo; use sp_runtime::traits::{One, Saturating, Zero}; use sp_std::prelude::*; +const LOG_TARGET: &str = "runtime::assigned_slots"; + /// Lease period an assigned slot should start from (current, or next one). #[derive(Encode, Decode, Clone, Copy, Eq, PartialEq, RuntimeDebug, TypeInfo)] pub enum SlotLeasePeriodStart { @@ -349,9 +351,12 @@ pub mod pallet { Err(err) => { // Treat failed lease creation as warning .. slot will be allocated a lease // in a subsequent lease period by the `allocate_temporary_slot_leases` function. - log::warn!(target: "assigned_slots", + log::warn!( + target: LOG_TARGET, "Failed to allocate a temp slot for para {:?} at period {:?}: {:?}", - id, current_lease_period, err + id, + current_lease_period, + err ); }, } @@ -402,9 +407,12 @@ pub mod pallet { // Treat failed downgrade as warning .. slot lease has been cleared, // so the parachain will be downgraded anyway by the slots pallet // at the end of the lease period . - log::warn!(target: "assigned_slots", + log::warn!( + target: LOG_TARGET, "Failed to downgrade parachain {:?} at period {:?}: {:?}", - id, Self::current_lease_period_index(), err + id, + Self::current_lease_period_index(), + err ); } } @@ -583,9 +591,11 @@ impl Pallet { fn manage_lease_period_start(lease_period_index: LeasePeriodOf) -> Weight { // Note: leases that have ended in previous lease period, should have been cleaned in slots pallet. if let Err(err) = Self::allocate_temporary_slot_leases(lease_period_index) { - log::error!(target: "assigned_slots", + log::error!( + target: LOG_TARGET, "Allocating slots failed for lease period {:?}, with: {:?}", - lease_period_index, err + lease_period_index, + err ); } ::WeightInfo::force_lease() * From 110ff1d2afe20b7f9a7cdda6a8ec76d5a0e23219 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Fri, 19 May 2023 08:59:23 +0100 Subject: [PATCH 13/50] fix: current storage version set to 1 --- runtime/common/src/assigned_slots/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 6b0cafa63c19..291c6fb50823 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -82,7 +82,7 @@ pub mod pallet { use super::*; /// The current storage version. - const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); + const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] From e77d8d7e126b22a2db7a7ba9874f1655c4c133c6 Mon Sep 17 00:00:00 2001 From: al3mart <11448715+al3mart@users.noreply.github.com> Date: Fri, 19 May 2023 15:24:26 +0200 Subject: [PATCH 14/50] use enact when try-runtime --- runtime/common/src/assigned_slots/migration.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 79643e9afc31..caa3371401d2 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -21,6 +21,9 @@ use frame_support::{ weights::Weight, }; +#[cfg(feature = "try-runtime")] +use frame_support::ensure; + pub mod v1 { use super::*; From 98b2a38e086e1a00195e75b0c15c4b296e9622ff Mon Sep 17 00:00:00 2001 From: al3mart <11448715+al3mart@users.noreply.github.com> Date: Mon, 22 May 2023 09:53:35 +0200 Subject: [PATCH 15/50] Vec seems to be missing --- runtime/common/src/assigned_slots/migration.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index caa3371401d2..c68234fd2632 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -23,6 +23,7 @@ use frame_support::{ #[cfg(feature = "try-runtime")] use frame_support::ensure; +use sp_std::vec::Vec; pub mod v1 { From eccbe046ccf8625bbec427f161149582952ad07c Mon Sep 17 00:00:00 2001 From: al3mart <11448715+al3mart@users.noreply.github.com> Date: Mon, 22 May 2023 10:57:59 +0200 Subject: [PATCH 16/50] feature gate import --- runtime/common/src/assigned_slots/migration.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index c68234fd2632..5630c809583d 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -23,6 +23,7 @@ use frame_support::{ #[cfg(feature = "try-runtime")] use frame_support::ensure; +#[cfg(feature = "try-runtime")] use sp_std::vec::Vec; pub mod v1 { From 4fedca43a7ba40bdeee010c6b225135215b6abe8 Mon Sep 17 00:00:00 2001 From: al3mart <11448715+al3mart@users.noreply.github.com> Date: Tue, 13 Jun 2023 12:38:04 +0200 Subject: [PATCH 17/50] fix as per #13993 --- runtime/common/src/assigned_slots/migration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 5630c809583d..59ae55f0fa53 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -32,7 +32,7 @@ pub mod v1 { pub struct MigrateToV1(sp_std::marker::PhantomData); impl OnRuntimeUpgrade for MigrateToV1 { #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { let onchain_version = Pallet::::on_chain_storage_version(); ensure!(onchain_version < 1, "assigned_slots::MigrateToV1 migration can be deleted"); Ok(Default::default()) @@ -58,7 +58,7 @@ pub mod v1 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), sp_runtime::TryRuntimeError> { let onchain_version = Pallet::::on_chain_storage_version(); ensure!(onchain_version == 1, "assigned_slots::MigrateToV1 needs to be run"); Ok(()) From 25f1d71e22f22228efe75596f52b254700f0e59d Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Tue, 13 Jun 2023 15:53:50 +0200 Subject: [PATCH 18/50] address comments Co-authored-by: Oliver Tale-Yazdi --- runtime/common/src/assigned_slots/migration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 59ae55f0fa53..8948f16946e4 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -51,7 +51,7 @@ pub mod v1 { // Return the weight consumed by the migration. T::DbWeight::get().reads_writes(1, 3) } else { - log::info!(target: LOG_TARGET, "assigned_slots::MigrateToV1 should be removed"); + log::info!(target: LOG_TARGET, "MigrateToV1 should be removed"); Weight::zero() } From 86b4e8fff3fbeeb1abe7b1c1133c5e50a4745c3a Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Tue, 13 Jun 2023 15:54:03 +0200 Subject: [PATCH 19/50] address comments Co-authored-by: Oliver Tale-Yazdi --- runtime/common/src/assigned_slots/migration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 8948f16946e4..52e23309bb47 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -53,7 +53,7 @@ pub mod v1 { } else { log::info!(target: LOG_TARGET, "MigrateToV1 should be removed"); - Weight::zero() + T::DbWeight::get().reads(1) } } From 685409449c2f56271c4ee5149086eb3dcb9e4497 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 4 Jul 2023 10:26:28 +0200 Subject: [PATCH 20/50] benchmarking for assign_perm_parachain_slot extrinsic --- .../common/src/assigned_slots/benchmarking.rs | 51 +++++++++++++++++++ .../common/src/assigned_slots/migration.rs | 3 +- runtime/common/src/assigned_slots/mod.rs | 1 + 3 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 runtime/common/src/assigned_slots/benchmarking.rs diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs new file mode 100644 index 000000000000..91474cfc6bb0 --- /dev/null +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -0,0 +1,51 @@ +//! Benchmarking setup for pallet-template +#![cfg(feature = "runtime-benchmarks")] +use super::{Pallet as AssignedSlots, *}; + +use frame_benchmarking::v2::*; +use frame_system::RawOrigin; +use primitives::Id as ParaId; +use frame_support::{assert_ok}; + +#[benchmarks] + mod benchmarks { + use super::*; + use crate::{mock::TestRegistrar}; + use ::test_helpers::{dummy_head_data, dummy_validation_code}; + + fn register_parachain(para_id: ParaId) { + let caller: T::AccountId = whitelisted_caller(); + assert_ok!(TestRegistrar::::register( + caller, + para_id, + dummy_head_data(), + dummy_validation_code(), + )); + } + + #[benchmark] + fn assign_perm_parachain_slot() { + let para_id = ParaId::from(2000_u32); + let caller = RawOrigin::Root; + register_parachain::(para_id); + + let counter = PermanentSlotCount::::get(); + let current_lease_period: T::BlockNumber = T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) + .and_then(|x| Some(x.0)) + .unwrap(); + #[extrinsic_call] + assign_perm_parachain_slot(caller, para_id); + + + assert_eq!(PermanentSlots::::get(para_id), Some(( + current_lease_period, + LeasePeriodOf::::from(T::PermanentSlotLeasePeriodLength::get()), + ))); + assert_eq!(PermanentSlotCount::::get(), counter + 1); + } + + impl_benchmark_test_suite!(AssignedSlots, + crate::assigned_slots::tests::new_test_ext(), + crate::assigned_slots::tests::Test + ); +} diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 52e23309bb47..73f50a4785db 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -17,8 +17,7 @@ use super::{Config, MaxPermanentSlots, MaxTemporarySlots, Pallet, LOG_TARGET}; use frame_support::{ dispatch::GetStorageVersion, - traits::{Get, OnRuntimeUpgrade, StorageVersion}, - weights::Weight, + traits::{Get, OnRuntimeUpgrade, StorageVersion} }; #[cfg(feature = "try-runtime")] diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index b8c1920a487e..d84e9f81fd0d 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -24,6 +24,7 @@ //! only on a test relay chain (e.g. Rococo). pub mod migration; +pub mod benchmarking; use crate::{ slots::{self, Pallet as Slots, WeightInfo}, From d95157fb925a8fa4decc215709af5dc10aad7e32 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 4 Jul 2023 14:14:15 +0200 Subject: [PATCH 21/50] benchmark all the extrinsics of the pallet --- .../common/src/assigned_slots/benchmarking.rs | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index 91474cfc6bb0..a5185539ba96 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -44,6 +44,65 @@ use frame_support::{assert_ok}; assert_eq!(PermanentSlotCount::::get(), counter + 1); } + #[benchmark] + fn assign_temp_parachain_slot() { + let para_id = ParaId::from(2001_u32); + let caller = RawOrigin::Root; + register_parachain::(para_id); + + let current_lease_period: T::BlockNumber = T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) + .and_then(|x| Some(x.0)) + .unwrap(); + + let counter = TemporarySlotCount::::get(); + #[extrinsic_call] + assign_temp_parachain_slot(caller, para_id, SlotLeasePeriodStart::Current); + + + let tmp = ParachainTemporarySlot { + manager: whitelisted_caller(), + period_begin: current_lease_period, + period_count: LeasePeriodOf::::from(T::TemporarySlotLeasePeriodLength::get()), + last_lease: Some(T::BlockNumber::zero()), + lease_count: 1 + }; + assert_eq!(TemporarySlots::::get(para_id), Some(tmp)); + assert_eq!(TemporarySlotCount::::get(), counter + 1); + } + + #[benchmark] + fn unassign_parachain_slot() { + let para_id = ParaId::from(2002_u32); + let caller = RawOrigin::Root; + register_parachain::(para_id); + let _ = AssignedSlots::::assign_temp_parachain_slot(caller.clone().into(), para_id, SlotLeasePeriodStart::Current); + + let counter = TemporarySlotCount::::get(); + #[extrinsic_call] + unassign_parachain_slot(caller, para_id); + + assert_eq!(TemporarySlots::::get(para_id), None); + assert_eq!(TemporarySlotCount::::get(), counter - 1); + } + + #[benchmark] + fn set_max_permanent_slots() { + let caller = RawOrigin::Root; + #[extrinsic_call] + set_max_permanent_slots(caller, u32::MAX); + + assert_eq!(MaxPermanentSlots::::get(), u32::MAX); + } + + #[benchmark] + fn set_max_temporary_slots() { + let caller = RawOrigin::Root; + #[extrinsic_call] + set_max_temporary_slots(caller, u32::MAX); + + assert_eq!(MaxTemporarySlots::::get(), u32::MAX); + } + impl_benchmark_test_suite!(AssignedSlots, crate::assigned_slots::tests::new_test_ext(), crate::assigned_slots::tests::Test From 3142816a5286d2b139d0c9037f67ffdbc89639d6 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Wed, 5 Jul 2023 08:37:05 +0200 Subject: [PATCH 22/50] cargo fmt for assigned slots --- .../common/src/assigned_slots/benchmarking.rs | 170 +++++++++--------- .../common/src/assigned_slots/migration.rs | 2 +- runtime/common/src/assigned_slots/mod.rs | 16 +- 3 files changed, 98 insertions(+), 90 deletions(-) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index a5185539ba96..450f3b1698db 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -3,89 +3,96 @@ use super::{Pallet as AssignedSlots, *}; use frame_benchmarking::v2::*; +use frame_support::assert_ok; use frame_system::RawOrigin; use primitives::Id as ParaId; -use frame_support::{assert_ok}; #[benchmarks] - mod benchmarks { - use super::*; - use crate::{mock::TestRegistrar}; - use ::test_helpers::{dummy_head_data, dummy_validation_code}; +mod benchmarks { + use super::*; + use crate::mock::TestRegistrar; + use ::test_helpers::{dummy_head_data, dummy_validation_code}; - fn register_parachain(para_id: ParaId) { - let caller: T::AccountId = whitelisted_caller(); + fn register_parachain(para_id: ParaId) { + let caller: T::AccountId = whitelisted_caller(); assert_ok!(TestRegistrar::::register( - caller, - para_id, - dummy_head_data(), - dummy_validation_code(), - )); + caller, + para_id, + dummy_head_data(), + dummy_validation_code(), + )); } - - #[benchmark] - fn assign_perm_parachain_slot() { - let para_id = ParaId::from(2000_u32); - let caller = RawOrigin::Root; - register_parachain::(para_id); - - let counter = PermanentSlotCount::::get(); - let current_lease_period: T::BlockNumber = T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) - .and_then(|x| Some(x.0)) - .unwrap(); - #[extrinsic_call] - assign_perm_parachain_slot(caller, para_id); - - - assert_eq!(PermanentSlots::::get(para_id), Some(( - current_lease_period, - LeasePeriodOf::::from(T::PermanentSlotLeasePeriodLength::get()), - ))); - assert_eq!(PermanentSlotCount::::get(), counter + 1); - } - - #[benchmark] - fn assign_temp_parachain_slot() { - let para_id = ParaId::from(2001_u32); - let caller = RawOrigin::Root; - register_parachain::(para_id); - - let current_lease_period: T::BlockNumber = T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) - .and_then(|x| Some(x.0)) - .unwrap(); - - let counter = TemporarySlotCount::::get(); - #[extrinsic_call] - assign_temp_parachain_slot(caller, para_id, SlotLeasePeriodStart::Current); - - - let tmp = ParachainTemporarySlot { - manager: whitelisted_caller(), - period_begin: current_lease_period, - period_count: LeasePeriodOf::::from(T::TemporarySlotLeasePeriodLength::get()), - last_lease: Some(T::BlockNumber::zero()), - lease_count: 1 - }; - assert_eq!(TemporarySlots::::get(para_id), Some(tmp)); - assert_eq!(TemporarySlotCount::::get(), counter + 1); - } - - #[benchmark] - fn unassign_parachain_slot() { - let para_id = ParaId::from(2002_u32); - let caller = RawOrigin::Root; - register_parachain::(para_id); - let _ = AssignedSlots::::assign_temp_parachain_slot(caller.clone().into(), para_id, SlotLeasePeriodStart::Current); - - let counter = TemporarySlotCount::::get(); - #[extrinsic_call] - unassign_parachain_slot(caller, para_id); - - assert_eq!(TemporarySlots::::get(para_id), None); - assert_eq!(TemporarySlotCount::::get(), counter - 1); - } - - #[benchmark] + + #[benchmark] + fn assign_perm_parachain_slot() { + let para_id = ParaId::from(2000_u32); + let caller = RawOrigin::Root; + register_parachain::(para_id); + + let counter = PermanentSlotCount::::get(); + let current_lease_period: T::BlockNumber = + T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) + .and_then(|x| Some(x.0)) + .unwrap(); + #[extrinsic_call] + assign_perm_parachain_slot(caller, para_id); + + assert_eq!( + PermanentSlots::::get(para_id), + Some(( + current_lease_period, + LeasePeriodOf::::from(T::PermanentSlotLeasePeriodLength::get()), + )) + ); + assert_eq!(PermanentSlotCount::::get(), counter + 1); + } + + #[benchmark] + fn assign_temp_parachain_slot() { + let para_id = ParaId::from(2001_u32); + let caller = RawOrigin::Root; + register_parachain::(para_id); + + let current_lease_period: T::BlockNumber = + T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) + .and_then(|x| Some(x.0)) + .unwrap(); + + let counter = TemporarySlotCount::::get(); + #[extrinsic_call] + assign_temp_parachain_slot(caller, para_id, SlotLeasePeriodStart::Current); + + let tmp = ParachainTemporarySlot { + manager: whitelisted_caller(), + period_begin: current_lease_period, + period_count: LeasePeriodOf::::from(T::TemporarySlotLeasePeriodLength::get()), + last_lease: Some(T::BlockNumber::zero()), + lease_count: 1, + }; + assert_eq!(TemporarySlots::::get(para_id), Some(tmp)); + assert_eq!(TemporarySlotCount::::get(), counter + 1); + } + + #[benchmark] + fn unassign_parachain_slot() { + let para_id = ParaId::from(2002_u32); + let caller = RawOrigin::Root; + register_parachain::(para_id); + let _ = AssignedSlots::::assign_temp_parachain_slot( + caller.clone().into(), + para_id, + SlotLeasePeriodStart::Current, + ); + + let counter = TemporarySlotCount::::get(); + #[extrinsic_call] + unassign_parachain_slot(caller, para_id); + + assert_eq!(TemporarySlots::::get(para_id), None); + assert_eq!(TemporarySlotCount::::get(), counter - 1); + } + + #[benchmark] fn set_max_permanent_slots() { let caller = RawOrigin::Root; #[extrinsic_call] @@ -94,7 +101,7 @@ use frame_support::{assert_ok}; assert_eq!(MaxPermanentSlots::::get(), u32::MAX); } - #[benchmark] + #[benchmark] fn set_max_temporary_slots() { let caller = RawOrigin::Root; #[extrinsic_call] @@ -103,8 +110,9 @@ use frame_support::{assert_ok}; assert_eq!(MaxTemporarySlots::::get(), u32::MAX); } - impl_benchmark_test_suite!(AssignedSlots, - crate::assigned_slots::tests::new_test_ext(), - crate::assigned_slots::tests::Test - ); + impl_benchmark_test_suite!( + AssignedSlots, + crate::assigned_slots::tests::new_test_ext(), + crate::assigned_slots::tests::Test + ); } diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 73f50a4785db..5a8d546a4220 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -17,7 +17,7 @@ use super::{Config, MaxPermanentSlots, MaxTemporarySlots, Pallet, LOG_TARGET}; use frame_support::{ dispatch::GetStorageVersion, - traits::{Get, OnRuntimeUpgrade, StorageVersion} + traits::{Get, OnRuntimeUpgrade, StorageVersion}, }; #[cfg(feature = "try-runtime")] diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index d84e9f81fd0d..66f6b5962438 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -23,8 +23,8 @@ //! This pallet should not be used on a production relay chain, //! only on a test relay chain (e.g. Rococo). -pub mod migration; pub mod benchmarking; +pub mod migration; use crate::{ slots::{self, Pallet as Slots, WeightInfo}, @@ -214,7 +214,7 @@ pub mod pallet { if let Some((lease_period, first_block)) = Self::lease_period_index(n) { // If we're beginning a new lease period then handle that. if first_block { - return Self::manage_lease_period_start(lease_period) + return Self::manage_lease_period_start(lease_period); } } @@ -334,8 +334,8 @@ pub mod pallet { lease_count: 0, }; - if lease_period_start == SlotLeasePeriodStart::Current && - Self::active_temporary_slot_count() < T::MaxTemporarySlotPerLeasePeriod::get() + if lease_period_start == SlotLeasePeriodStart::Current + && Self::active_temporary_slot_count() < T::MaxTemporarySlotPerLeasePeriod::get() { // Try to allocate slot directly match Self::configure_slot_lease( @@ -495,8 +495,8 @@ impl Pallet { }); let mut newly_created_lease = 0u32; - if active_temp_slots < T::MaxTemporarySlotPerLeasePeriod::get() && - !pending_temp_slots.is_empty() + if active_temp_slots < T::MaxTemporarySlotPerLeasePeriod::get() + && !pending_temp_slots.is_empty() { // Sort by lease_count, favoring slots that had no or less turns first // (then by last_lease index, and then Para ID) @@ -599,8 +599,8 @@ impl Pallet { err ); } - ::WeightInfo::force_lease() * - (T::MaxTemporarySlotPerLeasePeriod::get() as u64) + ::WeightInfo::force_lease() + * (T::MaxTemporarySlotPerLeasePeriod::get() as u64) } } From 2f36bb8a17d10e012d3ae0b896e187204b2b9279 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Wed, 5 Jul 2023 08:53:36 +0200 Subject: [PATCH 23/50] migration added for westend --- runtime/westend/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 66e55cc124e3..b9c2953ba350 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1319,7 +1319,9 @@ pub mod migrations { } /// Unreleased migrations. Add new ones here: - pub type Unreleased = (); + pub type Unreleased = ( + assigned_slots::migration::v1::MigrateToV1, + ); } /// Helpers to configure all migrations. From 9705b9d22ead5b1764ff91fb8a1644573b0bdf09 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Mon, 24 Jul 2023 14:48:06 +0200 Subject: [PATCH 24/50] licence in benchmarking file --- .../common/src/assigned_slots/benchmarking.rs | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index 450f3b1698db..4e8f0def5484 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -1,4 +1,20 @@ -//! Benchmarking setup for pallet-template +// Copyright (C) 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 . + +//! Benchmarking for assigned_slots pallet #![cfg(feature = "runtime-benchmarks")] use super::{Pallet as AssignedSlots, *}; From c04fb38110eeb03c5fd1be8cda3b9783fb965453 Mon Sep 17 00:00:00 2001 From: al3mart <11448715+al3mart@users.noreply.github.com> Date: Mon, 24 Jul 2023 18:13:48 +0200 Subject: [PATCH 25/50] BuildGenesisConfig --- Cargo.lock | 2935 +++++++++++----------- runtime/common/src/assigned_slots/mod.rs | 7 +- runtime/rococo/src/lib.rs | 2 +- runtime/westend/src/lib.rs | 2 +- 4 files changed, 1454 insertions(+), 1492 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ce5699a477bf..45ade75f4c30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -21,6 +21,15 @@ dependencies = [ "gimli", ] +[[package]] +name = "addr2line" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" +dependencies = [ + "gimli", +] + [[package]] name = "adler" version = "1.0.2" @@ -39,7 +48,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] @@ -48,7 +57,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", "rand_core 0.6.4", ] @@ -59,7 +68,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" dependencies = [ "crypto-common", - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] @@ -96,20 +105,6 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "aes-gcm" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5278b5fabbb9bd46e24aa69b2fdea62c99088e0a950a9be40e3e0101298f88da" -dependencies = [ - "aead 0.3.2", - "aes 0.6.0", - "cipher 0.2.5", - "ctr 0.6.0", - "ghash 0.3.1", - "subtle", -] - [[package]] name = "aes-gcm" version = "0.9.4" @@ -164,37 +159,52 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.8", + "getrandom 0.2.10", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf6ccdb167abbf410dcb915cabd428929d7f6a04980b54a11f26a39f1c7f7107" +checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if", - "getrandom 0.2.8", + "getrandom 0.2.10", "once_cell", "version_check", ] [[package]] name = "aho-corasick" -version = "0.7.18" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" dependencies = [ "memchr", ] [[package]] name = "always-assert" -version = "0.1.2" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4436e0292ab1bb631b42973c61205e704475fe8126af845c8d923c0996328127" + +[[package]] +name = "android-tzdata" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbf688625d06217d5b1bb0ea9d9c44a1635fd0ee3534466388d18203174f4d11" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] [[package]] name = "anes" @@ -228,15 +238,15 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d" +checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" [[package]] name = "anstyle-parse" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee" +checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" dependencies = [ "utf8parse", ] @@ -262,15 +272,15 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.69" +version = "1.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224afbd727c3d6e4b90103ece64b8d1b67fbb1973b1046c2281eed3f3803f800" +checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" [[package]] name = "approx" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "072df7202e63b127ab55acfe16ce97013d5b97bf160489336d3f1840fd78e99e" +checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" dependencies = [ "num-traits", ] @@ -291,9 +301,9 @@ dependencies = [ [[package]] name = "arbitrary" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29d47fbf90d5149a107494b15a7dc8d69b351be2db3bb9691740e88ec17fd880" +checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" [[package]] name = "arc-swap" @@ -309,9 +319,9 @@ checksum = "d9b1c5a481ec30a5abd8dfbd94ab5cf1bb4e9a66be7f1b3b322f2f1170c200fd" [[package]] name = "arrayref" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" +checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" [[package]] name = "arrayvec" @@ -321,9 +331,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "arrayvec" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "asn1-rs" @@ -338,14 +348,14 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.17", + "time 0.3.23", ] [[package]] name = "asn1-rs" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf6690c370453db30743b373a60ba498fc0d6d83b11f4abfd87a84a075db5dd4" +checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" dependencies = [ "asn1-rs-derive 0.4.0", "asn1-rs-impl", @@ -354,7 +364,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.17", + "time 0.3.23", ] [[package]] @@ -394,13 +404,14 @@ dependencies = [ [[package]] name = "assert_cmd" -version = "2.0.4" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93ae1ddd39efd67689deb1979d80bad3bf7f2b09c6e6117c8d1f2443b5e2f83e" +checksum = "88903cb14723e4d4003335bb7f8a14f27691649105346a0f0957466c096adfe6" dependencies = [ + "anstyle", "bstr", "doc-comment", - "predicates", + "predicates 3.0.3", "predicates-core", "predicates-tree", "wait-timeout", @@ -414,39 +425,40 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "async-channel" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" dependencies = [ - "concurrent-queue 2.1.0", + "concurrent-queue", "event-listener", "futures-core", ] [[package]] name = "async-io" -version = "1.6.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a811e6a479f2439f0c04038796b5cfb3d2ad56c230e0f2d3f7b04d68cfee607b" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" dependencies = [ - "concurrent-queue 1.2.2", + "async-lock", + "autocfg", + "cfg-if", + "concurrent-queue", "futures-lite", - "libc", "log", - "once_cell", "parking", "polling", + "rustix 0.37.23", "slab", - "socket2", + "socket2 0.4.9", "waker-fn", - "winapi", ] [[package]] name = "async-lock" -version = "2.4.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6a8ea61bf9947a1007c5cada31e647dbc77b103c679858150003ba697ea798b" +checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" dependencies = [ "event-listener", ] @@ -459,38 +471,38 @@ checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "async-trait" -version = "0.1.68" +version = "0.1.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" +checksum = "cc6dde6e4ed435a4c1ee4e73592f5ba9da2151af10076cc04858746af9352d09" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "asynchronous-codec" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06a0daa378f5fd10634e44b0a29b2a87b890657658e072a30d6f26e57ddee182" +checksum = "4057f2c32adbb2fc158e22fb38433c8e9bbf76b75a4732c7c0cbaf695fb65568" dependencies = [ "bytes", "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.10", ] [[package]] name = "atomic-waker" -version = "1.0.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a" +checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" [[package]] name = "atty" @@ -511,24 +523,24 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.67" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" +checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" dependencies = [ - "addr2line", + "addr2line 0.20.0", "cc", "cfg-if", "libc", - "miniz_oxide 0.6.2", - "object", + "miniz_oxide", + "object 0.31.1", "rustc-demangle", ] [[package]] name = "base-x" -version = "0.2.8" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b" +checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" [[package]] name = "base16ct" @@ -544,27 +556,36 @@ checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" [[package]] name = "base64" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" +checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.0" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" +checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" [[package]] name = "base64ct" -version = "1.5.2" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea2b2456fd614d856680dcd9fcc660a51a820fa09daef2e49772b56a193c8474" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + +[[package]] +name = "basic-toml" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bfc506e7a2370ec239e1d072507b2a80c833083699d3c6fa176fbb4de8448c6" +dependencies = [ + "serde", +] [[package]] name = "beef" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bed554bd50246729a1ec158d08aa3235d1b69d94ad120ebe187e28894787e736" +checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" dependencies = [ "serde", ] @@ -572,7 +593,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "hash-db", "log", @@ -593,19 +614,19 @@ version = "0.65.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cexpr", "clang-sys", "lazy_static", "lazycell", "peeking_take_while", - "prettyplease", + "prettyplease 0.2.12", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -614,6 +635,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" + [[package]] name = "bitvec" version = "1.0.1" @@ -632,7 +659,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -642,33 +669,33 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" dependencies = [ "arrayref", - "arrayvec 0.7.2", - "constant_time_eq 0.2.4", + "arrayvec 0.7.4", + "constant_time_eq 0.2.6", ] [[package]] name = "blake2s_simd" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db539cc2b5f6003621f1cd9ef92d7ded8ea5232c7de0f9faa2de251cd98730d4" +checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" dependencies = [ "arrayref", - "arrayvec 0.7.2", - "constant_time_eq 0.1.5", + "arrayvec 0.7.4", + "constant_time_eq 0.2.6", ] [[package]] name = "blake3" -version = "1.3.1" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a08e53fc5a564bb15bfe6fae56bd71522205f1f91893f9c0116edad6496c183f" +checksum = "199c42ab6972d92c9f8995f086273d25c42fc0f7b2a1fcefba465c1352d25ba5" dependencies = [ "arrayref", - "arrayvec 0.7.2", + "arrayvec 0.7.4", "cc", "cfg-if", - "constant_time_eq 0.1.5", - "digest 0.10.6", + "constant_time_eq 0.3.0", + "digest 0.10.7", ] [[package]] @@ -689,16 +716,16 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] name = "block-buffer" -version = "0.10.3" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] @@ -755,13 +782,13 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "0.2.17" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" +checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" dependencies = [ - "lazy_static", "memchr", - "regex-automata", + "regex-automata 0.3.3", + "serde", ] [[package]] @@ -775,9 +802,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.12.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byte-slice-cast" @@ -793,9 +820,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c041d3eab048880cb0b86b256447da3f18859a163c3b8d8893f4e6368abe6393" +checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" [[package]] name = "byteorder" @@ -820,26 +847,20 @@ dependencies = [ "pkg-config", ] -[[package]] -name = "cache-padded" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba" - [[package]] name = "camino" -version = "1.1.2" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77df041dc383319cc661b428b6961a005db4d6808d5e12536931b1ca9556055" +checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" dependencies = [ "serde", ] [[package]] name = "cargo-platform" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" +checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479" dependencies = [ "serde", ] @@ -852,7 +873,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.16", + "semver 1.0.18", "serde", "serde_json", "thiserror", @@ -895,9 +916,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.1" +version = "0.15.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8790cf1286da485c72cf5fc7aeba308438800036ec67d89425924c4807268c9" +checksum = "215c0072ecc28f92eeb0eea38ba63ddfcb65c2828c46311d646f1a3ff5f9841c" dependencies = [ "smallvec", ] @@ -941,22 +962,24 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.19" +version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" +checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ - "libc", - "num-integer", + "android-tzdata", + "iana-time-zone", + "js-sys", "num-traits", - "time 0.1.44", + "time 0.1.45", + "wasm-bindgen", "winapi", ] [[package]] name = "ciborium" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f" +checksum = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926" dependencies = [ "ciborium-io", "ciborium-ll", @@ -965,15 +988,15 @@ dependencies = [ [[package]] name = "ciborium-io" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369" +checksum = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656" [[package]] name = "ciborium-ll" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b" +checksum = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b" dependencies = [ "ciborium-io", "half", @@ -998,7 +1021,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] @@ -1007,7 +1030,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] @@ -1031,9 +1054,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "1.3.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa66045b9cb23c2e9c1520732030608b02ee07e5cfaa5a521ec15ded7fa24c90" +checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f" dependencies = [ "glob", "libc", @@ -1042,15 +1065,15 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.23" +version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" +checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ "atty", - "bitflags", - "clap_derive 3.2.18", + "bitflags 1.3.2", + "clap_derive 3.2.25", "clap_lex 0.2.4", - "indexmap", + "indexmap 1.9.3", "once_cell", "strsim", "termcolor", @@ -1059,33 +1082,32 @@ dependencies = [ [[package]] name = "clap" -version = "4.2.5" +version = "4.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a1f23fa97e1d1641371b51f35535cb26959b8e27ab50d167a8b996b5bada819" +checksum = "5fd304a20bff958a57f04c4e96a2e7594cc4490a0e809cbd48bb6437edaa452d" dependencies = [ "clap_builder", - "clap_derive 4.2.0", + "clap_derive 4.3.12", "once_cell", ] [[package]] name = "clap_builder" -version = "4.2.5" +version = "4.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fdc5d93c358224b4d6867ef1356d740de2303e9892edc06c5340daeccd96bab" +checksum = "01c6a3f08f1fe5662a35cfe393aec09c4df95f60ee93b7556505260f75eee9e1" dependencies = [ "anstream", "anstyle", - "bitflags", - "clap_lex 0.4.1", + "clap_lex 0.5.0", "strsim", ] [[package]] name = "clap_derive" -version = "3.2.18" +version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" +checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008" dependencies = [ "heck", "proc-macro-error", @@ -1096,14 +1118,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.2.0" +version = "4.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" +checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -1117,15 +1139,15 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a2dd5a6fe8c6e3502f568a6353e5273bbb15193ad9a89e457b9970798efbea1" +checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "coarsetime" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "454038500439e141804c655b4cd1bc6a70bcb95cd2bc9463af5661b6956f0e46" +checksum = "a90d114103adbc625300f346d4d09dfb4ab1c4a8df6868435dd903392ecf4354" dependencies = [ "libc", "once_cell", @@ -1145,9 +1167,9 @@ dependencies = [ [[package]] name = "color-eyre" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ebf286c900a6d5867aeff75cfee3192857bb7f24b547d4f0df2ed6baa812c90" +checksum = "5a667583cca8c4f8436db8de46ea8233c42a7d9ae424a82d338f2e4675229204" dependencies = [ "backtrace", "eyre", @@ -1164,9 +1186,9 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "comfy-table" -version = "7.0.0" +version = "7.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9e1f7e5d046697d34b593bdba8ee31f4649366e452a2ccabb3baf3511e503d1" +checksum = "9ab77dbd8adecaf3f0db40581631b995f312a8a5ae3aa9993188bb8f23d83a5b" dependencies = [ "strum", "strum_macros", @@ -1181,52 +1203,43 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "concurrent-queue" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3" -dependencies = [ - "cache-padded", -] - -[[package]] -name = "concurrent-queue" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c278839b831783b70278b14df4d45e1beb1aad306c07bb796637de9a0e323e8e" +checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" dependencies = [ "crossbeam-utils", ] [[package]] name = "console" -version = "0.15.5" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d79fbe8970a77e3e34151cc13d3b3e248aa0faaecb9f6091fa07ebefe5ad60" +checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "const-oid" -version = "0.9.2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520fbf3c07483f94e3e3ca9d0cfd913d7718ef2483d2cfd91c0d9e91474ab913" +checksum = "795bc6e66a8e340f075fcf6227e417a2dc976b92b91f3cdc778bb858778b6747" [[package]] name = "constant_time_eq" -version = "0.1.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" +checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" [[package]] name = "constant_time_eq" -version = "0.2.4" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3ad85c1f65dc7b37604eb0e89748faf0b9653065f2a8ef69f96a687ec1e9279" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" [[package]] name = "convert_case" @@ -1236,9 +1249,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "core-foundation" -version = "0.9.2" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6888e10551bb93e424d8df1d07f1a8b4fceb0001a3a4b048bfc47554946f47b3" +checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" dependencies = [ "core-foundation-sys", "libc", @@ -1246,9 +1259,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.3" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" +checksum = "a385f5d34e5eff161df2369056a3fd194fcabd8a64ce0eed02de09fcb3203434" [[package]] name = "core2" @@ -1261,9 +1274,18 @@ dependencies = [ [[package]] name = "cpp_demangle" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "931ab2a3e6330a07900b8e7ca4e106cdcbb93f2b9a52df55e54ee53d8305b55d" +checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "cpp_demangle" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee34052ee3d93d6d8f3e6f81d85c47921f6653a19a7b70e939e3e602d893a674" dependencies = [ "cfg-if", ] @@ -1280,19 +1302,13 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.1" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95059428f66df56b63431fdb4e1947ed2190586af5c5a8a8b71122bdf5a7f469" +checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" dependencies = [ "libc", ] -[[package]] -name = "cpuid-bool" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" - [[package]] name = "cranelift-bforest" version = "0.95.1" @@ -1393,18 +1409,18 @@ dependencies = [ [[package]] name = "crc" -version = "3.0.0" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53757d12b596c16c78b83458d732a5d1a17ab3f53f2f7412f6fb57cc8a140ab3" +checksum = "86ec7a15cbe22e59248fc7eadb1907dab5ba09372595da4d73dd805ed4417dfe" dependencies = [ "crc-catalog", ] [[package]] name = "crc-catalog" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d0165d2900ae6778e36e80bbc4da3b5eefccee9ba939761f9c2882a5d9af3ff" +checksum = "9cace84e55f07e7301bae1c519df89cdad8cc3cd868413d3fdbdeca9ff3db484" [[package]] name = "crc32fast" @@ -1425,7 +1441,7 @@ dependencies = [ "atty", "cast", "ciborium", - "clap 3.2.23", + "clap 3.2.25", "criterion-plot", "itertools", "lazy_static", @@ -1451,9 +1467,9 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.5" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c02a4d71819009c192cf4872265391563fd6a84c81ff2c0f2a7026ca4c1d85c" +checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" dependencies = [ "cfg-if", "crossbeam-utils", @@ -1461,9 +1477,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.1" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" +checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" dependencies = [ "cfg-if", "crossbeam-epoch", @@ -1472,22 +1488,22 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.5" +version = "0.9.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" +checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" dependencies = [ + "autocfg", "cfg-if", "crossbeam-utils", - "lazy_static", - "memoffset 0.6.4", + "memoffset 0.9.0", "scopeguard", ] [[package]] name = "crossbeam-queue" -version = "0.3.5" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f25d8400f4a7a5778f0e4e52384a48cbd9b5c495d110786187fc750075277a2" +checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" dependencies = [ "cfg-if", "crossbeam-utils", @@ -1495,9 +1511,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.14" +version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" +checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" dependencies = [ "cfg-if", ] @@ -1514,7 +1530,7 @@ version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", "rand_core 0.6.4", "subtle", "zeroize", @@ -1526,7 +1542,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf4c2f4e1afd912bc40bfd6fed5d9dc1f288e0ba01bfcc835cc5bc3eb13efe15" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", "rand_core 0.6.4", "subtle", "zeroize", @@ -1538,7 +1554,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", "rand_core 0.6.4", "typenum", ] @@ -1549,17 +1565,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ - "generic-array 0.14.6", - "subtle", -] - -[[package]] -name = "crypto-mac" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff07008ec701e8028e2ceb8f83f0e4274ee62bd2dbdc4fefff2e9a91824081a" -dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", "subtle", ] @@ -1569,29 +1575,10 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", "subtle", ] -[[package]] -name = "ctor" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ctr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb4a30d54f7443bf3d6191dcd486aca19e67cb3c49fa7a06a319966346707e7f" -dependencies = [ - "cipher 0.2.5", -] - [[package]] name = "ctr" version = "0.8.0" @@ -1652,9 +1639,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.80" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b7d4e43b25d3c994662706a1d4fcfc32aaa6afd287502c111b237093bb23f3a" +checksum = "f68e12e817cb19eaab81aaec582b4052d07debd3c3c6b083b9d361db47c7dc9d" dependencies = [ "cc", "cxxbridge-flags", @@ -1664,9 +1651,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.80" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f8829ddc213e2c1368e51a2564c552b65a8cb6a28f31e576270ac81d5e5827" +checksum = "e789217e4ab7cf8cc9ce82253180a9fe331f35f5d339f0ccfe0270b39433f397" dependencies = [ "cc", "codespan-reporting", @@ -1674,31 +1661,31 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] name = "cxxbridge-flags" -version = "1.0.80" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e72537424b474af1460806647c41d4b6d35d09ef7fe031c5c2fa5766047cc56a" +checksum = "78a19f4c80fd9ab6c882286fa865e92e07688f4387370a209508014ead8751d0" [[package]] name = "cxxbridge-macro" -version = "1.0.80" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "309e4fb93eed90e1e14bea0da16b209f81813ba9fc7830c20ed151dd7bc0a4d7" +checksum = "b8fcfa71f66c8563c4fa9dd2bb68368d50267856f831ac5d85367e0805f9606c" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] name = "darling" -version = "0.14.2" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0dd3cd20dc6b5a876612a6e5accfe7f3dd883db6d07acfbf14c128f61550dfa" +checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" dependencies = [ "darling_core", "darling_macro", @@ -1706,9 +1693,9 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.14.2" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a784d2ccaf7c98501746bf0be29b2022ba41fd62a2e622af997a03e9f972859f" +checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" dependencies = [ "fnv", "ident_case", @@ -1720,9 +1707,9 @@ dependencies = [ [[package]] name = "darling_macro" -version = "0.14.2" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7618812407e9402654622dd402b0a89dff9ba93badd6540781526117b92aab7e" +checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" dependencies = [ "darling_core", "quote", @@ -1731,15 +1718,15 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.3.2" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" +checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "data-encoding-macro" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca" +checksum = "c904b33cc60130e1aeea4956ab803d08a3f4a0ca82d64ed757afac3891f2bb99" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -1747,9 +1734,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db" +checksum = "8fdf3fce3ce863539ec1d7fd1b6dcc3c645663376b43ed376bbf887733e4f772" dependencies = [ "data-encoding", "syn 1.0.109", @@ -1766,9 +1753,9 @@ dependencies = [ [[package]] name = "der" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13dd2ae565c0a381dde7fade45fce95984c568bdcb4700a4fdbe3175e0380b2f" +checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" dependencies = [ "const-oid", "pem-rfc7468", @@ -1801,11 +1788,11 @@ dependencies = [ [[package]] name = "der-parser" -version = "8.1.0" +version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42d4bc9b0db0a0df9ae64634ac5bdefb7afcb534e182275ca0beadbe486701c1" +checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" dependencies = [ - "asn1-rs 0.5.1", + "asn1-rs 0.5.2", "displaydoc", "nom", "num-bigint", @@ -1881,9 +1868,9 @@ dependencies = [ [[package]] name = "diff" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" [[package]] name = "difflib" @@ -1906,16 +1893,16 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] name = "digest" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer 0.10.3", + "block-buffer 0.10.4", "const-oid", "crypto-common", "subtle", @@ -1942,9 +1929,9 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" +checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" dependencies = [ "libc", "redox_users", @@ -1964,20 +1951,20 @@ dependencies = [ [[package]] name = "displaydoc" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bf95dc3f046b9da4f2d51833c0d3547d8564ef6910f5c1ed130306a75b92886" +checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] name = "dissimilar" -version = "1.0.3" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31ad93652f40969dead8d4bf897a41e9462095152eb21c56e5830537e41179dd" +checksum = "86e3bdc80eee6e16b2b6b0f87fbc98c04bee3455e35174c0de1a125d0688c632" [[package]] name = "dlmalloc" @@ -2015,7 +2002,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.16", + "syn 2.0.27", "termcolor", "walkdir", ] @@ -2028,9 +2015,9 @@ checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" [[package]] name = "dtoa" -version = "1.0.2" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5caaa75cbd2b960ff1e5392d2cfb1f44717fffe12fc1f32b7b5d1267f99732a6" +checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" [[package]] name = "dyn-clonable" @@ -2055,9 +2042,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.4" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" +checksum = "304e6508efa593091e97a9abbc10f90aa7ca635b6d2784feff3c89d41dd12272" [[package]] name = "ecdsa" @@ -2065,7 +2052,7 @@ version = "0.14.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ - "der 0.6.0", + "der 0.6.1", "elliptic-curve 0.12.3", "rfc6979 0.3.1", "signature 1.6.4", @@ -2073,12 +2060,12 @@ dependencies = [ [[package]] name = "ecdsa" -version = "0.16.7" +version = "0.16.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0997c976637b606099b9985693efa3581e84e41f5c11ba5255f88711058ad428" +checksum = "a4b1e0c257a9e9f25f90ff76d7a68360ed497ee519c8e428d1825ef0000799d4" dependencies = [ "der 0.7.7", - "digest 0.10.6", + "digest 0.10.7", "elliptic-curve 0.13.5", "rfc6979 0.4.0", "signature 2.1.0", @@ -2104,7 +2091,7 @@ dependencies = [ "ed25519", "rand 0.7.3", "serde", - "sha2 0.9.8", + "sha2 0.9.9", "zeroize", ] @@ -2118,15 +2105,15 @@ dependencies = [ "hashbrown 0.12.3", "hex", "rand_core 0.6.4", - "sha2 0.9.8", + "sha2 0.9.9", "zeroize", ] [[package]] name = "either" -version = "1.8.1" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "elliptic-curve" @@ -2136,10 +2123,10 @@ checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ "base16ct 0.1.1", "crypto-bigint 0.4.9", - "der 0.6.0", - "digest 0.10.6", + "der 0.6.1", + "digest 0.10.7", "ff 0.12.1", - "generic-array 0.14.6", + "generic-array 0.14.7", "group 0.12.1", "hkdf", "pem-rfc7468", @@ -2158,13 +2145,13 @@ checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b" dependencies = [ "base16ct 0.2.0", "crypto-bigint 0.5.2", - "digest 0.10.6", + "digest 0.10.7", "ff 0.13.0", - "generic-array 0.14.6", + "generic-array 0.14.7", "group 0.13.0", "pkcs8 0.10.2", "rand_core 0.6.4", - "sec1 0.7.1", + "sec1 0.7.3", "subtle", "zeroize", ] @@ -2177,9 +2164,9 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" [[package]] name = "encoding_rs" -version = "0.8.30" +version = "0.8.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dc8abb250ffdda33912550faa54c88ec8b998dec0b2c55ab224921ce11df" +checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" dependencies = [ "cfg-if", ] @@ -2213,28 +2200,28 @@ checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "enumn" -version = "0.1.8" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48016319042fb7c87b78d2993084a831793a897a5cd1a2a67cab9d1eeb4b7d76" +checksum = "b893c4eb2dc092c811165f84dc7447fae16fb66521717968c34c509b39b1a5c5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "env_logger" -version = "0.7.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" +checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" dependencies = [ "atty", - "humantime 1.3.0", + "humantime", "log", "regex", "termcolor", @@ -2242,12 +2229,12 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3" +checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ - "atty", - "humantime 2.1.0", + "humantime", + "is-terminal", "log", "regex", "termcolor", @@ -2259,11 +2246,17 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + [[package]] name = "erased-serde" -version = "0.3.20" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad132dd8d0d0b546348d7d86cb3191aad14b34e5f979781fc005c80d4ac67ffd" +checksum = "da96524cc884f6558f1769b6c46686af2fe8e8b4cd253bd5a3cdba8181b8e070" dependencies = [ "serde", ] @@ -2278,17 +2271,6 @@ dependencies = [ "polkadot-primitives", ] -[[package]] -name = "errno" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" -dependencies = [ - "errno-dragonfly", - "libc", - "winapi", -] - [[package]] name = "errno" version = "0.3.1" @@ -2312,9 +2294,9 @@ dependencies = [ [[package]] name = "event-listener" -version = "2.5.1" +version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59" +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "exit-future" @@ -2365,14 +2347,14 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "eyre" -version = "0.6.5" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "221239d1d5ea86bf5d6f91c9d6bc3646ffe471b08ff9b0f91c44f115ac969d2b" +checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb" dependencies = [ "indenter", "once_cell", @@ -2392,13 +2374,19 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fastrand" -version = "1.7.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" +checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" dependencies = [ "instant", ] +[[package]] +name = "fastrand" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" + [[package]] name = "fatality" version = "0.0.6" @@ -2416,7 +2404,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd" dependencies = [ "expander 0.0.4", - "indexmap", + "indexmap 1.9.3", "proc-macro-crate", "proc-macro2", "quote", @@ -2477,24 +2465,24 @@ checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" [[package]] name = "file-per-thread-logger" -version = "0.1.4" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fdbe0d94371f9ce939b555dd342d0686cc4c0cadbcd4b61d70af5ff97eb4126" +checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" dependencies = [ - "env_logger 0.7.1", + "env_logger 0.10.0", "log", ] [[package]] name = "filetime" -version = "0.2.17" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c" +checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" dependencies = [ "cfg-if", "libc", - "redox_syscall", - "windows-sys 0.36.1", + "redox_syscall 0.2.16", + "windows-sys 0.48.0", ] [[package]] @@ -2539,21 +2527,19 @@ dependencies = [ [[package]] name = "fixedbitset" -version = "0.4.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "398ea4fabe40b9b0d885340a2a991a44c8a645624075ad966d21f88688e2b69e" +checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.22" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e6988e897c1c9c485f43b47a529cef42fde0547f9d8d41a7062518f1d8fc53f" +checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" dependencies = [ - "cfg-if", "crc32fast", - "libc", "libz-sys", - "miniz_oxide 0.4.4", + "miniz_oxide", ] [[package]] @@ -2574,16 +2560,16 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", ] [[package]] name = "form_urlencoded" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" +checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" dependencies = [ "percent-encoding", ] @@ -2597,7 +2583,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-support-procedural", @@ -2622,12 +2608,12 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "Inflector", "array-bytes", "chrono", - "clap 4.2.5", + "clap 4.3.19", "comfy-table", "frame-benchmarking", "frame-support", @@ -2670,18 +2656,18 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2698,7 +2684,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-system", @@ -2727,7 +2713,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-recursion", "futures", @@ -2748,10 +2734,10 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "aquamarine", - "bitflags", + "bitflags 1.3.2", "environmental", "frame-metadata", "frame-support-procedural", @@ -2783,7 +2769,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "Inflector", "cfg-expr", @@ -2795,35 +2781,35 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-executive", @@ -2850,7 +2836,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-system", @@ -2863,7 +2849,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "cfg-if", "frame-support", @@ -2882,7 +2868,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -2897,7 +2883,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "sp-api", @@ -2906,7 +2892,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "parity-scale-codec", @@ -2917,9 +2903,9 @@ dependencies = [ [[package]] name = "fs-err" -version = "2.6.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0" +checksum = "0845fa252299212f0389d64ba26f34fa32cfe41588355f21ed507c59a0f64541" [[package]] name = "fs2" @@ -2933,21 +2919,14 @@ dependencies = [ [[package]] name = "fs4" -version = "0.6.3" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea55201cc351fdb478217c0fb641b59813da9b4efe4c414a9d8f989a657d149" +checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" dependencies = [ - "libc", - "rustix 0.35.13", - "winapi", + "rustix 0.38.4", + "windows-sys 0.48.0", ] -[[package]] -name = "fs_extra" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" - [[package]] name = "funty" version = "2.0.0" @@ -3005,16 +2984,16 @@ checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" [[package]] name = "futures-lite" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" dependencies = [ - "fastrand", + "fastrand 1.9.0", "futures-core", "futures-io", "memchr", "parking", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.10", "waker-fn", ] @@ -3026,7 +3005,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -3036,7 +3015,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" dependencies = [ "futures-io", - "rustls 0.20.7", + "rustls 0.20.8", "webpki 0.22.0", ] @@ -3071,7 +3050,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.10", "pin-utils", "slab", ] @@ -3088,7 +3067,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "chrono", "frame-election-provider-support", @@ -3110,9 +3089,9 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.6" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", @@ -3142,25 +3121,15 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.8" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" +checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", "libc", "wasi 0.11.0+wasi-snapshot-preview1", ] -[[package]] -name = "ghash" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97304e4cd182c3846f7575ced3890c53012ce534ad9114046b0a9e00bb30a375" -dependencies = [ - "opaque-debug 0.3.0", - "polyval 0.4.5", -] - [[package]] name = "ghash" version = "0.4.4" @@ -3183,26 +3152,26 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.0" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dec7af912d60cdbd3677c1af9352ebae6fb8394d165568a2234df0fa00f87793" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ "fallible-iterator", - "indexmap", + "indexmap 1.9.3", "stable_deref_trait", ] [[package]] name = "glob" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.8" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" +checksum = "1391ab1f92ffcc08911957149833e682aa3fe252b9f45f966d2ef972274c97df" dependencies = [ "aho-corasick", "bstr", @@ -3235,9 +3204,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.17" +version = "0.3.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66b91535aa35fea1523ad1b86cb6b53c28e0ae566ba4a460f4457e936cad7c6f" +checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049" dependencies = [ "bytes", "fnv", @@ -3245,7 +3214,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap", + "indexmap 1.9.3", "slab", "tokio", "tokio-util", @@ -3260,16 +3229,16 @@ checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" [[package]] name = "handlebars" -version = "4.2.2" +version = "4.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d6a30320f094710245150395bc763ad23128d6a1ebbad7594dc4164b62c56b" +checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" dependencies = [ "log", "pest", "pest_derive", - "quick-error 2.0.1", "serde", "serde_json", + "thiserror", ] [[package]] @@ -3302,14 +3271,20 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.2", + "ahash 0.8.3", ] +[[package]] +name = "hashbrown" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" + [[package]] name = "heck" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "hermit-abi" @@ -3322,9 +3297,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" +checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" [[package]] name = "hex" @@ -3363,16 +3338,6 @@ dependencies = [ "digest 0.9.0", ] -[[package]] -name = "hmac" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15" -dependencies = [ - "crypto-mac 0.10.1", - "digest 0.9.0", -] - [[package]] name = "hmac" version = "0.11.0" @@ -3389,7 +3354,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -3399,7 +3364,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" dependencies = [ "digest 0.9.0", - "generic-array 0.14.6", + "generic-array 0.14.7", "hmac 0.8.1", ] @@ -3428,9 +3393,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" +checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ "bytes", "fnv", @@ -3445,20 +3410,20 @@ checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.10", ] [[package]] name = "http-range-header" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29" +checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" [[package]] name = "httparse" -version = "1.6.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9100414882e15fb7feccb4897e5f0ff0ff1ca7d1a86a23208ada4d7a18e6c6c4" +checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "httpdate" @@ -3466,15 +3431,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" -[[package]] -name = "humantime" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" -dependencies = [ - "quick-error 1.2.3", -] - [[package]] name = "humantime" version = "2.1.0" @@ -3483,9 +3439,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.20" +version = "0.14.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02c929dc5c39e335a03c405292728118860721b10190d98c2a0f0efd5baafbac" +checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" dependencies = [ "bytes", "futures-channel", @@ -3497,8 +3453,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.9", - "socket2", + "pin-project-lite 0.2.10", + "socket2 0.4.9", "tokio", "tower-service", "tracing", @@ -3507,35 +3463,59 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.23.0" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" +checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" dependencies = [ "http", "hyper", "log", - "rustls 0.20.7", + "rustls 0.20.8", "rustls-native-certs", "tokio", - "tokio-rustls 0.23.2", + "tokio-rustls 0.23.4", "webpki-roots", ] [[package]] name = "hyper-rustls" -version = "0.24.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0646026eb1b3eea4cd9ba47912ea5ce9cc07713d105b1a14698f4e6433d348b7" +checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" dependencies = [ + "futures-util", "http", "hyper", "log", - "rustls 0.21.2", + "rustls 0.21.5", "rustls-native-certs", "tokio", "tokio-rustls 0.24.1", ] +[[package]] +name = "iana-time-zone" +version = "0.1.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "windows 0.48.0", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + [[package]] name = "ident_case" version = "1.0.1" @@ -3555,9 +3535,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -3575,9 +3555,9 @@ dependencies = [ [[package]] name = "if-watch" -version = "3.0.0" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba7abdbb86e485125dad06c2691e1e393bf3b08c7b743b43aa162a00fd39062e" +checksum = "a9465340214b296cd17a0009acdb890d6160010b8adf8f78a00d0d7ab270f79f" dependencies = [ "async-io", "core-foundation", @@ -3589,7 +3569,7 @@ dependencies = [ "rtnetlink", "system-configuration", "tokio", - "windows", + "windows 0.34.0", ] [[package]] @@ -3648,22 +3628,33 @@ checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" [[package]] name = "indexmap" -version = "1.9.1" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", "serde", ] +[[package]] +name = "indexmap" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +dependencies = [ + "equivalent", + "hashbrown 0.14.0", +] + [[package]] name = "indicatif" -version = "0.17.3" +version = "0.17.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cef509aa9bc73864d6756f0d34d35504af3cf0844373afe9b8669a5b8005a729" +checksum = "8ff8cc23a7393a397ed1d7f56e6365cba772aba9f9912ab968b03043c395d057" dependencies = [ "console", + "instant", "number_prefix", "portable-atomic", "unicode-width", @@ -3675,7 +3666,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", ] [[package]] @@ -3689,9 +3680,9 @@ dependencies = [ [[package]] name = "integer-encoding" -version = "3.0.2" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90c11140ffea82edce8dcd74137ce9324ec24b3cf0175fc9d7e29164da9915b8" +checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02" [[package]] name = "integer-sqrt" @@ -3717,23 +3708,17 @@ dependencies = [ "thiserror", "tokio", "waitgroup", - "webrtc-srtp", - "webrtc-util", -] - -[[package]] -name = "io-lifetimes" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" + "webrtc-srtp", + "webrtc-util", +] [[package]] name = "io-lifetimes" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.1", + "hermit-abi 0.3.2", "libc", "windows-sys 0.48.0", ] @@ -3746,48 +3731,47 @@ checksum = "aa2f047c0a98b2f299aa5d6d7088443570faae494e9ae1305e48be000c9e0eb1" [[package]] name = "ipconfig" -version = "0.3.0" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723519edce41262b05d4143ceb95050e4c614f483e78e9fd9e39a8275a84ad98" +checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2", + "socket2 0.5.3", "widestring", - "winapi", - "winreg 0.7.0", + "windows-sys 0.48.0", + "winreg 0.50.0", ] [[package]] name = "ipnet" -version = "2.7.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11b0d96e660696543b251e58030cf9787df56da39dab19ad60eae7353040917e" +checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" [[package]] name = "is-terminal" -version = "0.4.7" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" +checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ - "hermit-abi 0.3.1", - "io-lifetimes 1.0.10", - "rustix 0.37.18", + "hermit-abi 0.3.2", + "rustix 0.38.4", "windows-sys 0.48.0", ] [[package]] name = "itertools" -version = "0.10.3" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" dependencies = [ "either", ] [[package]] name = "itoa" -version = "1.0.4" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" +checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "jobserver" @@ -3800,9 +3784,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.62" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68c16e1bfd491478ab155fd8b4896b86f9ede344949b641e61501e07c2b8b4d5" +checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" dependencies = [ "wasm-bindgen", ] @@ -3843,7 +3827,7 @@ dependencies = [ "soketto", "thiserror", "tokio", - "tokio-rustls 0.23.2", + "tokio-rustls 0.23.4", "tokio-util", "tracing", "webpki-roots", @@ -3856,7 +3840,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" dependencies = [ "anyhow", - "arrayvec 0.7.2", + "arrayvec 0.7.4", "async-lock", "async-trait", "beef", @@ -3885,7 +3869,7 @@ checksum = "cc345b0a43c6bc49b947ebeb936e886a419ee3d894421790c969cc56040542ad" dependencies = [ "async-trait", "hyper", - "hyper-rustls 0.23.0", + "hyper-rustls 0.23.2", "jsonrpsee-core", "jsonrpsee-types", "rustc-hash", @@ -3964,17 +3948,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc" dependencies = [ "cfg-if", - "ecdsa 0.16.7", + "ecdsa 0.16.8", "elliptic-curve 0.13.5", "once_cell", - "sha2 0.10.2", + "sha2 0.10.7", ] [[package]] name = "keccak" -version = "0.1.0" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" +checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" +dependencies = [ + "cpufeatures", +] [[package]] name = "kusama-runtime" @@ -4163,15 +4150,15 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.142" +version = "0.2.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317" +checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] name = "libflate" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97822bf791bd4d5b403713886a5fbe8bf49520fe78e323b0dc480ca1a03e50b0" +checksum = "5ff4ae71b685bbad2f2f391fe74f6b7659a34871c08b210fdc039e43bee07d18" dependencies = [ "adler32", "crc32fast", @@ -4189,9 +4176,9 @@ dependencies = [ [[package]] name = "libloading" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afe203d669ec979b7128619bae5a63b7b42e9203c1b29146079ee05e2f604b52" +checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ "cfg-if", "winapi", @@ -4212,7 +4199,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.8", + "getrandom 0.2.10", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -4317,7 +4304,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "lru 0.10.0", + "lru 0.10.1", "quick-protobuf", "quick-protobuf-codec", "smallvec", @@ -4338,7 +4325,7 @@ dependencies = [ "multihash", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.2", + "sha2 0.10.7", "thiserror", "zeroize", ] @@ -4349,7 +4336,7 @@ version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ - "arrayvec 0.7.2", + "arrayvec 0.7.4", "asynchronous-codec", "bytes", "either", @@ -4363,7 +4350,7 @@ dependencies = [ "log", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.2", + "sha2 0.10.7", "smallvec", "thiserror", "uint", @@ -4386,7 +4373,7 @@ dependencies = [ "log", "rand 0.8.5", "smallvec", - "socket2", + "socket2 0.4.9", "tokio", "trust-dns-proto", "void", @@ -4421,7 +4408,7 @@ dependencies = [ "once_cell", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.2", + "sha2 0.10.7", "snow", "static_assertions", "thiserror", @@ -4463,7 +4450,7 @@ dependencies = [ "parking_lot 0.12.1", "quinn-proto", "rand 0.8.5", - "rustls 0.20.7", + "rustls 0.20.8", "thiserror", "tokio", ] @@ -4528,7 +4515,7 @@ dependencies = [ "libc", "libp2p-core", "log", - "socket2", + "socket2 0.4.9", "tokio", ] @@ -4544,7 +4531,7 @@ dependencies = [ "libp2p-identity", "rcgen 0.10.0", "ring", - "rustls 0.20.7", + "rustls 0.20.8", "thiserror", "webpki 0.22.0", "x509-parser 0.14.0", @@ -4645,12 +4632,12 @@ dependencies = [ [[package]] name = "libsecp256k1" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0452aac8bab02242429380e9b2f94ea20cea2b37e2c1777a1358799bbe97f37" +checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" dependencies = [ "arrayref", - "base64 0.13.0", + "base64 0.13.1", "digest 0.9.0", "hmac-drbg", "libsecp256k1-core", @@ -4658,7 +4645,7 @@ dependencies = [ "libsecp256k1-gen-genmult", "rand 0.8.5", "serde", - "sha2 0.9.8", + "sha2 0.9.9", "typenum", ] @@ -4693,9 +4680,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.3" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66" +checksum = "24e6ab01971eb092ffe6a7d42f49f9ff42662f17604681e2843ad65077ba47dc" dependencies = [ "cc", "pkg-config", @@ -4704,18 +4691,18 @@ dependencies = [ [[package]] name = "link-cplusplus" -version = "1.0.7" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369" +checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9" dependencies = [ "cc", ] [[package]] name = "linked-hash-map" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" +checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linked_hash_set" @@ -4728,36 +4715,36 @@ dependencies = [ [[package]] name = "linregress" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "475015a7f8f017edb28d2e69813be23500ad4b32cfe3421c4148efc97324ee52" +checksum = "4de0b5f52a9f84544d268f5fabb71b38962d6aa3c6600b8bcd27d44ccf9c9c45" dependencies = [ "nalgebra", ] [[package]] name = "linux-raw-sys" -version = "0.0.46" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" +checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.1.4" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.3.6" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b64f40e5e03e0d54f03845c8197d0291253cdbedfb1cb46b13c2c117554a9f4c" +checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" [[package]] name = "lock_api" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" +checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" dependencies = [ "autocfg", "scopeguard", @@ -4784,9 +4771,9 @@ dependencies = [ [[package]] name = "lru" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03f1160296536f10c833a82dca22267d5486734230d47bf00bf435885814ba1e" +checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" dependencies = [ "hashbrown 0.13.2", ] @@ -4838,7 +4825,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -4851,7 +4838,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -4862,7 +4849,7 @@ checksum = "93d7d9e6e234c040dafc745c7592738d56a03ad04b1fa04ab60821deb597466a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -4873,7 +4860,7 @@ checksum = "ffd19f13cfd2bfbd83692adfef8c244fe5109b3eb822a1fb4e0a6253b406cd81" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -4894,7 +4881,7 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" dependencies = [ - "regex-automata", + "regex-automata 0.1.10", ] [[package]] @@ -4903,46 +4890,47 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" dependencies = [ - "regex-automata", + "regex-automata 0.1.10", ] [[package]] name = "matches" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" +checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.2" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add85d4dd35074e6fedc608f8c8f513a3548619a9024b751949ef0e8e45a4d84" +checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" dependencies = [ + "autocfg", "rawpointer", ] [[package]] name = "md-5" -version = "0.10.4" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66b48670c893079d3c2ed79114e3644b7004df1c361a4e0ad52e2e6940d07c3d" +checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] name = "memchr" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memfd" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb" +checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" dependencies = [ - "rustix 0.36.7", + "rustix 0.37.23", ] [[package]] @@ -4956,9 +4944,9 @@ dependencies = [ [[package]] name = "memoffset" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" +checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" dependencies = [ "autocfg", ] @@ -4981,6 +4969,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg", +] + [[package]] name = "memory-db" version = "0.32.0" @@ -5015,9 +5012,9 @@ dependencies = [ [[package]] name = "mime" -version = "0.3.16" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "minimal-lexical" @@ -5027,39 +5024,28 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" -dependencies = [ - "adler", - "autocfg", -] - -[[package]] -name = "miniz_oxide" -version = "0.6.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" +checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" dependencies = [ "adler", ] [[package]] name = "mio" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de" +checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" dependencies = [ "libc", - "log", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.42.0", + "windows-sys 0.48.0", ] [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "futures", "log", @@ -5078,7 +5064,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "anyhow", "jsonrpsee", @@ -5093,24 +5079,24 @@ dependencies = [ [[package]] name = "mockall" -version = "0.11.3" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50e4a1c770583dac7ab5e2f6c139153b783a53a1bbee9729613f193e59828326" +checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96" dependencies = [ "cfg-if", "downcast", "fragile", "lazy_static", "mockall_derive", - "predicates", + "predicates 2.1.5", "predicates-tree", ] [[package]] name = "mockall_derive" -version = "0.11.3" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "832663583d5fa284ca8810bf7015e46c9fff9622d3cf34bd1eea5003fec06dd0" +checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb" dependencies = [ "cfg-if", "proc-macro2", @@ -5158,18 +5144,18 @@ dependencies = [ "blake2s_simd", "blake3", "core2", - "digest 0.10.6", + "digest 0.10.7", "multihash-derive", - "sha2 0.10.2", + "sha2 0.10.7", "sha3", "unsigned-varint", ] [[package]] name = "multihash-derive" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" +checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" dependencies = [ "proc-macro-crate", "proc-macro-error", @@ -5201,9 +5187,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.32.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6515c882ebfddccaa73ead7320ca28036c4bc84c9bcca3cc0cbba8efe89223a" +checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" dependencies = [ "approx", "matrixmultiply", @@ -5217,9 +5203,9 @@ dependencies = [ [[package]] name = "nalgebra-macros" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d232c68884c0c99810a5a4d333ef7e47689cfd0edc85efc9e54e1e6bf5212766" +checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" dependencies = [ "proc-macro2", "quote", @@ -5232,7 +5218,16 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" dependencies = [ - "clap 3.2.23", + "rand 0.8.5", +] + +[[package]] +name = "names" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" +dependencies = [ + "clap 3.2.25", "rand 0.8.5", ] @@ -5261,7 +5256,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab" dependencies = [ "anyhow", - "bitflags", + "bitflags 1.3.2", "byteorder", "libc", "netlink-packet-core", @@ -5270,9 +5265,9 @@ dependencies = [ [[package]] name = "netlink-packet-utils" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25af9cf0dc55498b7bd94a1508af7a78706aa0ab715a73c5169273e03c84845e" +checksum = "0ede8a08c71ad5a95cdd0e4e52facd37190977039a4704eb82a283f713747d34" dependencies = [ "anyhow", "byteorder", @@ -5297,9 +5292,9 @@ dependencies = [ [[package]] name = "netlink-sys" -version = "0.8.3" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92b654097027250401127914afb37cb1f311df6610a9891ff07a757e94199027" +checksum = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411" dependencies = [ "bytes", "futures", @@ -5310,14 +5305,14 @@ dependencies = [ [[package]] name = "nix" -version = "0.24.1" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f17df307904acd05aa8e32e97bb20f2a0df1728bbc2d771ae8f9a90463441e9" +checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "libc", - "memoffset 0.6.4", + "memoffset 0.6.5", ] [[package]] @@ -5326,7 +5321,7 @@ version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "libc", "memoffset 0.7.1", @@ -5342,13 +5337,12 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" [[package]] name = "nom" -version = "7.1.0" +version = "7.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d11e1ef389c76fe5b81bcaf2ea32cf88b62bc494e19f493d0b30e7a930109" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" dependencies = [ "memchr", "minimal-lexical", - "version_check", ] [[package]] @@ -5357,6 +5351,16 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi", +] + [[package]] name = "num-bigint" version = "0.4.3" @@ -5370,28 +5374,28 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26873667bbbb7c5182d4a37c1add32cdf09f841af72da53318fdb81543c15085" +checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" dependencies = [ "num-traits", ] [[package]] name = "num-format" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54b862ff8df690cf089058c98b183676a7ed0f974cc08b426800093227cbff3b" +checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.2", + "arrayvec 0.7.4", "itoa", ] [[package]] name = "num-integer" -version = "0.1.44" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" +checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" dependencies = [ "autocfg", "num-traits", @@ -5411,20 +5415,20 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.14" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" +checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" dependencies = [ "autocfg", ] [[package]] name = "num_cpus" -version = "1.13.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.1.19", + "hermit-abi 0.3.2", "libc", ] @@ -5436,13 +5440,22 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "object" -version = "0.30.3" +version = "0.30.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" dependencies = [ "crc32fast", "hashbrown 0.13.2", - "indexmap", + "indexmap 1.9.3", + "memchr", +] + +[[package]] +name = "object" +version = "0.31.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" +dependencies = [ "memchr", ] @@ -5461,14 +5474,14 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" dependencies = [ - "asn1-rs 0.5.1", + "asn1-rs 0.5.2", ] [[package]] name = "once_cell" -version = "1.17.1" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "oorandom" @@ -5490,9 +5503,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl-probe" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "orchestra" @@ -5537,24 +5550,21 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.0.0" +version = "6.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64" +checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" [[package]] -name = "output_vt100" -version = "0.1.2" +name = "overload" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53cdc5b785b7a58c5aad8216b3dfa114df64b0b06ae6e1501cef91df2fbdf8f9" -dependencies = [ - "winapi", -] +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "owo-colors" -version = "3.2.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" +checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "p256" @@ -5564,7 +5574,7 @@ checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" dependencies = [ "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.2", + "sha2 0.10.7", ] [[package]] @@ -5575,7 +5585,7 @@ checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" dependencies = [ "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.2", + "sha2 0.10.7", ] [[package]] @@ -5591,7 +5601,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5606,7 +5616,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-system", @@ -5622,7 +5632,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-system", @@ -5636,7 +5646,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5660,7 +5670,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5680,7 +5690,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -5699,7 +5709,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5714,7 +5724,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-system", @@ -5733,7 +5743,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -5757,7 +5767,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5775,7 +5785,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5794,7 +5804,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5811,7 +5821,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5828,7 +5838,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5846,7 +5856,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5869,7 +5879,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5882,7 +5892,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5901,7 +5911,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "docify", "frame-benchmarking", @@ -5920,7 +5930,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5943,7 +5953,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5959,7 +5969,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5979,7 +5989,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5996,7 +6006,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6013,7 +6023,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "7.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6032,7 +6042,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6049,7 +6059,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6065,7 +6075,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6081,7 +6091,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-system", @@ -6098,7 +6108,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6118,7 +6128,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -6129,7 +6139,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-system", @@ -6146,7 +6156,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6170,7 +6180,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6187,7 +6197,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6202,7 +6212,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6220,7 +6230,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6235,7 +6245,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6254,7 +6264,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6271,7 +6281,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-system", @@ -6292,7 +6302,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6308,7 +6318,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6327,7 +6337,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6350,18 +6360,18 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "log", "sp-arithmetic", @@ -6370,7 +6380,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "sp-api", @@ -6379,7 +6389,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6396,7 +6406,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6411,7 +6421,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6429,7 +6439,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6448,7 +6458,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-support", "frame-system", @@ -6464,7 +6474,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6480,7 +6490,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6492,7 +6502,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6509,7 +6519,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6524,7 +6534,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6540,7 +6550,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6555,7 +6565,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-benchmarking", "frame-support", @@ -6618,9 +6628,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.4.8" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4890dcb9556136a4ec2b0c51fa4a08c8b733b829506af8fff2e853f3a065985b" +checksum = "78f19d20a0d2cc52327a88d131fa1c4ea81ea4a04714aedcfeca2dd410049cf8" dependencies = [ "blake2", "crc32fast", @@ -6638,11 +6648,11 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.1" +version = "3.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2287753623c76f953acd29d15d8100bcab84d29db78fb6f352adb3c53e83b967" +checksum = "dd8e946cc0cc711189c0b0249fb8b599cbeeab9784d83c415719368bb8d4ac64" dependencies = [ - "arrayvec 0.7.2", + "arrayvec 0.7.4", "bitvec", "byte-slice-cast", "bytes", @@ -6653,9 +6663,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.1" +version = "3.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b6937b5e67bfba3351b87b040d48352a2fcb6ad72f81855412ce97b45c8f110" +checksum = "2a296c3079b5fefbc499e1de58dc26c09b1b9a5952d26694ee89f04a43ebbb3e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6677,9 +6687,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" +checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" [[package]] name = "parking_lot" @@ -6689,7 +6699,7 @@ checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" dependencies = [ "instant", "lock_api", - "parking_lot_core 0.8.5", + "parking_lot_core 0.8.6", ] [[package]] @@ -6699,34 +6709,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.6", + "parking_lot_core 0.9.8", ] [[package]] name = "parking_lot_core" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" +checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ "cfg-if", "instant", "libc", - "redox_syscall", + "redox_syscall 0.2.16", "smallvec", "winapi", ] [[package]] name = "parking_lot_core" -version = "0.9.6" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba1ef8814b5c993410bb3adfad7a5ed269563e4a2f90c41f5d85be7fb47133bf" +checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" dependencies = [ "cfg-if", "libc", - "redox_syscall", + "redox_syscall 0.3.5", "smallvec", - "windows-sys 0.42.0", + "windows-targets 0.48.1", ] [[package]] @@ -6737,9 +6747,9 @@ checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" [[package]] name = "paste" -version = "1.0.7" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pbkdf2" @@ -6756,7 +6766,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -6767,11 +6777,11 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" [[package]] name = "pem" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c64931a1a212348ec4f3b4362585eca7159d0d09cbdf4a7f74f02173596fd4" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" dependencies = [ - "base64 0.13.0", + "base64 0.13.1", ] [[package]] @@ -6785,24 +6795,25 @@ dependencies = [ [[package]] name = "percent-encoding" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" +checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pest" -version = "2.1.3" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" +checksum = "0d2d1d55045829d65aad9d389139882ad623b33b904e7c9f1b10c5b8927298e5" dependencies = [ + "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.1.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0" +checksum = "5f94bca7e7a599d89dea5dfa309e217e7906c3c007fb9c3299c40b10d6a315d3" dependencies = [ "pest", "pest_generator", @@ -6810,56 +6821,56 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.1.3" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55" +checksum = "99d490fe7e8556575ff6911e45567ab95e71617f43781e5c05490dc8d75c965c" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] name = "pest_meta" -version = "2.1.3" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d" +checksum = "2674c66ebb4b4d9036012091b537aae5878970d6999f81a265034d85b136b341" dependencies = [ - "maplit", + "once_cell", "pest", - "sha-1 0.8.2", + "sha2 0.10.7", ] [[package]] name = "petgraph" -version = "0.6.0" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a13a2fa9d0b63e5f22328828741e523766fff0ee9e779316902290dff3f824f" +checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" dependencies = [ "fixedbitset", - "indexmap", + "indexmap 1.9.3", ] [[package]] name = "pin-project" -version = "1.0.12" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" +checksum = "030ad2bc4db10a8944cb0d837f158bdfec4d4a4873ab701a95046770d11f8842" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.12" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" +checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] @@ -6870,9 +6881,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +checksum = "4c40d25201921e5ff0c862a505c6557ea88568a4e3ace775ab55e93f2f4f9d57" [[package]] name = "pin-utils" @@ -6886,7 +6897,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" dependencies = [ - "der 0.6.0", + "der 0.6.1", "spki 0.6.0", ] @@ -6902,9 +6913,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.22" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12295df4f294471248581bc09bef3c38a5e46f1e36d6a37353621a0c6c357e1f" +checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" [[package]] name = "platforms" @@ -6935,7 +6946,7 @@ name = "polkadot-approval-distribution" version = "0.9.43" dependencies = [ "assert_matches", - "env_logger 0.9.0", + "env_logger 0.9.3", "futures", "futures-timer", "log", @@ -6963,7 +6974,7 @@ version = "0.9.43" dependencies = [ "assert_matches", "bitvec", - "env_logger 0.9.0", + "env_logger 0.9.3", "futures", "futures-timer", "log", @@ -7017,7 +7028,7 @@ name = "polkadot-availability-recovery" version = "0.9.43" dependencies = [ "assert_matches", - "env_logger 0.9.0", + "env_logger 0.9.3", "fatality", "futures", "futures-timer", @@ -7045,7 +7056,7 @@ dependencies = [ name = "polkadot-cli" version = "0.9.43" dependencies = [ - "clap 4.2.5", + "clap 4.3.19", "frame-benchmarking-cli", "futures", "log", @@ -7078,7 +7089,7 @@ dependencies = [ "always-assert", "assert_matches", "bitvec", - "env_logger 0.9.0", + "env_logger 0.9.3", "fatality", "futures", "futures-timer", @@ -7122,7 +7133,7 @@ dependencies = [ "fatality", "futures", "futures-timer", - "indexmap", + "indexmap 1.9.3", "lazy_static", "lru 0.9.0", "parity-scale-codec", @@ -7279,7 +7290,7 @@ version = "0.9.43" dependencies = [ "assert_matches", "bitvec", - "env_logger 0.9.0", + "env_logger 0.9.3", "futures", "futures-timer", "kvdb", @@ -7763,7 +7774,7 @@ dependencies = [ "assert_matches", "async-trait", "derive_more", - "env_logger 0.9.0", + "env_logger 0.9.3", "fatality", "futures", "futures-channel", @@ -7843,7 +7854,7 @@ dependencies = [ name = "polkadot-performance-test" version = "0.9.43" dependencies = [ - "env_logger 0.9.0", + "env_logger 0.9.3", "kusama-runtime", "log", "polkadot-erasure-coding", @@ -8108,7 +8119,7 @@ name = "polkadot-runtime-parachains" version = "0.9.43" dependencies = [ "assert_matches", - "bitflags", + "bitflags 1.3.2", "bitvec", "derive_more", "frame-benchmarking", @@ -8163,7 +8174,7 @@ version = "0.9.43" dependencies = [ "assert_matches", "async-trait", - "env_logger 0.9.0", + "env_logger 0.9.3", "frame-benchmarking", "frame-benchmarking-cli", "frame-support", @@ -8291,7 +8302,7 @@ dependencies = [ "fatality", "futures", "futures-timer", - "indexmap", + "indexmap 1.9.3", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -8357,7 +8368,7 @@ version = "0.9.43" dependencies = [ "assert_matches", "async-trait", - "clap 4.2.5", + "clap 4.3.19", "color-eyre", "futures", "futures-timer", @@ -8501,7 +8512,7 @@ dependencies = [ name = "polkadot-voter-bags" version = "0.9.43" dependencies = [ - "clap 4.2.5", + "clap 4.3.19", "generate-bags", "kusama-runtime", "polkadot-runtime", @@ -8511,15 +8522,18 @@ dependencies = [ [[package]] name = "polling" -version = "2.2.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" dependencies = [ + "autocfg", + "bitflags 1.3.2", "cfg-if", + "concurrent-queue", "libc", "log", - "wepoll-ffi", - "winapi", + "pin-project-lite 0.2.10", + "windows-sys 0.48.0", ] [[package]] @@ -8533,17 +8547,6 @@ dependencies = [ "universal-hash 0.4.1", ] -[[package]] -name = "polyval" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd" -dependencies = [ - "cpuid-bool", - "opaque-debug 0.3.0", - "universal-hash 0.4.1", -] - [[package]] name = "polyval" version = "0.5.3" @@ -8570,22 +8573,22 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "0.3.19" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26f6a7b87c2e435a3241addceeeff740ff8b7e76b74c13bf9acb17fa454ea00b" +checksum = "edc55135a600d700580e406b4de0d59cb9ad25e344a3a091a97ded2622ec4ec6" [[package]] name = "pprof" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6472bfed9475542ac46c518734a8d06d71b0f6cb2c17f904aa301711a57786f" +checksum = "196ded5d4be535690899a4631cc9f18cdc41b7ebf24a79400f46f48e49a11059" dependencies = [ "backtrace", "cfg-if", "findshlibs", "libc", "log", - "nix 0.24.1", + "nix 0.26.2", "once_cell", "parking_lot 0.12.1", "smallvec", @@ -8602,9 +8605,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "predicates" -version = "2.1.0" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95e5a7689e456ab905c22c2b48225bb921aba7c8dfa58440d68ba13f6222a715" +checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" dependencies = [ "difflib", "float-cmp", @@ -8614,17 +8617,29 @@ dependencies = [ "regex", ] +[[package]] +name = "predicates" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09963355b9f467184c04017ced4a2ba2d75cbcb4e7462690d388233253d4b1a9" +dependencies = [ + "anstyle", + "difflib", + "itertools", + "predicates-core", +] + [[package]] name = "predicates-core" -version = "1.0.2" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57e35a3326b75e49aa85f5dc6ec15b41108cf5aee58eabb1f274dd18b73c2451" +checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" [[package]] name = "predicates-tree" -version = "1.0.4" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "338c7be2905b732ae3984a2f40032b5e94fd8f52505b186c7d4d68d193445df7" +checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" dependencies = [ "predicates-core", "termtree", @@ -8632,24 +8647,32 @@ dependencies = [ [[package]] name = "pretty_assertions" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755" +checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" dependencies = [ - "ctor", "diff", - "output_vt100", "yansi", ] [[package]] name = "prettyplease" -version = "0.2.4" +version = "0.1.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +dependencies = [ + "proc-macro2", + "syn 1.0.109", +] + +[[package]] +name = "prettyplease" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ceca8aaf45b5c46ec7ed39fff75f57290368c1846d33d24a122ca81416ab058" +checksum = "6c64d9ba0963cdcea2e1b2230fbae2bab30eb25a174be395c41e764bfb65dd62" dependencies = [ "proc-macro2", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -8683,12 +8706,12 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "1.3.1" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ - "once_cell", - "toml_edit", + "thiserror", + "toml 0.5.11", ] [[package]] @@ -8723,29 +8746,29 @@ checksum = "70550716265d1ec349c41f70dd4f964b4fd88394efe4405f0c1da679c4799a07" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "proc-macro2" -version = "1.0.60" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406" +checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" dependencies = [ "unicode-ident", ] [[package]] name = "prometheus" -version = "0.13.0" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7f64969ffd5dd8f39bd57a68ac53c163a095ed9d0fb707146da1b27025a3504" +checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" dependencies = [ "cfg-if", "fnv", "lazy_static", "memchr", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "thiserror", ] @@ -8774,40 +8797,31 @@ dependencies = [ [[package]] name = "prometheus-parse" -version = "0.2.2" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c996f3caea1c51aa034c0d2dfd8447a12c555f4567b02677ef8a865ac4cce712" +checksum = "0c2aa5feb83bf4b2c8919eaf563f51dbab41183de73ba2353c0e03cd7b6bd892" dependencies = [ "chrono", - "lazy_static", + "itertools", + "once_cell", "regex", ] [[package]] name = "prost" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e" -dependencies = [ - "bytes", - "prost-derive 0.10.1", -] - -[[package]] -name = "prost" -version = "0.11.0" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "399c3c31cdec40583bb68f0b18403400d01ec4289c383aa047560439952c4dd7" +checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes", - "prost-derive 0.11.0", + "prost-derive", ] [[package]] name = "prost-build" -version = "0.11.1" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f835c582e6bd972ba8347313300219fed5bfa52caf175298d860b61ff6069bb" +checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", "heck", @@ -8816,31 +8830,20 @@ dependencies = [ "log", "multimap", "petgraph", - "prost 0.11.0", + "prettyplease 0.1.25", + "prost", "prost-types", "regex", + "syn 1.0.109", "tempfile", "which", ] [[package]] name = "prost-derive" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b670f45da57fb8542ebdbb6105a925fe571b67f9e7ed9f47a06a84e72b4e7cc" -dependencies = [ - "anyhow", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "prost-derive" -version = "0.11.0" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7345d5f0e08c0536d7ac7229952590239e77abf0a0100a1b1d890add6ea96364" +checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" dependencies = [ "anyhow", "itertools", @@ -8851,35 +8854,34 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.11.1" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dfaa718ad76a44b3415e6c4d53b17c8f99160dcb3a99b10470fce8ad43f6e3e" +checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "bytes", - "prost 0.11.0", + "prost", ] [[package]] name = "psm" -version = "0.1.16" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd136ff4382c4753fc061cb9e4712ab2af263376b95bbd5bd8cd50c020b78e69" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" dependencies = [ "cc", ] [[package]] name = "pyroscope" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6636d352280fb587c8716f10e1d61fe88cb002660e0a8b0d3e47de17f3b5aaed" +checksum = "91ce54d81c50f7fd6442ee671597f661a068ccebd82ed1557775b6791b14aba7" dependencies = [ "json", "libc", "libflate", "log", - "names", - "prost 0.10.4", + "names 0.14.0", + "prost", "reqwest", "thiserror", "url", @@ -8888,9 +8890,9 @@ dependencies = [ [[package]] name = "pyroscope_pprofrs" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14e699bf3e7da41b3a7573d5944d77b1bd96a187aa72f5fa96afb4ed5609cc45" +checksum = "57add45daa57783490913a5d3d88e3249126971b61ac97ee0c7bac293ef0114a" dependencies = [ "log", "pprof", @@ -8904,12 +8906,6 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" -[[package]] -name = "quick-error" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" - [[package]] name = "quick-protobuf" version = "0.8.1" @@ -8945,15 +8941,15 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.9.2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4ced82a24bb281af338b9e8f94429b6eca01b4e66d899f40031f074e74c9" +checksum = "f31999cfc7927c4e212e60fd50934ab40e8e8bfd2d493d6095d2d306bc0764d9" dependencies = [ "bytes", "rand 0.8.5", "ring", "rustc-hash", - "rustls 0.20.7", + "rustls 0.20.8", "slab", "thiserror", "tinyvec", @@ -8963,9 +8959,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.28" +version = "1.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" +checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" dependencies = [ "proc-macro2", ] @@ -9035,7 +9031,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.8", + "getrandom 0.2.10", ] [[package]] @@ -9064,26 +9060,23 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.5.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" +checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" dependencies = [ - "autocfg", - "crossbeam-deque", "either", "rayon-core", ] [[package]] name = "rayon-core" -version = "1.9.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" +checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" dependencies = [ "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "lazy_static", "num_cpus", ] @@ -9095,7 +9088,7 @@ checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", "ring", - "time 0.3.17", + "time 0.3.23", "x509-parser 0.13.2", "yasna", ] @@ -9108,7 +9101,7 @@ checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", "ring", - "time 0.3.17", + "time 0.3.23", "yasna", ] @@ -9118,17 +9111,27 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "bitflags", + "bitflags 1.3.2", +] + +[[package]] +name = "redox_syscall" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +dependencies = [ + "bitflags 1.3.2", ] [[package]] name = "redox_users" -version = "0.4.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" +checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.8", - "redox_syscall", + "getrandom 0.2.10", + "redox_syscall 0.2.16", + "thiserror", ] [[package]] @@ -9146,22 +9149,22 @@ dependencies = [ [[package]] name = "ref-cast" -version = "1.0.6" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300f2a835d808734ee295d45007adacb9ebb29dd3ae2424acfa17930cae541da" +checksum = "61ef7e18e8841942ddb1cf845054f8008410030a3997875d9e49b7a363063df1" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.6" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2" +checksum = "2dfaf0c85b766276c797f3791f5bc6d5bd116b41d53049af2789666b0c0bc9fa" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] @@ -9178,13 +9181,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.6.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" +checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" dependencies = [ "aho-corasick", "memchr", - "regex-syntax", + "regex-automata 0.3.3", + "regex-syntax 0.7.4", ] [[package]] @@ -9193,20 +9197,37 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" dependencies = [ - "regex-syntax", + "regex-syntax 0.6.29", ] +[[package]] +name = "regex-automata" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax 0.7.4", +] + +[[package]] +name = "regex-syntax" +version = "0.6.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" + [[package]] name = "regex-syntax" -version = "0.6.27" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" +checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" [[package]] name = "remote-ext-tests-bags-list" version = "0.9.43" dependencies = [ - "clap 4.2.5", + "clap 4.3.19", "frame-system", "kusama-runtime", "kusama-runtime-constants", @@ -9221,22 +9242,13 @@ dependencies = [ "westend-runtime-constants", ] -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi", -] - [[package]] name = "reqwest" -version = "0.11.17" +version = "0.11.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91" +checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" dependencies = [ - "base64 0.21.0", + "base64 0.21.2", "bytes", "encoding_rs", "futures-core", @@ -9245,21 +9257,21 @@ dependencies = [ "http", "http-body", "hyper", - "hyper-rustls 0.23.0", + "hyper-rustls 0.24.1", "ipnet", "js-sys", "log", "mime", "once_cell", "percent-encoding", - "pin-project-lite 0.2.9", - "rustls 0.20.7", - "rustls-pemfile 1.0.2", + "pin-project-lite 0.2.10", + "rustls 0.21.5", + "rustls-pemfile", "serde", "serde_json", "serde_urlencoded", "tokio", - "tokio-rustls 0.23.2", + "tokio-rustls 0.24.1", "tower-service", "url", "wasm-bindgen", @@ -9276,7 +9288,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00" dependencies = [ "hostname", - "quick-error 1.2.3", + "quick-error", ] [[package]] @@ -9440,11 +9452,12 @@ dependencies = [ [[package]] name = "rpassword" -version = "7.0.0" +version = "7.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b763cb66df1c928432cc35053f8bd4cec3335d8559fc16010017d16b3c1680" +checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322" dependencies = [ "libc", + "rtoolbox", "winapi", ] @@ -9469,11 +9482,21 @@ dependencies = [ "log", "netlink-packet-route", "netlink-proto", - "nix 0.24.1", + "nix 0.24.3", "thiserror", "tokio", ] +[[package]] +name = "rtoolbox" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "rtp" version = "0.6.8" @@ -9490,9 +9513,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.21" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" [[package]] name = "rustc-hash" @@ -9512,7 +9535,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.16", + "semver 1.0.18", ] [[package]] @@ -9526,43 +9549,42 @@ dependencies = [ [[package]] name = "rustix" -version = "0.35.13" +version = "0.36.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9" +checksum = "c37f1bd5ef1b5422177b7646cba67430579cfe2ace80f284fee876bca52ad941" dependencies = [ - "bitflags", - "errno 0.2.8", - "io-lifetimes 0.7.5", + "bitflags 1.3.2", + "errno", + "io-lifetimes", "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", ] [[package]] name = "rustix" -version = "0.36.7" +version = "0.37.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4fdebc4b395b7fbb9ab11e462e20ed9051e7b16e42d24042c776eca0ac81b03" +checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" dependencies = [ - "bitflags", - "errno 0.2.8", - "io-lifetimes 1.0.10", + "bitflags 1.3.2", + "errno", + "io-lifetimes", "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.42.0", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", ] [[package]] name = "rustix" -version = "0.37.18" +version = "0.38.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bbfc1d1c7c40c01715f47d71444744a81669ca84e8b63e25a55e169b1f86433" +checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5" dependencies = [ - "bitflags", - "errno 0.3.1", - "io-lifetimes 1.0.10", + "bitflags 2.3.3", + "errno", "libc", - "linux-raw-sys 0.3.6", + "linux-raw-sys 0.4.3", "windows-sys 0.48.0", ] @@ -9572,7 +9594,7 @@ version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ - "base64 0.13.0", + "base64 0.13.1", "log", "ring", "sct 0.6.1", @@ -9581,9 +9603,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.20.7" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "539a2bfe908f471bfa933876bd1eb6a19cf2176d375f82ef7f99530a40e48c2c" +checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" dependencies = [ "log", "ring", @@ -9593,9 +9615,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.2" +version = "0.21.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e32ca28af694bc1bbf399c33a516dbdf1c90090b8ab23c2bc24f834aa2247f5f" +checksum = "79ea77c539259495ce8ca47f53e66ae0330a8819f67e23ac96ca02f50e7b7d36" dependencies = [ "log", "ring", @@ -9605,39 +9627,30 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.6.1" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca9ebdfa27d3fc180e42879037b5338ab1c040c06affd00d8338598e7800943" +checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile 0.2.1", + "rustls-pemfile", "schannel", "security-framework", ] [[package]] name = "rustls-pemfile" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eebeaeb360c87bfb72e84abdb3447159c0eaececf1bef2aecd65a8be949d1c9" -dependencies = [ - "base64 0.13.0", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" +checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" dependencies = [ - "base64 0.21.0", + "base64 0.21.2", ] [[package]] name = "rustls-webpki" -version = "0.100.1" +version = "0.101.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" +checksum = "15f36a6828982f422756984e47912a7a51dcbc2a197aa791158f8ca61cd8204e" dependencies = [ "ring", "untrusted", @@ -9645,9 +9658,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.6" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "rw-stream-sink" @@ -9662,15 +9675,15 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.6" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c9613b5a66ab9ba26415184cfc41156594925a9cf3a2057e57f31ff145f6568" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "safe_arch" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "794821e4ccb0d9f979512f9c1973480123f9bd62a90d74ab0f9426fcf8f4a529" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" dependencies = [ "bytemuck", ] @@ -9687,7 +9700,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "log", "sp-core", @@ -9698,7 +9711,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "futures", @@ -9708,7 +9721,7 @@ dependencies = [ "log", "multihash", "parity-scale-codec", - "prost 0.11.0", + "prost", "prost-build", "rand 0.8.5", "sc-client-api", @@ -9726,7 +9739,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "futures", "futures-timer", @@ -9749,7 +9762,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9764,7 +9777,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9783,27 +9796,27 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "chrono", - "clap 4.2.5", + "clap 4.3.19", "fdlimit", "futures", "libp2p-identity", "log", - "names", + "names 0.13.0", "parity-scale-codec", "rand 0.8.5", "regex", @@ -9833,7 +9846,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "fnv", "futures", @@ -9859,7 +9872,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "hash-db", "kvdb", @@ -9885,7 +9898,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "futures", @@ -9910,7 +9923,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "fork-tree", @@ -9946,7 +9959,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "futures", "jsonrpsee", @@ -9968,7 +9981,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "async-channel", @@ -10002,7 +10015,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "futures", "jsonrpsee", @@ -10021,7 +10034,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10034,9 +10047,9 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ - "ahash 0.8.2", + "ahash 0.8.3", "array-bytes", "async-trait", "dyn-clone", @@ -10075,7 +10088,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "finality-grandpa", "futures", @@ -10095,7 +10108,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "futures", @@ -10118,7 +10131,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -10140,7 +10153,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -10152,13 +10165,13 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "anyhow", "cfg-if", "libc", "log", - "rustix 0.36.7", + "rustix 0.36.15", "sc-allocator", "sc-executor-common", "sp-runtime-interface", @@ -10169,7 +10182,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "ansi_term", "futures", @@ -10185,7 +10198,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -10199,7 +10212,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "async-channel", @@ -10240,14 +10253,14 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-channel", "cid", "futures", "libp2p-identity", "log", - "prost 0.11.0", + "prost", "prost-build", "sc-client-api", "sc-network", @@ -10260,10 +10273,10 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", - "bitflags", + "bitflags 1.3.2", "futures", "libp2p-identity", "parity-scale-codec", @@ -10277,9 +10290,9 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ - "ahash 0.8.2", + "ahash 0.8.3", "futures", "futures-timer", "libp2p", @@ -10295,7 +10308,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "async-channel", @@ -10303,7 +10316,7 @@ dependencies = [ "libp2p-identity", "log", "parity-scale-codec", - "prost 0.11.0", + "prost", "prost-build", "sc-client-api", "sc-network", @@ -10316,7 +10329,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "async-channel", @@ -10328,7 +10341,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "prost 0.11.0", + "prost", "prost-build", "sc-client-api", "sc-consensus", @@ -10350,7 +10363,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "futures", @@ -10368,7 +10381,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "bytes", @@ -10376,7 +10389,7 @@ dependencies = [ "futures", "futures-timer", "hyper", - "hyper-rustls 0.24.0", + "hyper-rustls 0.24.1", "libp2p", "log", "num_cpus", @@ -10402,7 +10415,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10411,7 +10424,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "futures", "jsonrpsee", @@ -10442,7 +10455,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10461,7 +10474,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "http", "jsonrpsee", @@ -10476,7 +10489,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "futures", @@ -10502,7 +10515,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "directories", @@ -10566,7 +10579,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "log", "parity-scale-codec", @@ -10577,9 +10590,9 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ - "clap 4.2.5", + "clap 4.3.19", "fs4", "log", "sc-client-db", @@ -10591,7 +10604,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10610,7 +10623,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "futures", "libc", @@ -10629,7 +10642,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "chrono", "futures", @@ -10648,7 +10661,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "ansi_term", "atty", @@ -10677,18 +10690,18 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "futures", @@ -10714,7 +10727,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "futures", @@ -10730,7 +10743,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-channel", "futures", @@ -10744,9 +10757,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.5.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cfdffd972d76b22f3d7f81c8be34b2296afd3a25e0a547bd9abe340a4dbbe97" +checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782" dependencies = [ "bitvec", "cfg-if", @@ -10758,9 +10771,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.5.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61fa974aea2d63dd18a4ec3a49d59af9f34178c73a4f56d2f18205628d00681e" +checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10770,12 +10783,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.19" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" +checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" dependencies = [ - "lazy_static", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -10784,7 +10796,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.2", + "ahash 0.8.3", "cfg-if", "hashbrown 0.13.2", ] @@ -10809,15 +10821,15 @@ dependencies = [ [[package]] name = "scopeguard" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scratch" -version = "1.0.2" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898" +checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" [[package]] name = "sct" @@ -10858,8 +10870,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ "base16ct 0.1.1", - "der 0.6.0", - "generic-array 0.14.6", + "der 0.6.1", + "generic-array 0.14.7", "pkcs8 0.9.0", "subtle", "zeroize", @@ -10867,13 +10879,13 @@ dependencies = [ [[package]] name = "sec1" -version = "0.7.1" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48518a2b5775ba8ca5b46596aae011caa431e6ce7e4a67ead66d92f08884220e" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ "base16ct 0.2.0", "der 0.7.7", - "generic-array 0.14.6", + "generic-array 0.14.7", "pkcs8 0.10.2", "subtle", "zeroize", @@ -10881,18 +10893,18 @@ dependencies = [ [[package]] name = "secp256k1" -version = "0.24.2" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9512ffd81e3a3503ed401f79c33168b9148c75038956039166cd750eaa037c3" +checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" dependencies = [ "secp256k1-sys", ] [[package]] name = "secp256k1-sys" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7058dc8eaf3f2810d7828680320acda0b25a288f6d288e19278e249bbf74226b" +checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" dependencies = [ "cc", ] @@ -10908,11 +10920,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.4.2" +version = "2.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525bc1abfda2e1998d152c45cf13e696f76d0a4972310b22fac1658b05df7c87" +checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" dependencies = [ - "bitflags", + "bitflags 1.3.2", "core-foundation", "core-foundation-sys", "libc", @@ -10921,9 +10933,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.4.2" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9dd14d83160b528b7bfd66439110573efcfbe281b17fc2ca9f39f550d619c7e" +checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" dependencies = [ "core-foundation-sys", "libc", @@ -10940,9 +10952,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.16" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" +checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" dependencies = [ "serde", ] @@ -10961,38 +10973,38 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5" [[package]] name = "serde" -version = "1.0.164" +version = "1.0.175" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d" +checksum = "5d25439cd7397d044e2748a6fe2432b5e85db703d6d097bd014b3c0ad1ebff0b" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.164" +version = "1.0.175" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68" +checksum = "b23f7ade6f110613c0d63858ddb8b94c1041f550eab58a16b371bdf2c9c80ab4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "serde_fmt" -version = "1.0.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2963a69a2b3918c1dc75a45a18bd3fcd1120e31d3f59deb1b2f9b5d5ffb8baa4" +checksum = "e1d4ddca14104cd60529e8c7f7ba71a2c8acd8f7f5cfcdc2faf97eeb7c3010a4" dependencies = [ "serde", ] [[package]] name = "serde_json" -version = "1.0.96" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" +checksum = "d03b412469450d4404fe8499a268edd7f8b79fecb074b0d812ad64ca21f4031b" dependencies = [ "itoa", "ryu", @@ -11001,9 +11013,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.1" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4" +checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" dependencies = [ "serde", ] @@ -11020,18 +11032,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha-1" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", -] - [[package]] name = "sha-1" version = "0.9.8" @@ -11047,13 +11047,24 @@ dependencies = [ [[package]] name = "sha-1" -version = "0.10.0" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + +[[package]] +name = "sha1" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" +checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -11070,9 +11081,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.9.8" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b69f9a4c9740d74c5baa3fd2e547f9525fa8088a8a958e0ca2409a514e33f5fa" +checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", "cfg-if", @@ -11083,22 +11094,22 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.2" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" +checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] name = "sha3" -version = "0.10.0" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f935e31cf406e8c0e96c2815a5516181b7004ae8c5f296293221e9b1e356bd" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "keccak", ] @@ -11119,9 +11130,9 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "signal-hook" -version = "0.3.14" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a253b5e89e2698464fc26b545c9edceb338e18a89effeeecfea192c3025be29d" +checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" dependencies = [ "libc", "signal-hook-registry", @@ -11129,9 +11140,9 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" +checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" dependencies = [ "libc", ] @@ -11154,7 +11165,7 @@ version = "1.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "rand_core 0.6.4", ] @@ -11164,15 +11175,15 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "rand_core 0.6.4", ] [[package]] name = "simba" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50582927ed6f77e4ac020c057f37a268fc6aebc29225050365aacbb9deeeddc4" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" dependencies = [ "approx", "num-complex", @@ -11189,15 +11200,18 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "slab" -version = "0.4.5" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" +checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" +dependencies = [ + "autocfg", +] [[package]] name = "slice-group-by" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" +checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" @@ -11221,9 +11235,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" +checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" [[package]] name = "snap" @@ -11244,7 +11258,7 @@ dependencies = [ "rand_core 0.6.4", "ring", "rustc_version", - "sha2 0.10.2", + "sha2 0.10.7", "subtle", ] @@ -11258,13 +11272,23 @@ dependencies = [ "winapi", ] +[[package]] +name = "socket2" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "soketto" version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" dependencies = [ - "base64 0.13.0", + "base64 0.13.1", "bytes", "flate2", "futures", @@ -11278,7 +11302,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "hash-db", "log", @@ -11299,7 +11323,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "Inflector", "blake2", @@ -11307,13 +11331,13 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "scale-info", @@ -11326,7 +11350,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "integer-sqrt", "num-traits", @@ -11340,7 +11364,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "scale-info", @@ -11353,7 +11377,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "sp-api", "sp-inherents", @@ -11364,7 +11388,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "futures", "log", @@ -11382,7 +11406,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "futures", @@ -11397,7 +11421,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "parity-scale-codec", @@ -11414,7 +11438,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "parity-scale-codec", @@ -11433,7 +11457,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "lazy_static", "parity-scale-codec", @@ -11452,7 +11476,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "finality-grandpa", "log", @@ -11470,7 +11494,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "scale-info", @@ -11482,10 +11506,10 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", - "bitflags", + "bitflags 1.3.2", "blake2", "bounded-collections", "bs58", @@ -11527,12 +11551,12 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "blake2b_simd", "byteorder", - "digest 0.10.6", - "sha2 0.10.2", + "digest 0.10.7", + "sha2 0.10.7", "sha3", "twox-hash", ] @@ -11540,17 +11564,17 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "quote", "sp-core-hashing", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11559,17 +11583,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "environmental", "parity-scale-codec", @@ -11580,7 +11604,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -11594,7 +11618,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "bytes", "ed25519", @@ -11619,7 +11643,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "lazy_static", "sp-core", @@ -11630,7 +11654,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -11642,16 +11666,16 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "thiserror", - "zstd 0.12.3+zstd.1.5.2", + "zstd 0.12.4", ] [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -11662,7 +11686,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11680,7 +11704,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "scale-info", @@ -11694,7 +11718,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "sp-api", "sp-core", @@ -11704,7 +11728,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "backtrace", "lazy_static", @@ -11714,7 +11738,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "rustc-hash", "serde", @@ -11724,7 +11748,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "either", "hash256-std-hasher", @@ -11746,7 +11770,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11764,19 +11788,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "Inflector", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "scale-info", @@ -11791,7 +11815,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11805,7 +11829,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "hash-db", "log", @@ -11826,7 +11850,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "aes-gcm 0.10.2", "curve25519-dalek 3.2.0", @@ -11835,7 +11859,7 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sha2 0.10.2", + "sha2 0.10.7", "sp-api", "sp-application-crypto", "sp-core", @@ -11850,12 +11874,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11868,7 +11892,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "parity-scale-codec", @@ -11881,7 +11905,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "sp-std", @@ -11893,7 +11917,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "sp-api", "sp-runtime", @@ -11902,7 +11926,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "parity-scale-codec", @@ -11917,9 +11941,9 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ - "ahash 0.8.2", + "ahash 0.8.3", "hash-db", "hashbrown 0.13.2", "lazy_static", @@ -11940,7 +11964,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11957,18 +11981,18 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11981,7 +12005,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "parity-scale-codec", "scale-info", @@ -12017,7 +12041,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" dependencies = [ "base64ct", - "der 0.6.0", + "der 0.6.1", ] [[package]] @@ -12032,9 +12056,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.36.0" +version = "1.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d92659e7d18d82b803824a9ba5a6022cff101c3491d027c1c1d8d30e749284" +checksum = "bfc443bad666016e012538782d9e3006213a7db43e9fb1dda91657dc06a6fa08" dependencies = [ "Inflector", "num-format", @@ -12056,7 +12080,7 @@ name = "staking-miner" version = "0.9.43" dependencies = [ "assert_cmd", - "clap 4.2.5", + "clap 4.3.19", "exitcode", "frame-election-provider-support", "frame-remote-externalities", @@ -12088,7 +12112,7 @@ dependencies = [ "sub-tokens", "thiserror", "tokio", - "tracing-subscriber 0.3.11", + "tracing-subscriber 0.3.17", "westend-runtime", ] @@ -12116,11 +12140,11 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg_aliases", "libc", "parking_lot 0.11.2", - "parking_lot_core 0.8.5", + "parking_lot_core 0.8.6", "static_init_macro 1.0.2", "winapi", ] @@ -12168,9 +12192,9 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.24.0" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6878079b17446e4d3eba6192bb0a2950d5b14f0ed8424b852310e5a94345d0ef" +checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ "heck", "proc-macro2", @@ -12185,7 +12209,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7e94b1ec00bad60e6410e058b52f1c66de3dc5fe4d62d09b3e52bb7d3b73e25" dependencies = [ - "base64 0.13.0", + "base64 0.13.1", "crc", "lazy_static", "md-5", @@ -12215,19 +12239,19 @@ dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", "schnorrkel", - "sha2 0.9.8", + "sha2 0.9.9", "zeroize", ] [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -12246,7 +12270,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "hyper", "log", @@ -12258,7 +12282,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", "jsonrpsee", @@ -12271,7 +12295,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12288,7 +12312,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "array-bytes", "async-trait", @@ -12314,7 +12338,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "futures", "substrate-test-utils-derive", @@ -12324,18 +12348,18 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "ansi_term", "build-helper", @@ -12345,7 +12369,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum", "tempfile", - "toml 0.7.3", + "toml 0.7.6", "walkdir", "wasm-opt", ] @@ -12435,9 +12459,9 @@ dependencies = [ [[package]] name = "symbolic-common" -version = "9.2.1" +version = "10.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "800963ba330b09a2ae4a4f7c6392b81fbc2784099a98c1eac68c3437aa9382b2" +checksum = "1b55cdc318ede251d0957f07afe5fed912119b8c1bc5a7804151826db999e737" dependencies = [ "debugid", "memmap2", @@ -12447,11 +12471,11 @@ dependencies = [ [[package]] name = "symbolic-demangle" -version = "9.2.1" +version = "10.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b940a1fdbc72bb3369e38714efe6cd332dbbe46d093cf03d668b9ac390d1ad0" +checksum = "79be897be8a483a81fff6a3a4e195b4ac838ef73ca42d348b3f722da9902e489" dependencies = [ - "cpp_demangle", + "cpp_demangle 0.4.2", "rustc-demangle", "symbolic-common", ] @@ -12469,9 +12493,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.16" +version = "2.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" +checksum = "b60f673f44a8255b9c8c657daf66a596d435f2da81a555b06dc644d080ba45e0" dependencies = [ "proc-macro2", "quote", @@ -12492,11 +12516,11 @@ dependencies = [ [[package]] name = "system-configuration" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75182f12f490e953596550b65ee31bda7c8e043d9386174b353bda50838c3fd" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" dependencies = [ - "bitflags", + "bitflags 1.3.2", "core-foundation", "system-configuration-sys", ] @@ -12519,38 +12543,37 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.5" +version = "0.12.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d" +checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e" [[package]] name = "tempfile" -version = "3.3.0" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" +checksum = "5486094ee78b2e5038a6382ed7645bc084dc2ec433426ca4c3cb61e2007b8998" dependencies = [ "cfg-if", - "fastrand", - "libc", - "redox_syscall", - "remove_dir_all", - "winapi", + "fastrand 2.0.0", + "redox_syscall 0.3.5", + "rustix 0.38.4", + "windows-sys 0.48.0", ] [[package]] name = "termcolor" -version = "1.1.2" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" +checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" dependencies = [ "winapi-util", ] [[package]] name = "termtree" -version = "0.2.3" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16" +checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-parachain-adder" @@ -12569,7 +12592,7 @@ dependencies = [ name = "test-parachain-adder-collator" version = "0.9.43" dependencies = [ - "clap 4.2.5", + "clap 4.3.19", "futures", "futures-timer", "log", @@ -12617,7 +12640,7 @@ dependencies = [ name = "test-parachain-undying-collator" version = "0.9.43" dependencies = [ - "clap 4.2.5", + "clap 4.3.19", "futures", "futures-timer", "log", @@ -12671,22 +12694,22 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.40" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" +checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.40" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" +checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -12697,10 +12720,11 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" [[package]] name = "thread_local" -version = "1.1.4" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" +checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" dependencies = [ + "cfg-if", "once_cell", ] @@ -12739,12 +12763,11 @@ dependencies = [ [[package]] name = "tikv-jemalloc-sys" -version = "0.5.2+5.3.0-patched" +version = "0.5.3+5.3.0-patched" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec45c14da997d0925c7835883e4d5c181f196fa142f8c19d7643d1e9af2592c3" +checksum = "a678df20055b43e57ef8cddde41cdfda9a3c1a060b67f4c5836dfb1d78543ba8" dependencies = [ "cc", - "fs_extra", "libc", ] @@ -12760,9 +12783,9 @@ dependencies = [ [[package]] name = "time" -version = "0.1.44" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" +checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" dependencies = [ "libc", "wasi 0.10.0+wasi-snapshot-preview1", @@ -12771,9 +12794,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.17" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a561bf4617eebd33bca6434b988f39ed798e527f51a1e797d0ee4f61c0a38376" +checksum = "59e399c068f43a5d116fedaf73b203fa4f9c519f17e2b34f63221d3792f81446" dependencies = [ "itoa", "serde", @@ -12783,15 +12806,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" +checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] name = "time-macros" -version = "0.2.6" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d967f99f534ca7e495c575c62638eebc2898a8c84c119b89e250477bc4ba16b2" +checksum = "96ba15a897f3c86766b757e5ac7221554c6750054d74d5b28844fce5fb36a6c4" dependencies = [ "time-core", ] @@ -12808,7 +12831,7 @@ dependencies = [ "pbkdf2 0.11.0", "rand 0.8.5", "rustc-hash", - "sha2 0.10.2", + "sha2 0.10.7", "thiserror", "unicode-normalization", "wasm-bindgen", @@ -12836,34 +12859,35 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.5.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c1c1d5a42b6245520c249549ec267180beaffcc0615401ac8e31853d4b6d8d2" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" dependencies = [ "tinyvec_macros", ] [[package]] name = "tinyvec_macros" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.28.0" +version = "1.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c786bf8134e5a3a166db9b29ab8f48134739014a3eca7bc6bfa95d673b136f" +checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da" dependencies = [ "autocfg", + "backtrace", "bytes", "libc", "mio", "num_cpus", "parking_lot 0.12.1", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.10", "signal-hook-registry", - "socket2", + "socket2 0.4.9", "tokio-macros", "windows-sys 0.48.0", ] @@ -12876,7 +12900,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -12892,11 +12916,11 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.23.2" +version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27d5f2b839802bd8267fa19b0530f5a08b9c08cd417976be2a65d130fe1c11b" +checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls 0.20.7", + "rustls 0.20.8", "tokio", "webpki 0.22.0", ] @@ -12907,27 +12931,27 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.2", + "rustls 0.21.5", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.9" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df54d54117d6fdc4e4fea40fe1e4e566b3505700e148a6827e59b34b0d2600d9" +checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.10", "tokio", "tokio-util", ] [[package]] name = "tokio-tungstenite" -version = "0.17.1" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06cda1232a49558c46f8a504d5b93101d42c0bf7f911f12a105ba48168f821ae" +checksum = "f714dd15bead90401d77e04243611caec13726c2408afd5b31901dfcdcb3b181" dependencies = [ "futures-util", "log", @@ -12937,15 +12961,15 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.1" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0edfdeb067411dba2044da6d1cb2df793dd35add7888d73c16e3381ded401764" +checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.10", "tokio", "tracing", ] @@ -12961,9 +12985,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.3" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b403acf6f2bb0859c93c7f0d967cb4a75a7ac552100f9322faf64dc047669b21" +checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" dependencies = [ "serde", "serde_spanned", @@ -12973,20 +12997,20 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.1" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.19.8" +version = "0.19.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" +checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" dependencies = [ - "indexmap", + "indexmap 2.0.0", "serde", "serde_spanned", "toml_datetime", @@ -13006,18 +13030,18 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.4.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d1d42a9b3f3ec46ba828e8d376aec14592ea199f70a06a548587ecd1c4ab658" +checksum = "55ae70283aba8d2a8b411c695c437fe25b8b5e44e23e780662002fc72fb47a82" dependencies = [ - "bitflags", + "bitflags 2.3.3", "bytes", "futures-core", "futures-util", "http", "http-body", "http-range-header", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.10", "tower-layer", "tower-service", ] @@ -13030,9 +13054,9 @@ checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" [[package]] name = "tower-service" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" +checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" @@ -13042,27 +13066,27 @@ checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if", "log", - "pin-project-lite 0.2.9", + "pin-project-lite 0.2.10", "tracing-attributes", "tracing-core", ] [[package]] name = "tracing-attributes" -version = "0.1.23" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" +checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] name = "tracing-core" -version = "0.1.30" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" +checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" dependencies = [ "once_cell", "valuable", @@ -13098,7 +13122,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -13114,9 +13138,9 @@ dependencies = [ [[package]] name = "tracing-serde" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb65ea441fbb84f9f6748fd496cf7f63ec9af5bca94dd86456978d055e8eb28b" +checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" dependencies = [ "serde", "tracing-core", @@ -13147,13 +13171,13 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.11" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bc28f93baff38037f64e6f43d34cfa1605f27a49c34e8a04c5e78b0babf2596" +checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" dependencies = [ - "ansi_term", - "lazy_static", "matchers 0.1.0", + "nu-ansi-term", + "once_cell", "regex", "sharded-slab", "smallvec", @@ -13203,7 +13227,7 @@ dependencies = [ "lazy_static", "rand 0.8.5", "smallvec", - "socket2", + "socket2 0.4.9", "thiserror", "tinyvec", "tokio", @@ -13233,17 +13257,17 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" +checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#839cf0c6cdf9febbb5836c7ef79b6f9befb27b5f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a97adfd69c56119a1cb243df342008552d5b8d9" dependencies = [ "async-trait", - "clap 4.2.5", + "clap 4.3.19", "frame-remote-externalities", "frame-try-runtime", "hex", @@ -13270,15 +13294,16 @@ dependencies = [ "sp-version", "sp-weights", "substrate-rpc-client", - "zstd 0.12.3+zstd.1.5.2", + "zstd 0.12.4", ] [[package]] name = "trybuild" -version = "1.0.75" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1212c215a87a183687a7cc7065901b1a98da6b37277d51a1b5faedbb4efd4f3" +checksum = "a84e0202ea606ba5ebee8507ab2bfbe89b98551ed9b8f0be198109275cff284b" dependencies = [ + "basic-toml", "dissimilar", "glob", "once_cell", @@ -13286,29 +13311,28 @@ dependencies = [ "serde_derive", "serde_json", "termcolor", - "toml 0.5.11", ] [[package]] name = "tt-call" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e66dcbec4290c69dd03c57e76c2469ea5c7ce109c6dd4351c13055cf71ea055" +checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" [[package]] name = "tungstenite" -version = "0.17.2" +version = "0.17.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96a2dea40e7570482f28eb57afbe42d97551905da6a9400acc5c328d24004f5" +checksum = "e27992fd6a8c29ee7eef28fc78349aa244134e10ad447ce3b9f0ac0ed0fa4ce0" dependencies = [ - "base64 0.13.0", + "base64 0.13.1", "byteorder", "bytes", "http", "httparse", "log", "rand 0.8.5", - "sha-1 0.10.0", + "sha-1 0.10.1", "thiserror", "url", "utf-8", @@ -13321,7 +13345,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4712ee30d123ec7ae26d1e1b218395a16c87cdbaf4b3925d170d684af62ea5e8" dependencies = [ "async-trait", - "base64 0.13.0", + "base64 0.13.1", "futures", "log", "md-5", @@ -13340,7 +13364,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", - "digest 0.10.6", + "digest 0.10.7", "rand 0.8.5", "static_assertions", ] @@ -13353,15 +13377,15 @@ checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] name = "ucd-trie" -version = "0.1.3" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" +checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" [[package]] name = "uint" -version = "0.9.1" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6470ab50f482bde894a037a57064480a246dbfdd5960bd65a44824693f08da5f" +checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" dependencies = [ "byteorder", "crunchy", @@ -13371,36 +13395,36 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.7" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f" +checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.8" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" +checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" [[package]] name = "unicode-normalization" -version = "0.1.19" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" +checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" dependencies = [ "tinyvec", ] [[package]] name = "unicode-width" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" +checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" [[package]] name = "unicode-xid" -version = "0.2.2" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "universal-hash" @@ -13408,7 +13432,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" dependencies = [ - "generic-array 0.14.6", + "generic-array 0.14.7", "subtle", ] @@ -13442,12 +13466,12 @@ checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] name = "url" -version = "2.3.1" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" +checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" dependencies = [ "form_urlencoded", - "idna 0.3.0", + "idna 0.4.0", "percent-encoding", ] @@ -13465,11 +13489,11 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.2.2" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "422ee0de9031b5b948b97a8fc04e3aa35230001a722ddd27943e0be31564ce4c" +checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" dependencies = [ - "getrandom 0.2.8", + "getrandom 0.2.10", ] [[package]] @@ -13558,22 +13582,20 @@ checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" [[package]] name = "walkdir" -version = "2.3.2" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" +checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" dependencies = [ "same-file", - "winapi", "winapi-util", ] [[package]] name = "want" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" dependencies = [ - "log", "try-lock", ] @@ -13597,9 +13619,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.85" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b6cb788c4e39112fbe1822277ef6fb3c55cd86b95cb3d3c4c1c9597e4ac74b4" +checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" dependencies = [ "cfg-if", "serde", @@ -13609,24 +13631,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.85" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e522ed4105a9d626d885b35d62501b30d9666283a5c8be12c14a8bdafe7822" +checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.35" +version = "0.4.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "083abe15c5d88556b77bdf7aef403625be9e327ad37c62c4e4129af740168163" +checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" dependencies = [ "cfg-if", "js-sys", @@ -13636,9 +13658,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.85" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "358a79a0cb89d21db8120cbfb91392335913e4890665b1a7981d9e956903b434" +checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -13646,22 +13668,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.85" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4783ce29f09b9d93134d41297aded3a712b7b979e9c6f28c32cb88c973a94869" +checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.85" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a901d592cafaa4d711bc324edfaff879ac700b19c3dfd60058d2b445be2691eb" +checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasm-instrument" @@ -13733,7 +13755,7 @@ version = "0.102.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" dependencies = [ - "indexmap", + "indexmap 1.9.3", "url", ] @@ -13746,10 +13768,10 @@ dependencies = [ "anyhow", "bincode", "cfg-if", - "indexmap", + "indexmap 1.9.3", "libc", "log", - "object", + "object 0.30.4", "once_cell", "paste", "psm", @@ -13781,14 +13803,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" dependencies = [ "anyhow", - "base64 0.21.0", + "base64 0.21.2", "bincode", "directories-next", "file-per-thread-logger", "log", - "rustix 0.36.7", + "rustix 0.36.15", "serde", - "sha2 0.10.2", + "sha2 0.10.7", "toml 0.5.11", "windows-sys 0.45.0", "zstd 0.11.2+zstd.1.5.2", @@ -13808,7 +13830,7 @@ dependencies = [ "cranelift-wasm", "gimli", "log", - "object", + "object 0.30.4", "target-lexicon", "thiserror", "wasmparser", @@ -13826,7 +13848,7 @@ dependencies = [ "cranelift-codegen", "cranelift-native", "gimli", - "object", + "object 0.30.4", "target-lexicon", "wasmtime-environ", ] @@ -13840,9 +13862,9 @@ dependencies = [ "anyhow", "cranelift-entity", "gimli", - "indexmap", + "indexmap 1.9.3", "log", - "object", + "object 0.30.4", "serde", "target-lexicon", "thiserror", @@ -13856,14 +13878,14 @@ version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" dependencies = [ - "addr2line", + "addr2line 0.19.0", "anyhow", "bincode", "cfg-if", - "cpp_demangle", + "cpp_demangle 0.3.5", "gimli", "log", - "object", + "object 0.30.4", "rustc-demangle", "serde", "target-lexicon", @@ -13880,9 +13902,9 @@ version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" dependencies = [ - "object", + "object 0.30.4", "once_cell", - "rustix 0.36.7", + "rustix 0.36.15", ] [[package]] @@ -13905,7 +13927,7 @@ dependencies = [ "anyhow", "cc", "cfg-if", - "indexmap", + "indexmap 1.9.3", "libc", "log", "mach", @@ -13913,7 +13935,7 @@ dependencies = [ "memoffset 0.8.0", "paste", "rand 0.8.5", - "rustix 0.36.7", + "rustix 0.36.15", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", @@ -13934,9 +13956,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.55" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38eb105f1c59d9eaa6b5cdc92b859d85b926e82cb2e0945cd0c9259faa6fe9fb" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" dependencies = [ "js-sys", "wasm-bindgen", @@ -13964,9 +13986,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.22.2" +version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "552ceb903e957524388c4d3475725ff2c8b7960922063af6ce53c9a43da07449" +checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" dependencies = [ "webpki 0.22.0", ] @@ -13994,10 +14016,10 @@ dependencies = [ "sdp", "serde", "serde_json", - "sha2 0.10.2", + "sha2 0.10.7", "stun", "thiserror", - "time 0.3.17", + "time 0.3.23", "tokio", "turn", "url", @@ -14029,22 +14051,22 @@ dependencies = [ [[package]] name = "webrtc-dtls" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7021987ae0a2ed6c8cd33f68e98e49bb6e74ffe9543310267b48a1bbe3900e5f" +checksum = "942be5bd85f072c3128396f6e5a9bfb93ca8c1939ded735d177b7bcba9a13d05" dependencies = [ "aes 0.6.0", - "aes-gcm 0.8.0", + "aes-gcm 0.10.2", "async-trait", "bincode", "block-modes", "byteorder", "ccm", "curve25519-dalek 3.2.0", - "der-parser 8.1.0", + "der-parser 8.2.0", "elliptic-curve 0.12.3", "hkdf", - "hmac 0.10.1", + "hmac 0.12.1", "log", "oid-registry 0.6.1", "p256", @@ -14056,8 +14078,8 @@ dependencies = [ "rustls 0.19.1", "sec1 0.3.0", "serde", - "sha-1 0.9.8", - "sha2 0.9.8", + "sha1", + "sha2 0.10.7", "signature 1.6.4", "subtle", "thiserror", @@ -14070,9 +14092,9 @@ dependencies = [ [[package]] name = "webrtc-ice" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494483fbb2f5492620871fdc78b084aed8807377f6e3fe88b2e49f0a9c9c41d7" +checksum = "465a03cc11e9a7d7b4f9f99870558fe37a102b65b93f8045392fef7c67b39e80" dependencies = [ "arc-swap", "async-trait", @@ -14099,7 +14121,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" dependencies = [ "log", - "socket2", + "socket2 0.4.9", "thiserror", "tokio", "webrtc-util", @@ -14107,18 +14129,15 @@ dependencies = [ [[package]] name = "webrtc-media" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2a3c157a040324e5049bcbd644ffc9079e6738fa2cfab2bcff64e5cc4c00d7" +checksum = "f72e1650a8ae006017d1a5280efb49e2610c19ccc3c0905b03b648aee9554991" dependencies = [ "byteorder", "bytes", - "derive_builder", - "displaydoc", "rand 0.8.5", "rtp", "thiserror", - "webrtc-util", ] [[package]] @@ -14169,29 +14188,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f1db1727772c05cf7a2cfece52c3aca8045ca1e176cd517d323489aa3c6d87" dependencies = [ "async-trait", - "bitflags", + "bitflags 1.3.2", "bytes", "cc", "ipnet", "lazy_static", "libc", "log", - "nix 0.24.1", + "nix 0.24.3", "rand 0.8.5", "thiserror", "tokio", "winapi", ] -[[package]] -name = "wepoll-ffi" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb" -dependencies = [ - "cc", -] - [[package]] name = "westend-runtime" version = "0.9.43" @@ -14305,20 +14315,20 @@ dependencies = [ [[package]] name = "which" -version = "4.2.2" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9" +checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" dependencies = [ "either", - "lazy_static", "libc", + "once_cell", ] [[package]] name = "wide" -version = "0.7.6" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "feff0a412894d67223777b6cc8d68c0dab06d52d95e9890d5f2d47f10dd9366c" +checksum = "aa469ffa65ef7e0ba0f164183697b89b854253fd31aeb92358b7b6155177d62f" dependencies = [ "bytemuck", "safe_arch", @@ -14326,9 +14336,9 @@ dependencies = [ [[package]] name = "widestring" -version = "0.5.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983" +checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8" [[package]] name = "winapi" @@ -14375,31 +14385,12 @@ dependencies = [ ] [[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc 0.36.1", - "windows_i686_gnu 0.36.1", - "windows_i686_msvc 0.36.1", - "windows_x86_64_gnu 0.36.1", - "windows_x86_64_msvc 0.36.1", -] - -[[package]] -name = "windows-sys" -version = "0.42.0" +name = "windows" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", + "windows-targets 0.48.1", ] [[package]] @@ -14417,7 +14408,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets 0.48.0", + "windows-targets 0.48.1", ] [[package]] @@ -14437,9 +14428,9 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.48.0" +version = "0.48.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" +checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" dependencies = [ "windows_aarch64_gnullvm 0.48.0", "windows_aarch64_msvc 0.48.0", @@ -14468,12 +14459,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -14492,12 +14477,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -14516,12 +14495,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -14540,12 +14513,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -14576,12 +14543,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -14596,29 +14557,30 @@ checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" [[package]] name = "winnow" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deac0939bd6e4f24ab5919fbf751c97a8cfc8543bb083a305ed5c0c10bb241d1" +checksum = "81fac9742fd1ad1bd9643b991319f72dd031016d44b77039a26977eb667141e7" dependencies = [ "memchr", ] [[package]] name = "winreg" -version = "0.7.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" +checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" dependencies = [ "winapi", ] [[package]] name = "winreg" -version = "0.10.1" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" +checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" dependencies = [ - "winapi", + "cfg-if", + "windows-sys 0.48.0", ] [[package]] @@ -14659,7 +14621,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9fb9bace5b5589ffead1afb76e43e34cff39cd0f3ce7e170ae0c29e53b88eb1c" dependencies = [ "asn1-rs 0.3.1", - "base64 0.13.0", + "base64 0.13.1", "data-encoding", "der-parser 7.0.0", "lazy_static", @@ -14668,7 +14630,7 @@ dependencies = [ "ring", "rusticata-macros", "thiserror", - "time 0.3.17", + "time 0.3.23", ] [[package]] @@ -14677,16 +14639,16 @@ version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" dependencies = [ - "asn1-rs 0.5.1", - "base64 0.13.0", + "asn1-rs 0.5.2", + "base64 0.13.1", "data-encoding", - "der-parser 8.1.0", + "der-parser 8.2.0", "lazy_static", "nom", "oid-registry 0.6.1", "rusticata-macros", "thiserror", - "time 0.3.17", + "time 0.3.23", ] [[package]] @@ -14780,7 +14742,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.27", ] [[package]] @@ -14875,11 +14837,11 @@ checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" [[package]] name = "yasna" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aed2e7a52e3744ab4d0c05c20aa065258e84c49fd4226f5191b2ed29712710b4" +checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.17", + "time 0.3.23", ] [[package]] @@ -14893,14 +14855,13 @@ dependencies = [ [[package]] name = "zeroize_derive" -version = "1.3.2" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17" +checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", - "synstructure", + "syn 2.0.27", ] [[package]] @@ -14931,11 +14892,11 @@ dependencies = [ [[package]] name = "zstd" -version = "0.12.3+zstd.1.5.2" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76eea132fb024e0e13fd9c2f5d5d595d8a967aa72382ac2f9d39fcc95afd0806" +checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" dependencies = [ - "zstd-safe 6.0.5+zstd.1.5.4", + "zstd-safe 6.0.6", ] [[package]] @@ -14950,9 +14911,9 @@ dependencies = [ [[package]] name = "zstd-safe" -version = "6.0.5+zstd.1.5.4" +version = "6.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56d9e60b4b1758206c238a10165fbcae3ca37b01744e394c463463f6529d23b" +checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" dependencies = [ "libc", "zstd-sys", diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 78e24d4c2077..62b1df2bde85 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -158,14 +158,15 @@ pub mod pallet { pub type MaxPermanentSlots = StorageValue<_, u32, ValueQuery>; #[pallet::genesis_config] - #[derive(Default)] - pub struct GenesisConfig { + #[derive(frame_support::DefaultNoBound)] + pub struct GenesisConfig { pub max_temporary_slots: u32, pub max_permanent_slots: u32, + pub _config: PhantomData, } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { >::put(&self.max_permanent_slots); >::put(&self.max_temporary_slots); diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 29884e18a83e..1950b3945ddb 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1467,7 +1467,7 @@ construct_runtime! { MmrLeaf: pallet_beefy_mmr::{Pallet, Storage} = 242, ParasSudoWrapper: paras_sudo_wrapper::{Pallet, Call} = 250, - AssignedSlots: assigned_slots::{Pallet, Call, Storage, Event} = 251, + AssignedSlots: assigned_slots::{Pallet, Call, Storage, Event, Config} = 251, // Validator Manager pallet. ValidatorManager: validator_manager::{Pallet, Call, Storage, Event} = 252, diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index dd9c03a3a100..02b6281b7e16 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1228,7 +1228,7 @@ construct_runtime! { ParasSudoWrapper: paras_sudo_wrapper::{Pallet, Call} = 62, Auctions: auctions::{Pallet, Call, Storage, Event} = 63, Crowdloan: crowdloan::{Pallet, Call, Storage, Event} = 64, - AssignedSlots: assigned_slots::{Pallet, Call, Storage, Event} = 65, + AssignedSlots: assigned_slots::{Pallet, Call, Storage, Event, Config} = 65, // Pallet for sending XCM. XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event, Origin, Config} = 99, From a3af0fff90b412c1c0714e1f947a603726227c67 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Mon, 24 Jul 2023 20:03:44 +0200 Subject: [PATCH 26/50] assigned_slots default in genesis --- node/service/src/chain_spec.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 3928b8618659..428c712223ba 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -515,6 +515,7 @@ fn westend_staging_testnet_config_genesis(wasm_binary: &[u8]) -> westend::Runtim }, xcm_pallet: Default::default(), nomination_pools: Default::default(), + assigned_slots: Default::default(), } } @@ -1022,6 +1023,7 @@ fn rococo_staging_testnet_config_genesis( }, xcm_pallet: Default::default(), nis_counterpart_balances: Default::default(), + assigned_slots: Default::default(), } } @@ -1483,6 +1485,7 @@ pub fn westend_testnet_genesis( }, xcm_pallet: Default::default(), nomination_pools: Default::default(), + assigned_slots: Default::default(), } } @@ -1572,6 +1575,7 @@ pub fn rococo_testnet_genesis( }, xcm_pallet: Default::default(), nis_counterpart_balances: Default::default(), + assigned_slots: Default::default(), } } From 03dd31bdf726a09f9cb1ae12bd04a33b91ddbf65 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 25 Jul 2023 09:29:34 +0200 Subject: [PATCH 27/50] cargo fmt --- runtime/common/src/assigned_slots/mod.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 62b1df2bde85..7c71028373c0 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -214,7 +214,7 @@ pub mod pallet { if let Some((lease_period, first_block)) = Self::lease_period_index(n) { // If we're beginning a new lease period then handle that. if first_block { - return Self::manage_lease_period_start(lease_period); + return Self::manage_lease_period_start(lease_period) } } @@ -334,8 +334,8 @@ pub mod pallet { lease_count: 0, }; - if lease_period_start == SlotLeasePeriodStart::Current - && Self::active_temporary_slot_count() < T::MaxTemporarySlotPerLeasePeriod::get() + if lease_period_start == SlotLeasePeriodStart::Current && + Self::active_temporary_slot_count() < T::MaxTemporarySlotPerLeasePeriod::get() { // Try to allocate slot directly match Self::configure_slot_lease( @@ -495,8 +495,8 @@ impl Pallet { }); let mut newly_created_lease = 0u32; - if active_temp_slots < T::MaxTemporarySlotPerLeasePeriod::get() - && !pending_temp_slots.is_empty() + if active_temp_slots < T::MaxTemporarySlotPerLeasePeriod::get() && + !pending_temp_slots.is_empty() { // Sort by lease_count, favoring slots that had no or less turns first // (then by last_lease index, and then Para ID) @@ -599,8 +599,8 @@ impl Pallet { err ); } - ::WeightInfo::force_lease() - * (T::MaxTemporarySlotPerLeasePeriod::get() as u64) + ::WeightInfo::force_lease() * + (T::MaxTemporarySlotPerLeasePeriod::get() as u64) } } From 1c059af7197fa93739a2dbac4152da18c7547df4 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 25 Jul 2023 10:11:04 +0200 Subject: [PATCH 28/50] assigned_slots fix tests config --- runtime/common/src/assigned_slots/mod.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 7c71028373c0..f7000ebe4e7b 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -759,13 +759,12 @@ mod tests { .assimilate_storage(&mut t) .unwrap(); - GenesisBuild::::assimilate_storage( - &crate::assigned_slots::GenesisConfig { + crate::assigned_slots::GenesisConfig:: { max_temporary_slots: 6, max_permanent_slots: 2, - }, - &mut t, - ) + _config: Default::default() + } + .assimilate_storage(&mut t) .unwrap(); t.into() From 200597a5b4179e4bbb9189973f5a995de3ba6b06 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 25 Jul 2023 10:13:58 +0200 Subject: [PATCH 29/50] cargo fmt --- runtime/common/src/assigned_slots/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index f7000ebe4e7b..9f55ba6377a5 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -760,9 +760,9 @@ mod tests { .unwrap(); crate::assigned_slots::GenesisConfig:: { - max_temporary_slots: 6, - max_permanent_slots: 2, - _config: Default::default() + max_temporary_slots: 6, + max_permanent_slots: 2, + _config: Default::default(), } .assimilate_storage(&mut t) .unwrap(); From 5c2b2eb8fdd5d71857d306152aa417c24efd1c4d Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Wed, 26 Jul 2023 10:44:28 +0200 Subject: [PATCH 30/50] fix benchmarking compile error --- runtime/common/src/assigned_slots/benchmarking.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index 4e8f0def5484..a5ca7f436966 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -15,17 +15,20 @@ // along with Polkadot. If not, see . //! Benchmarking for assigned_slots pallet + #![cfg(feature = "runtime-benchmarks")] use super::{Pallet as AssignedSlots, *}; use frame_benchmarking::v2::*; use frame_support::assert_ok; -use frame_system::RawOrigin; +use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; use primitives::Id as ParaId; +#[cfg(test)] #[benchmarks] mod benchmarks { use super::*; + use crate::mock::TestRegistrar; use ::test_helpers::{dummy_head_data, dummy_validation_code}; @@ -46,7 +49,7 @@ mod benchmarks { register_parachain::(para_id); let counter = PermanentSlotCount::::get(); - let current_lease_period: T::BlockNumber = + let current_lease_period: BlockNumberFor = T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) .and_then(|x| Some(x.0)) .unwrap(); @@ -69,7 +72,7 @@ mod benchmarks { let caller = RawOrigin::Root; register_parachain::(para_id); - let current_lease_period: T::BlockNumber = + let current_lease_period: BlockNumberFor = T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) .and_then(|x| Some(x.0)) .unwrap(); @@ -82,7 +85,7 @@ mod benchmarks { manager: whitelisted_caller(), period_begin: current_lease_period, period_count: LeasePeriodOf::::from(T::TemporarySlotLeasePeriodLength::get()), - last_lease: Some(T::BlockNumber::zero()), + last_lease: Some(BlockNumberFor::::zero()), lease_count: 1, }; assert_eq!(TemporarySlots::::get(para_id), Some(tmp)); From 473d073cebe2d4101cfb789e2fd518aa2a1b78ec Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 3 Aug 2023 11:41:32 +0200 Subject: [PATCH 31/50] fix benchmarking imports --- .../common/src/assigned_slots/benchmarking.rs | 29 +++++++------------ 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index a5ca7f436966..eb886ff61332 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -20,33 +20,20 @@ use super::{Pallet as AssignedSlots, *}; use frame_benchmarking::v2::*; -use frame_support::assert_ok; use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; -use primitives::Id as ParaId; +use primitives::{HeadData, Id as ParaId, ValidationCode}; -#[cfg(test)] #[benchmarks] mod benchmarks { use super::*; - use crate::mock::TestRegistrar; - use ::test_helpers::{dummy_head_data, dummy_validation_code}; - - fn register_parachain(para_id: ParaId) { - let caller: T::AccountId = whitelisted_caller(); - assert_ok!(TestRegistrar::::register( - caller, - para_id, - dummy_head_data(), - dummy_validation_code(), - )); - } - #[benchmark] fn assign_perm_parachain_slot() { let para_id = ParaId::from(2000_u32); let caller = RawOrigin::Root; - register_parachain::(para_id); + let who: T::AccountId = whitelisted_caller(); + let _ = + T::Registrar::register(who, para_id, HeadData(vec![]), ValidationCode(vec![1, 2, 3])); let counter = PermanentSlotCount::::get(); let current_lease_period: BlockNumberFor = @@ -70,7 +57,9 @@ mod benchmarks { fn assign_temp_parachain_slot() { let para_id = ParaId::from(2001_u32); let caller = RawOrigin::Root; - register_parachain::(para_id); + let who: T::AccountId = whitelisted_caller(); + let _ = + T::Registrar::register(who, para_id, HeadData(vec![]), ValidationCode(vec![1, 2, 3])); let current_lease_period: BlockNumberFor = T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) @@ -96,7 +85,9 @@ mod benchmarks { fn unassign_parachain_slot() { let para_id = ParaId::from(2002_u32); let caller = RawOrigin::Root; - register_parachain::(para_id); + let who: T::AccountId = whitelisted_caller(); + let _ = + T::Registrar::register(who, para_id, HeadData(vec![]), ValidationCode(vec![1, 2, 3])); let _ = AssignedSlots::::assign_temp_parachain_slot( caller.clone().into(), para_id, From 1cb23628bc07607cab4463e86d49e027958d6798 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 3 Aug 2023 13:20:36 +0200 Subject: [PATCH 32/50] benchmark worst case scenario for validation code and head data --- .../common/src/assigned_slots/benchmarking.rs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index eb886ff61332..ebb9a2c2b5ea 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -21,7 +21,7 @@ use super::{Pallet as AssignedSlots, *}; use frame_benchmarking::v2::*; use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; -use primitives::{HeadData, Id as ParaId, ValidationCode}; +use primitives::Id as ParaId; #[benchmarks] mod benchmarks { @@ -32,8 +32,9 @@ mod benchmarks { let para_id = ParaId::from(2000_u32); let caller = RawOrigin::Root; let who: T::AccountId = whitelisted_caller(); - let _ = - T::Registrar::register(who, para_id, HeadData(vec![]), ValidationCode(vec![1, 2, 3])); + let worst_validation_code = T::Registrar::worst_validation_code(); + let worst_head_data = T::Registrar::worst_head_data(); + let _ = T::Registrar::register(who, para_id, worst_head_data, worst_validation_code); let counter = PermanentSlotCount::::get(); let current_lease_period: BlockNumberFor = @@ -58,8 +59,9 @@ mod benchmarks { let para_id = ParaId::from(2001_u32); let caller = RawOrigin::Root; let who: T::AccountId = whitelisted_caller(); - let _ = - T::Registrar::register(who, para_id, HeadData(vec![]), ValidationCode(vec![1, 2, 3])); + let worst_validation_code = T::Registrar::worst_validation_code(); + let worst_head_data = T::Registrar::worst_head_data(); + let _ = T::Registrar::register(who, para_id, worst_head_data, worst_validation_code); let current_lease_period: BlockNumberFor = T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) @@ -86,8 +88,9 @@ mod benchmarks { let para_id = ParaId::from(2002_u32); let caller = RawOrigin::Root; let who: T::AccountId = whitelisted_caller(); - let _ = - T::Registrar::register(who, para_id, HeadData(vec![]), ValidationCode(vec![1, 2, 3])); + let worst_validation_code = T::Registrar::worst_validation_code(); + let worst_head_data = T::Registrar::worst_head_data(); + let _ = T::Registrar::register(who, para_id, worst_head_data, worst_validation_code); let _ = AssignedSlots::::assign_temp_parachain_slot( caller.clone().into(), para_id, From cbffba071aa0e0a7071a5f849b0487486bc76e22 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 3 Aug 2023 18:24:03 +0200 Subject: [PATCH 33/50] add assigned_slots in frame_benchmarking on Rococo and Westend --- runtime/rococo/src/lib.rs | 1 + runtime/westend/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 1950b3945ddb..96b90e8c4045 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1569,6 +1569,7 @@ mod benches { // Polkadot // NOTE: Make sure to prefix these with `runtime_common::` so // the that path resolves correctly in the generated file. + [runtime_common::assigned_slots, AssignedSlots] [runtime_common::auctions, Auctions] [runtime_common::crowdloan, Crowdloan] [runtime_common::claims, Claims] diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 02b6281b7e16..75c72bca274f 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1307,6 +1307,7 @@ mod benches { // Polkadot // NOTE: Make sure to prefix these with `runtime_common::` so // the that path resolves correctly in the generated file. + [runtime_common::assigned_slots, AssignedSlots] [runtime_common::auctions, Auctions] [runtime_common::crowdloan, Crowdloan] [runtime_common::paras_registrar, Registrar] From ca650888531f73a6974ff32992c474ca7ecd582c Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 3 Aug 2023 20:11:47 +0200 Subject: [PATCH 34/50] modify values for para_id in benchmarking --- runtime/common/src/assigned_slots/benchmarking.rs | 6 +++--- runtime/common/src/assigned_slots/mod.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index ebb9a2c2b5ea..8ece014f1b68 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -29,7 +29,7 @@ mod benchmarks { #[benchmark] fn assign_perm_parachain_slot() { - let para_id = ParaId::from(2000_u32); + let para_id = ParaId::from(1_u32); let caller = RawOrigin::Root; let who: T::AccountId = whitelisted_caller(); let worst_validation_code = T::Registrar::worst_validation_code(); @@ -56,7 +56,7 @@ mod benchmarks { #[benchmark] fn assign_temp_parachain_slot() { - let para_id = ParaId::from(2001_u32); + let para_id = ParaId::from(2_u32); let caller = RawOrigin::Root; let who: T::AccountId = whitelisted_caller(); let worst_validation_code = T::Registrar::worst_validation_code(); @@ -85,7 +85,7 @@ mod benchmarks { #[benchmark] fn unassign_parachain_slot() { - let para_id = ParaId::from(2002_u32); + let para_id = ParaId::from(3_u32); let caller = RawOrigin::Root; let who: T::AccountId = whitelisted_caller(); let worst_validation_code = T::Registrar::worst_validation_code(); diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 9f55ba6377a5..897c00ed7795 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -234,7 +234,7 @@ pub mod pallet { let manager = T::Registrar::manager_of(id).ok_or(Error::::ParaDoesntExist)?; - ensure!(T::Registrar::is_parathread(id), Error::::NotParathread,); + ensure!(T::Registrar::is_parathread(id), Error::::NotParathread); ensure!( !Self::has_permanent_slot(id) && !Self::has_temporary_slot(id), From 61b6a952bdf4fddc10ca54d6da00d2bddfa04a5e Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 3 Aug 2023 20:30:33 +0200 Subject: [PATCH 35/50] delete the assigned_slots in westend frame_benchmarking --- runtime/westend/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 75c72bca274f..02b6281b7e16 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1307,7 +1307,6 @@ mod benches { // Polkadot // NOTE: Make sure to prefix these with `runtime_common::` so // the that path resolves correctly in the generated file. - [runtime_common::assigned_slots, AssignedSlots] [runtime_common::auctions, Auctions] [runtime_common::crowdloan, Crowdloan] [runtime_common::paras_registrar, Registrar] From 7be2dc09bdf9c86e5bcb1eaf91f47cd19897d970 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Mon, 7 Aug 2023 11:33:20 +0200 Subject: [PATCH 36/50] fix benchmarkings and add it to westend --- .../common/src/assigned_slots/benchmarking.rs | 54 +++++++++++++------ runtime/westend/src/lib.rs | 1 + 2 files changed, 40 insertions(+), 15 deletions(-) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index 8ece014f1b68..cd46c1c3e317 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -17,24 +17,49 @@ //! Benchmarking for assigned_slots pallet #![cfg(feature = "runtime-benchmarks")] -use super::{Pallet as AssignedSlots, *}; +use super::*; use frame_benchmarking::v2::*; use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; +use frame_support::assert_ok; +use sp_runtime::traits::Bounded; use primitives::Id as ParaId; -#[benchmarks] +type CurrencyOf = <::Leaser as Leaser>>::Currency; +type BalanceOf = <<::Leaser as Leaser>>::Currency as Currency< + ::AccountId, +>>::Balance; +#[benchmarks(where + //T: Config + ParasRegistrarConfig, + T: Config +)] mod benchmarks { use super::*; + use crate::assigned_slots::Pallet as AssignedSlots; + + fn register_parachain(para_id: ParaId) { + let who: T::AccountId = whitelisted_caller(); + let worst_validation_code = T::Registrar::worst_validation_code(); + let worst_head_data = T::Registrar::worst_head_data(); + + CurrencyOf::::make_free_balance_be(&who, BalanceOf::::max_value()); + + assert_ok!(T::Registrar::register(who, para_id, worst_head_data, worst_validation_code.clone())); + assert_ok!(paras::Pallet::::add_trusted_validation_code( + frame_system::Origin::::Root.into(), + worst_validation_code, + )); + T::Registrar::execute_pending_transitions(); + } + #[benchmark] fn assign_perm_parachain_slot() { let para_id = ParaId::from(1_u32); let caller = RawOrigin::Root; - let who: T::AccountId = whitelisted_caller(); - let worst_validation_code = T::Registrar::worst_validation_code(); - let worst_head_data = T::Registrar::worst_head_data(); - let _ = T::Registrar::register(who, para_id, worst_head_data, worst_validation_code); + + let _ = AssignedSlots::::set_max_permanent_slots(frame_system::Origin::::Root.into(), 10); + register_parachain::(para_id); let counter = PermanentSlotCount::::get(); let current_lease_period: BlockNumberFor = @@ -58,10 +83,9 @@ mod benchmarks { fn assign_temp_parachain_slot() { let para_id = ParaId::from(2_u32); let caller = RawOrigin::Root; - let who: T::AccountId = whitelisted_caller(); - let worst_validation_code = T::Registrar::worst_validation_code(); - let worst_head_data = T::Registrar::worst_head_data(); - let _ = T::Registrar::register(who, para_id, worst_head_data, worst_validation_code); + + let _ = AssignedSlots::::set_max_temporary_slots(frame_system::Origin::::Root.into(), 10); + register_parachain::(para_id); let current_lease_period: BlockNumberFor = T::Leaser::lease_period_index(frame_system::Pallet::::block_number()) @@ -87,10 +111,10 @@ mod benchmarks { fn unassign_parachain_slot() { let para_id = ParaId::from(3_u32); let caller = RawOrigin::Root; - let who: T::AccountId = whitelisted_caller(); - let worst_validation_code = T::Registrar::worst_validation_code(); - let worst_head_data = T::Registrar::worst_head_data(); - let _ = T::Registrar::register(who, para_id, worst_head_data, worst_validation_code); + + let _ = AssignedSlots::::set_max_temporary_slots(frame_system::Origin::::Root.into(), 10); + register_parachain::(para_id); + let _ = AssignedSlots::::assign_temp_parachain_slot( caller.clone().into(), para_id, @@ -126,6 +150,6 @@ mod benchmarks { impl_benchmark_test_suite!( AssignedSlots, crate::assigned_slots::tests::new_test_ext(), - crate::assigned_slots::tests::Test + crate::assigned_slots::tests::Test, ); } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 02b6281b7e16..75c72bca274f 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1307,6 +1307,7 @@ mod benches { // Polkadot // NOTE: Make sure to prefix these with `runtime_common::` so // the that path resolves correctly in the generated file. + [runtime_common::assigned_slots, AssignedSlots] [runtime_common::auctions, Auctions] [runtime_common::crowdloan, Crowdloan] [runtime_common::paras_registrar, Registrar] From 34e8bc1981e909a2efe87824e9c977b93530ea77 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Mon, 7 Aug 2023 11:41:22 +0200 Subject: [PATCH 37/50] cargo fmt --- .../common/src/assigned_slots/benchmarking.rs | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index cd46c1c3e317..cc61b14c5078 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -20,10 +20,10 @@ use super::*; use frame_benchmarking::v2::*; -use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; use frame_support::assert_ok; -use sp_runtime::traits::Bounded; +use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; use primitives::Id as ParaId; +use sp_runtime::traits::Bounded; type CurrencyOf = <::Leaser as Leaser>>::Currency; type BalanceOf = <<::Leaser as Leaser>>::Currency as Currency< @@ -45,7 +45,12 @@ mod benchmarks { CurrencyOf::::make_free_balance_be(&who, BalanceOf::::max_value()); - assert_ok!(T::Registrar::register(who, para_id, worst_head_data, worst_validation_code.clone())); + assert_ok!(T::Registrar::register( + who, + para_id, + worst_head_data, + worst_validation_code.clone() + )); assert_ok!(paras::Pallet::::add_trusted_validation_code( frame_system::Origin::::Root.into(), worst_validation_code, @@ -58,7 +63,8 @@ mod benchmarks { let para_id = ParaId::from(1_u32); let caller = RawOrigin::Root; - let _ = AssignedSlots::::set_max_permanent_slots(frame_system::Origin::::Root.into(), 10); + let _ = + AssignedSlots::::set_max_permanent_slots(frame_system::Origin::::Root.into(), 10); register_parachain::(para_id); let counter = PermanentSlotCount::::get(); @@ -84,7 +90,8 @@ mod benchmarks { let para_id = ParaId::from(2_u32); let caller = RawOrigin::Root; - let _ = AssignedSlots::::set_max_temporary_slots(frame_system::Origin::::Root.into(), 10); + let _ = + AssignedSlots::::set_max_temporary_slots(frame_system::Origin::::Root.into(), 10); register_parachain::(para_id); let current_lease_period: BlockNumberFor = @@ -111,8 +118,9 @@ mod benchmarks { fn unassign_parachain_slot() { let para_id = ParaId::from(3_u32); let caller = RawOrigin::Root; - - let _ = AssignedSlots::::set_max_temporary_slots(frame_system::Origin::::Root.into(), 10); + + let _ = + AssignedSlots::::set_max_temporary_slots(frame_system::Origin::::Root.into(), 10); register_parachain::(para_id); let _ = AssignedSlots::::assign_temp_parachain_slot( From 86f977f06887118910bcd1b3e99478cd08c0645b Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Mon, 7 Aug 2023 13:00:11 +0000 Subject: [PATCH 38/50] ".git/.scripts/commands/bench/bench.sh" --subcommand=runtime --runtime=rococo --target_dir=polkadot --pallet=runtime_common::assigned_slots --- .../weights/runtime_common_assigned_slots.rs | 151 ++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 runtime/rococo/src/weights/runtime_common_assigned_slots.rs diff --git a/runtime/rococo/src/weights/runtime_common_assigned_slots.rs b/runtime/rococo/src/weights/runtime_common_assigned_slots.rs new file mode 100644 index 000000000000..a6beeded4286 --- /dev/null +++ b/runtime/rococo/src/weights/runtime_common_assigned_slots.rs @@ -0,0 +1,151 @@ +// Copyright (C) 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 . + +//! Autogenerated weights for `runtime_common::assigned_slots` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-ynta1nyy-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `Some("rococo-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/builds/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=runtime_common::assigned_slots +// --chain=rococo-dev +// --header=./file_header.txt +// --output=./runtime/rococo/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `runtime_common::assigned_slots`. +pub struct WeightInfo(PhantomData); +impl runtime_common::assigned_slots::WeightInfo for WeightInfo { + /// Storage: `Registrar::Paras` (r:1 w:1) + /// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::ParaLifecycles` (r:1 w:1) + /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::PermanentSlots` (r:1 w:1) + /// Proof: `AssignedSlots::PermanentSlots` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::TemporarySlots` (r:1 w:0) + /// Proof: `AssignedSlots::TemporarySlots` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) + /// Storage: `Slots::Leases` (r:1 w:1) + /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::PermanentSlotCount` (r:1 w:1) + /// Proof: `AssignedSlots::PermanentSlotCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::MaxPermanentSlots` (r:1 w:0) + /// Proof: `AssignedSlots::MaxPermanentSlots` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0) + /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Paras::ActionsQueue` (r:1 w:1) + /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn assign_perm_parachain_slot() -> Weight { + // Proof Size summary in bytes: + // Measured: `673` + // Estimated: `4138` + // Minimum execution time: 84_646_000 picoseconds. + Weight::from_parts(91_791_000, 0) + .saturating_add(Weight::from_parts(0, 4138)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: `Registrar::Paras` (r:1 w:1) + /// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::ParaLifecycles` (r:1 w:1) + /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::PermanentSlots` (r:1 w:0) + /// Proof: `AssignedSlots::PermanentSlots` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::TemporarySlots` (r:1 w:1) + /// Proof: `AssignedSlots::TemporarySlots` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) + /// Storage: `Slots::Leases` (r:1 w:1) + /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::TemporarySlotCount` (r:1 w:1) + /// Proof: `AssignedSlots::TemporarySlotCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::MaxTemporarySlots` (r:1 w:0) + /// Proof: `AssignedSlots::MaxTemporarySlots` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::ActiveTemporarySlotCount` (r:1 w:1) + /// Proof: `AssignedSlots::ActiveTemporarySlotCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0) + /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Paras::ActionsQueue` (r:1 w:1) + /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn assign_temp_parachain_slot() -> Weight { + // Proof Size summary in bytes: + // Measured: `673` + // Estimated: `4138` + // Minimum execution time: 68_091_000 picoseconds. + Weight::from_parts(77_310_000, 0) + .saturating_add(Weight::from_parts(0, 4138)) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(7)) + } + /// Storage: `AssignedSlots::PermanentSlots` (r:1 w:0) + /// Proof: `AssignedSlots::PermanentSlots` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::TemporarySlots` (r:1 w:1) + /// Proof: `AssignedSlots::TemporarySlots` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) + /// Storage: `Paras::ParaLifecycles` (r:1 w:0) + /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Slots::Leases` (r:1 w:1) + /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::TemporarySlotCount` (r:1 w:1) + /// Proof: `AssignedSlots::TemporarySlotCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn unassign_parachain_slot() -> Weight { + // Proof Size summary in bytes: + // Measured: `823` + // Estimated: `4288` + // Minimum execution time: 38_081_000 picoseconds. + Weight::from_parts(40_987_000, 0) + .saturating_add(Weight::from_parts(0, 4288)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `AssignedSlots::MaxPermanentSlots` (r:0 w:1) + /// Proof: `AssignedSlots::MaxPermanentSlots` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn set_max_permanent_slots() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_182_000 picoseconds. + Weight::from_parts(7_437_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `AssignedSlots::MaxTemporarySlots` (r:0 w:1) + /// Proof: `AssignedSlots::MaxTemporarySlots` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn set_max_temporary_slots() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_153_000 picoseconds. + Weight::from_parts(7_456_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} From 8b0d08892fe474bd1b301bd65f26a3238b7dd26d Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Mon, 7 Aug 2023 13:43:13 +0000 Subject: [PATCH 39/50] ".git/.scripts/commands/bench/bench.sh" --subcommand=runtime --runtime=westend --target_dir=polkadot --pallet=runtime_common::assigned_slots --- .../weights/runtime_common_assigned_slots.rs | 151 ++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 runtime/westend/src/weights/runtime_common_assigned_slots.rs diff --git a/runtime/westend/src/weights/runtime_common_assigned_slots.rs b/runtime/westend/src/weights/runtime_common_assigned_slots.rs new file mode 100644 index 000000000000..c3f1060a9ac0 --- /dev/null +++ b/runtime/westend/src/weights/runtime_common_assigned_slots.rs @@ -0,0 +1,151 @@ +// Copyright (C) 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 . + +//! Autogenerated weights for `runtime_common::assigned_slots` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-ynta1nyy-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `Some("westend-dev")`, DB CACHE: 1024 + +// Executed Command: +// target/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/builds/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=runtime_common::assigned_slots +// --chain=westend-dev +// --header=./file_header.txt +// --output=./runtime/westend/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `runtime_common::assigned_slots`. +pub struct WeightInfo(PhantomData); +impl runtime_common::assigned_slots::WeightInfo for WeightInfo { + /// Storage: `Registrar::Paras` (r:1 w:1) + /// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::ParaLifecycles` (r:1 w:1) + /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::PermanentSlots` (r:1 w:1) + /// Proof: `AssignedSlots::PermanentSlots` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::TemporarySlots` (r:1 w:0) + /// Proof: `AssignedSlots::TemporarySlots` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) + /// Storage: `Slots::Leases` (r:1 w:1) + /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::PermanentSlotCount` (r:1 w:1) + /// Proof: `AssignedSlots::PermanentSlotCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::MaxPermanentSlots` (r:1 w:0) + /// Proof: `AssignedSlots::MaxPermanentSlots` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0) + /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Paras::ActionsQueue` (r:1 w:1) + /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn assign_perm_parachain_slot() -> Weight { + // Proof Size summary in bytes: + // Measured: `640` + // Estimated: `4105` + // Minimum execution time: 74_788_000 picoseconds. + Weight::from_parts(79_847_000, 0) + .saturating_add(Weight::from_parts(0, 4105)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: `Registrar::Paras` (r:1 w:1) + /// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Paras::ParaLifecycles` (r:1 w:1) + /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::PermanentSlots` (r:1 w:0) + /// Proof: `AssignedSlots::PermanentSlots` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::TemporarySlots` (r:1 w:1) + /// Proof: `AssignedSlots::TemporarySlots` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) + /// Storage: `Slots::Leases` (r:1 w:1) + /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::TemporarySlotCount` (r:1 w:1) + /// Proof: `AssignedSlots::TemporarySlotCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::MaxTemporarySlots` (r:1 w:0) + /// Proof: `AssignedSlots::MaxTemporarySlots` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::ActiveTemporarySlotCount` (r:1 w:1) + /// Proof: `AssignedSlots::ActiveTemporarySlotCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0) + /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Paras::ActionsQueue` (r:1 w:1) + /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn assign_temp_parachain_slot() -> Weight { + // Proof Size summary in bytes: + // Measured: `640` + // Estimated: `4105` + // Minimum execution time: 73_324_000 picoseconds. + Weight::from_parts(77_993_000, 0) + .saturating_add(Weight::from_parts(0, 4105)) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(7)) + } + /// Storage: `AssignedSlots::PermanentSlots` (r:1 w:0) + /// Proof: `AssignedSlots::PermanentSlots` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssignedSlots::TemporarySlots` (r:1 w:1) + /// Proof: `AssignedSlots::TemporarySlots` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) + /// Storage: `Paras::ParaLifecycles` (r:1 w:0) + /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Slots::Leases` (r:1 w:1) + /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssignedSlots::TemporarySlotCount` (r:1 w:1) + /// Proof: `AssignedSlots::TemporarySlotCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn unassign_parachain_slot() -> Weight { + // Proof Size summary in bytes: + // Measured: `592` + // Estimated: `4057` + // Minimum execution time: 32_796_000 picoseconds. + Weight::from_parts(35_365_000, 0) + .saturating_add(Weight::from_parts(0, 4057)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `AssignedSlots::MaxPermanentSlots` (r:0 w:1) + /// Proof: `AssignedSlots::MaxPermanentSlots` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn set_max_permanent_slots() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_104_000 picoseconds. + Weight::from_parts(7_358_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `AssignedSlots::MaxTemporarySlots` (r:0 w:1) + /// Proof: `AssignedSlots::MaxTemporarySlots` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn set_max_temporary_slots() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_097_000 picoseconds. + Weight::from_parts(7_429_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} From 38ea151441b85e53c07e06a32efc83850d656bad Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Mon, 7 Aug 2023 16:16:26 +0200 Subject: [PATCH 40/50] use generated weights in assigned_slots pallet --- runtime/common/src/assigned_slots/mod.rs | 49 ++++++++++++++++++------ runtime/rococo/src/lib.rs | 1 + runtime/rococo/src/weights/mod.rs | 1 + runtime/westend/src/lib.rs | 1 + runtime/westend/src/weights/mod.rs | 1 + 5 files changed, 41 insertions(+), 12 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 897c00ed7795..b8acbaaaf070 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -27,9 +27,8 @@ pub mod benchmarking; pub mod migration; use crate::{ - slots::{self, Pallet as Slots, WeightInfo}, + slots::{self, Pallet as Slots, WeightInfo as SlotsWeightInfo}, traits::{LeaseError, Leaser, Registrar}, - MAXIMUM_BLOCK_WEIGHT, }; use frame_support::{pallet_prelude::*, traits::Currency}; use frame_system::pallet_prelude::*; @@ -72,6 +71,33 @@ pub struct ParachainTemporarySlot { pub lease_count: u32, } +pub trait WeightInfo { + fn assign_perm_parachain_slot() -> Weight; + fn assign_temp_parachain_slot() -> Weight; + fn unassign_parachain_slot() -> Weight; + fn set_max_permanent_slots() -> Weight; + fn set_max_temporary_slots() -> Weight; +} + +pub struct TestWeightInfo; +impl WeightInfo for TestWeightInfo { + fn assign_perm_parachain_slot() -> Weight { + Weight::zero() + } + fn assign_temp_parachain_slot() -> Weight { + Weight::zero() + } + fn unassign_parachain_slot() -> Weight { + Weight::zero() + } + fn set_max_permanent_slots() -> Weight { + Weight::zero() + } + fn set_max_temporary_slots() -> Weight { + Weight::zero() + } +} + type BalanceOf = <<::Leaser as Leaser>>::Currency as Currency< ::AccountId, >>::Balance; @@ -115,6 +141,9 @@ pub mod pallet { /// The max number of temporary slots to be scheduled per lease periods. #[pallet::constant] type MaxTemporarySlotPerLeasePeriod: Get; + + /// Weight Information for the Extrinsics in the Pallet + type WeightInfo: WeightInfo; } /// Assigned permanent slots, with their start lease period, and duration. @@ -225,10 +254,9 @@ pub mod pallet { #[pallet::call] impl Pallet { - // TODO: Benchmark this /// Assign a permanent parachain slot and immediately create a lease for it. #[pallet::call_index(0)] - #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] + #[pallet::weight((::WeightInfo::assign_perm_parachain_slot(), DispatchClass::Operational))] pub fn assign_perm_parachain_slot(origin: OriginFor, id: ParaId) -> DispatchResult { T::AssignSlotOrigin::ensure_origin(origin)?; @@ -282,12 +310,11 @@ pub mod pallet { Ok(()) } - // TODO: Benchmark this /// Assign a temporary parachain slot. The function tries to create a lease for it /// immediately if `SlotLeasePeriodStart::Current` is specified, and if the number /// of currently active temporary slots is below `MaxTemporarySlotPerLeasePeriod`. #[pallet::call_index(1)] - #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] + #[pallet::weight((::WeightInfo::assign_temp_parachain_slot(), DispatchClass::Operational))] pub fn assign_temp_parachain_slot( origin: OriginFor, id: ParaId, @@ -371,10 +398,9 @@ pub mod pallet { Ok(()) } - // TODO: Benchmark this /// Unassign a permanent or temporary parachain slot #[pallet::call_index(2)] - #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] + #[pallet::weight((::WeightInfo::unassign_parachain_slot(), DispatchClass::Operational))] pub fn unassign_parachain_slot(origin: OriginFor, id: ParaId) -> DispatchResult { T::AssignSlotOrigin::ensure_origin(origin.clone())?; @@ -421,10 +447,9 @@ pub mod pallet { Ok(()) } - // TODO: Benchmark this /// Assign a max permanent slot number. #[pallet::call_index(3)] - #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] + #[pallet::weight((::WeightInfo::set_max_permanent_slots(), DispatchClass::Operational))] pub fn set_max_permanent_slots(origin: OriginFor, slots: u32) -> DispatchResult { ensure_root(origin)?; @@ -436,10 +461,9 @@ pub mod pallet { Ok(()) } - // TODO: Benchmark this /// Assign a max temporary slot number. #[pallet::call_index(4)] - #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] + #[pallet::weight((::WeightInfo::set_max_temporary_slots(), DispatchClass::Operational))] pub fn set_max_temporary_slots(origin: OriginFor, slots: u32) -> DispatchResult { ensure_root(origin)?; @@ -747,6 +771,7 @@ mod tests { type PermanentSlotLeasePeriodLength = PermanentSlotLeasePeriodLength; type TemporarySlotLeasePeriodLength = TemporarySlotLeasePeriodLength; type MaxTemporarySlotPerLeasePeriod = MaxTemporarySlotPerLeasePeriod; + type WeightInfo = crate::assigned_slots::TestWeightInfo; } // This function basically just builds a genesis storage key/value store according to diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 0b1d439d8071..82ba5edbcbd2 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1344,6 +1344,7 @@ impl assigned_slots::Config for Runtime { type PermanentSlotLeasePeriodLength = PermanentSlotLeasePeriodLength; type TemporarySlotLeasePeriodLength = TemporarySlotLeasePeriodLength; type MaxTemporarySlotPerLeasePeriod = MaxTemporarySlotPerLeasePeriod; + type WeightInfo = weights::runtime_common_assigned_slots::WeightInfo; } impl validator_manager::Config for Runtime { diff --git a/runtime/rococo/src/weights/mod.rs b/runtime/rococo/src/weights/mod.rs index 5bc39330e28e..75acfe9a5d64 100644 --- a/runtime/rococo/src/weights/mod.rs +++ b/runtime/rococo/src/weights/mod.rs @@ -42,6 +42,7 @@ pub mod pallet_treasury; pub mod pallet_utility; pub mod pallet_vesting; pub mod pallet_xcm; +pub mod runtime_common_assigned_slots; pub mod runtime_common_auctions; pub mod runtime_common_claims; pub mod runtime_common_crowdloan; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 3b2f2ad8410a..db4c020b0946 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1018,6 +1018,7 @@ impl assigned_slots::Config for Runtime { type PermanentSlotLeasePeriodLength = PermanentSlotLeasePeriodLength; type TemporarySlotLeasePeriodLength = TemporarySlotLeasePeriodLength; type MaxTemporarySlotPerLeasePeriod = MaxTemporarySlotPerLeasePeriod; + type WeightInfo = weights::runtime_common_assigned_slots::WeightInfo; } impl parachains_disputes::Config for Runtime { diff --git a/runtime/westend/src/weights/mod.rs b/runtime/westend/src/weights/mod.rs index 6341b3da8b69..531de5527de5 100644 --- a/runtime/westend/src/weights/mod.rs +++ b/runtime/westend/src/weights/mod.rs @@ -37,6 +37,7 @@ pub mod pallet_timestamp; pub mod pallet_utility; pub mod pallet_vesting; pub mod pallet_xcm; +pub mod runtime_common_assigned_slots; pub mod runtime_common_auctions; pub mod runtime_common_crowdloan; pub mod runtime_common_paras_registrar; From a022c7b37ee5ff48762eec2d031f5f2e22d244d3 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 8 Aug 2023 08:58:31 +0200 Subject: [PATCH 41/50] small changes in set_max_permanent_slots and set_max_temporary_slots --- runtime/common/src/assigned_slots/mod.rs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index b8acbaaaf070..490b46cb2318 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -447,31 +447,26 @@ pub mod pallet { Ok(()) } - /// Assign a max permanent slot number. + /// Assign a Max Permanent Slot number. #[pallet::call_index(3)] - #[pallet::weight((::WeightInfo::set_max_permanent_slots(), DispatchClass::Operational))] + #[pallet::weight((::WeightInfo::set_max_permanent_slots()))] pub fn set_max_permanent_slots(origin: OriginFor, slots: u32) -> DispatchResult { ensure_root(origin)?; >::put(slots); - // Emit an event. Self::deposit_event(Event::::MaxPermanentSlotsAssigned { slots }); - // Return a successful DispatchResult Ok(()) } - /// Assign a max temporary slot number. + /// Assign a MAX TEMPORARY SLOT number. #[pallet::call_index(4)] - #[pallet::weight((::WeightInfo::set_max_temporary_slots(), DispatchClass::Operational))] + #[pallet::weight((::WeightInfo::set_max_temporary_slots()))] pub fn set_max_temporary_slots(origin: OriginFor, slots: u32) -> DispatchResult { ensure_root(origin)?; >::put(slots); - - // Emit an event. Self::deposit_event(Event::::MaxTemporarySlotsAssigned { slots }); - // Return a successful DispatchResult Ok(()) } } From 86015e5cd26e5cddcc855032217b3a51f6416a8a Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 8 Aug 2023 09:22:33 +0200 Subject: [PATCH 42/50] revert last commit --- runtime/common/src/assigned_slots/mod.rs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 490b46cb2318..d61f9b6ca9e3 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -447,26 +447,31 @@ pub mod pallet { Ok(()) } - /// Assign a Max Permanent Slot number. + /// Assign a Max Permanent Slot. #[pallet::call_index(3)] - #[pallet::weight((::WeightInfo::set_max_permanent_slots()))] + #[pallet::weight((::WeightInfo::set_max_permanent_slots(), DispatchClass::Operational))] pub fn set_max_permanent_slots(origin: OriginFor, slots: u32) -> DispatchResult { ensure_root(origin)?; >::put(slots); + // Emit an event. Self::deposit_event(Event::::MaxPermanentSlotsAssigned { slots }); + // Return a successful DispatchResult Ok(()) } - /// Assign a MAX TEMPORARY SLOT number. + /// Assign a max temporary slot number. #[pallet::call_index(4)] - #[pallet::weight((::WeightInfo::set_max_temporary_slots()))] + #[pallet::weight((::WeightInfo::set_max_temporary_slots(), DispatchClass::Operational))] pub fn set_max_temporary_slots(origin: OriginFor, slots: u32) -> DispatchResult { ensure_root(origin)?; >::put(slots); + + // Emit an event. Self::deposit_event(Event::::MaxTemporarySlotsAssigned { slots }); + // Return a successful DispatchResult Ok(()) } } From 9603fc684190474eefcf62a74f8bc55410eeaec1 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 10 Aug 2023 09:52:52 +0200 Subject: [PATCH 43/50] address some comments --- .../common/src/assigned_slots/benchmarking.rs | 5 +--- runtime/common/src/assigned_slots/mod.rs | 24 ++++++++----------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/runtime/common/src/assigned_slots/benchmarking.rs b/runtime/common/src/assigned_slots/benchmarking.rs index cc61b14c5078..61638fe6cabf 100644 --- a/runtime/common/src/assigned_slots/benchmarking.rs +++ b/runtime/common/src/assigned_slots/benchmarking.rs @@ -29,10 +29,7 @@ type CurrencyOf = <::Leaser as Leaser>>::Curre type BalanceOf = <<::Leaser as Leaser>>::Currency as Currency< ::AccountId, >>::Balance; -#[benchmarks(where - //T: Config + ParasRegistrarConfig, - T: Config -)] +#[benchmarks(where T: Config)] mod benchmarks { use super::*; diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index d61f9b6ca9e3..a0ddb4130c59 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -178,11 +178,11 @@ pub mod pallet { #[pallet::getter(fn active_temporary_slot_count)] pub type ActiveTemporarySlotCount = StorageValue<_, u32, ValueQuery>; - /// Assigned max temporary slots storage. + /// The max number of temporary slots that can be assigned. #[pallet::storage] pub type MaxTemporarySlots = StorageValue<_, u32, ValueQuery>; - /// Assigned max permanent slots storage. + /// The max number of permanent slots that can be assigned. #[pallet::storage] pub type MaxPermanentSlots = StorageValue<_, u32, ValueQuery>; @@ -209,10 +209,10 @@ pub mod pallet { PermanentSlotAssigned(ParaId), /// A para was assigned a temporary parachain slot TemporarySlotAssigned(ParaId), - /// A maximum number of permanent slots has been assigned - MaxPermanentSlotsAssigned { slots: u32 }, - /// A maximum number of temporary slots has been assigned - MaxTemporarySlotsAssigned { slots: u32 }, + /// A maximum number of permanent slots has been changed + MaxPermanentSlotsChanged { slots: u32 }, + /// A maximum number of temporary slots has been changed + MaxTemporarySlotsChanged { slots: u32 }, } #[pallet::error] @@ -447,7 +447,7 @@ pub mod pallet { Ok(()) } - /// Assign a Max Permanent Slot. + /// Sets the storage value [`MaxPermanentSlots`]. #[pallet::call_index(3)] #[pallet::weight((::WeightInfo::set_max_permanent_slots(), DispatchClass::Operational))] pub fn set_max_permanent_slots(origin: OriginFor, slots: u32) -> DispatchResult { @@ -455,13 +455,11 @@ pub mod pallet { >::put(slots); - // Emit an event. - Self::deposit_event(Event::::MaxPermanentSlotsAssigned { slots }); - // Return a successful DispatchResult + Self::deposit_event(Event::::MaxPermanentSlotsChanged { slots }); Ok(()) } - /// Assign a max temporary slot number. + /// Sets the storage value [`MaxTemporarySlots`]. #[pallet::call_index(4)] #[pallet::weight((::WeightInfo::set_max_temporary_slots(), DispatchClass::Operational))] pub fn set_max_temporary_slots(origin: OriginFor, slots: u32) -> DispatchResult { @@ -469,9 +467,7 @@ pub mod pallet { >::put(slots); - // Emit an event. - Self::deposit_event(Event::::MaxTemporarySlotsAssigned { slots }); - // Return a successful DispatchResult + Self::deposit_event(Event::::MaxTemporarySlotsChanged { slots }); Ok(()) } } From 176c8b3b449bed63ef733d8601d7c16ee6452409 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 10 Aug 2023 10:36:31 +0200 Subject: [PATCH 44/50] wrap migration with VersionCheckedMigrateToV1 --- runtime/common/src/assigned_slots/migration.rs | 12 +++++++++++- runtime/rococo/src/lib.rs | 2 +- runtime/westend/src/lib.rs | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 5a8d546a4220..b2ca4bf7daa0 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -51,7 +51,6 @@ pub mod v1 { T::DbWeight::get().reads_writes(1, 3) } else { log::info!(target: LOG_TARGET, "MigrateToV1 should be removed"); - T::DbWeight::get().reads(1) } } @@ -63,4 +62,15 @@ pub mod v1 { Ok(()) } } + + /// [`VersionUncheckedMigrateToV1`] wrapped in a + /// [`frame_support::migrations::VersionedRuntimeUpgrade`], ensuring the migration is only performed + /// when on-chain version is 0. + pub type VersionCheckedMigrateToV1 = frame_support::migrations::VersionedRuntimeUpgrade< + 0, + 1, + MigrateToV1, + Pallet, + ::DbWeight, + >; } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 82ba5edbcbd2..d923437a67e5 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1523,7 +1523,7 @@ pub mod migrations { pallet_society::migrations::VersionCheckedMigrateToV2, pallet_im_online::migration::v1::Migration, parachains_configuration::migration::v7::MigrateToV7, - assigned_slots::migration::v1::MigrateToV1, + assigned_slots::migration::v1::VersionCheckedMigrateToV1, ); } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index db4c020b0946..f6d676740109 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1283,7 +1283,7 @@ pub mod migrations { pub type Unreleased = ( pallet_im_online::migration::v1::Migration, parachains_configuration::migration::v7::MigrateToV7, - assigned_slots::migration::v1::MigrateToV1, + assigned_slots::migration::v1::VersionCheckedMigrateToV1, ); } From cd237a76b906d0d6d2fdb4f8f2da8350de8f2c28 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 10 Aug 2023 12:33:38 +0200 Subject: [PATCH 45/50] add experimental feature in pallet, and assers in post_upgrade migration --- runtime/common/Cargo.toml | 5 ++++- runtime/common/src/assigned_slots/migration.rs | 5 +++-- runtime/rococo/Cargo.toml | 2 +- runtime/westend/Cargo.toml | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index c9812d806733..e67af5f78522 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -30,7 +30,7 @@ pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-fast-unstake = { 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 } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["experimental"] } 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 } @@ -64,6 +64,9 @@ test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../pri [features] default = ["std"] +experimental = [ + "frame-support/experimental" +] no_std = [] std = [ "bitvec/std", diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index b2ca4bf7daa0..988f0bc34b97 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -45,8 +45,6 @@ pub mod v1 { >::put(MAX_PERMANENT_SLOTS); >::put(MAX_TEMPORARY_SLOTS); - // Update storage version. - StorageVersion::new(1).put::>(); // Return the weight consumed by the migration. T::DbWeight::get().reads_writes(1, 3) } else { @@ -59,6 +57,8 @@ pub mod v1 { fn post_upgrade(_state: Vec) -> Result<(), sp_runtime::TryRuntimeError> { let onchain_version = Pallet::::on_chain_storage_version(); ensure!(onchain_version == 1, "assigned_slots::MigrateToV1 needs to be run"); + assert_eq!(>::get(), 100); + assert_eq!(>::get(), 100); Ok(()) } } @@ -66,6 +66,7 @@ pub mod v1 { /// [`VersionUncheckedMigrateToV1`] wrapped in a /// [`frame_support::migrations::VersionedRuntimeUpgrade`], ensuring the migration is only performed /// when on-chain version is 0. + #[cfg(feature = "experimental")] pub type VersionCheckedMigrateToV1 = frame_support::migrations::VersionedRuntimeUpgrade< 0, 1, diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index 41d25d3aa6f6..f1f0d1cbe729 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -83,7 +83,7 @@ frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } hex-literal = { version = "0.4.1" } -runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } +runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false, features=["experimental"] } runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } polkadot-parachain = { path = "../../parachain", default-features = false } diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 4773176e1762..e665a08b1ed1 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -89,7 +89,7 @@ pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate" pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } hex-literal = { version = "0.4.1", optional = true } -runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } +runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false, features=["experimental"] } primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false } polkadot-parachain = { path = "../../parachain", default-features = false } runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false } From 795aed4d3c2c455f450bb9f2c11361d258a8295c Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Thu, 10 Aug 2023 13:27:22 +0200 Subject: [PATCH 46/50] clean warnings --- runtime/common/src/assigned_slots/migration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index 988f0bc34b97..c98725cbecf2 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -17,7 +17,7 @@ use super::{Config, MaxPermanentSlots, MaxTemporarySlots, Pallet, LOG_TARGET}; use frame_support::{ dispatch::GetStorageVersion, - traits::{Get, OnRuntimeUpgrade, StorageVersion}, + traits::{Get, OnRuntimeUpgrade}, }; #[cfg(feature = "try-runtime")] From 16d2c52d5b72fe02c8e8441bc47339a608c89fde Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Fri, 11 Aug 2023 09:26:51 +0200 Subject: [PATCH 47/50] clean unnecesary experimental flag --- runtime/common/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index e67af5f78522..dda7c2e92368 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -30,7 +30,7 @@ pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-fast-unstake = { 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, features = ["experimental"] } +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 } From e855ce31b62f4a6d8fb5934d0c4a99f2905c1661 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 15 Aug 2023 13:22:48 +0200 Subject: [PATCH 48/50] small typo in comments --- runtime/common/src/assigned_slots/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index d9b0a814b9fd..2166fb197759 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -209,9 +209,9 @@ pub mod pallet { PermanentSlotAssigned(ParaId), /// A para was assigned a temporary parachain slot TemporarySlotAssigned(ParaId), - /// A maximum number of permanent slots has been changed + /// The maximum number of permanent slots has been changed MaxPermanentSlotsChanged { slots: u32 }, - /// A maximum number of temporary slots has been changed + /// The maximum number of temporary slots has been changed MaxTemporarySlotsChanged { slots: u32 }, } From 1061caa54d9862c059824d9b0fc1fa153a5aa6f4 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 15 Aug 2023 13:27:13 +0200 Subject: [PATCH 49/50] cargo fmt --- runtime/common/src/assigned_slots/migration.rs | 4 ++-- runtime/common/src/assigned_slots/mod.rs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/runtime/common/src/assigned_slots/migration.rs b/runtime/common/src/assigned_slots/migration.rs index c98725cbecf2..884d67222d28 100644 --- a/runtime/common/src/assigned_slots/migration.rs +++ b/runtime/common/src/assigned_slots/migration.rs @@ -64,8 +64,8 @@ pub mod v1 { } /// [`VersionUncheckedMigrateToV1`] wrapped in a - /// [`frame_support::migrations::VersionedRuntimeUpgrade`], ensuring the migration is only performed - /// when on-chain version is 0. + /// [`frame_support::migrations::VersionedRuntimeUpgrade`], ensuring the migration is only + /// performed when on-chain version is 0. #[cfg(feature = "experimental")] pub type VersionCheckedMigrateToV1 = frame_support::migrations::VersionedRuntimeUpgrade< 0, diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 2166fb197759..4f3906e25726 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -378,7 +378,8 @@ pub mod pallet { }, Err(err) => { // Treat failed lease creation as warning .. slot will be allocated a lease - // in a subsequent lease period by the `allocate_temporary_slot_leases` function. + // in a subsequent lease period by the `allocate_temporary_slot_leases` + // function. log::warn!( target: LOG_TARGET, "Failed to allocate a temp slot for para {:?} at period {:?}: {:?}", From 9095fd0d92a3ce000eb87d337be3c5b7229f8a09 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 15 Aug 2023 14:39:27 +0200 Subject: [PATCH 50/50] small comments fixes --- runtime/common/src/assigned_slots/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/common/src/assigned_slots/mod.rs b/runtime/common/src/assigned_slots/mod.rs index 4f3906e25726..4763c3e3f0b4 100644 --- a/runtime/common/src/assigned_slots/mod.rs +++ b/runtime/common/src/assigned_slots/mod.rs @@ -205,9 +205,9 @@ pub mod pallet { #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { - /// A para was assigned a permanent parachain slot + /// A parachain was assigned a permanent parachain slot PermanentSlotAssigned(ParaId), - /// A para was assigned a temporary parachain slot + /// A parachain was assigned a temporary parachain slot TemporarySlotAssigned(ParaId), /// The maximum number of permanent slots has been changed MaxPermanentSlotsChanged { slots: u32 }, @@ -231,9 +231,9 @@ pub mod pallet { SlotNotAssigned, /// An ongoing lease already exists. OngoingLeaseExists, - // Maximum number of permanent slots exceeded + // The maximum number of permanent slots exceeded MaxPermanentSlotsExceeded, - // Maximum number of temporary slots exceeded + // The maximum number of temporary slots exceeded MaxTemporarySlotsExceeded, }