From d5f16df743931d535441f28c605e619c16b971a3 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Fri, 13 May 2022 12:49:19 -0400 Subject: [PATCH 1/9] Migrate some Pallets to Named Events (#5423) * auctions * claims * registrar * Update purchase.rs * crowdloan * slots * comma --- runtime/common/src/auctions.rs | 87 ++++++++++++++++--------- runtime/common/src/claims.rs | 10 ++- runtime/common/src/crowdloan/mod.rs | 79 +++++++++++----------- runtime/common/src/integration_tests.rs | 11 +++- runtime/common/src/paras_registrar.rs | 20 +++--- runtime/common/src/purchase.rs | 44 +++++++------ runtime/common/src/slots/mod.rs | 41 +++++++----- 7 files changed, 169 insertions(+), 123 deletions(-) diff --git a/runtime/common/src/auctions.rs b/runtime/common/src/auctions.rs index e7c8f466f5c8..2d71fd432d0f 100644 --- a/runtime/common/src/auctions.rs +++ b/runtime/common/src/auctions.rs @@ -128,25 +128,31 @@ pub mod pallet { pub enum Event { /// An auction started. Provides its index and the block number where it will begin to /// close and the first lease period of the quadruplet that is auctioned. - /// `[auction_index, lease_period, ending]` - AuctionStarted(AuctionIndex, LeasePeriodOf, T::BlockNumber), - /// An auction ended. All funds become unreserved. `[auction_index]` - AuctionClosed(AuctionIndex), + AuctionStarted { + auction_index: AuctionIndex, + lease_period: LeasePeriodOf, + ending: T::BlockNumber, + }, + /// An auction ended. All funds become unreserved. + AuctionClosed { auction_index: AuctionIndex }, /// Funds were reserved for a winning bid. First balance is the extra amount reserved. - /// Second is the total. `[bidder, extra_reserved, total_amount]` - Reserved(T::AccountId, BalanceOf, BalanceOf), + /// Second is the total. + Reserved { bidder: T::AccountId, extra_reserved: BalanceOf, total_amount: BalanceOf }, /// Funds were unreserved since bidder is no longer active. `[bidder, amount]` - Unreserved(T::AccountId, BalanceOf), + Unreserved { bidder: T::AccountId, amount: BalanceOf }, /// Someone attempted to lease the same slot twice for a parachain. The amount is held in reserve /// but no parachain slot has been leased. - /// `[parachain_id, leaser, amount]` - ReserveConfiscated(ParaId, T::AccountId, BalanceOf), + ReserveConfiscated { para_id: ParaId, leaser: T::AccountId, amount: BalanceOf }, /// A new bid has been accepted as the current winner. - /// `[who, para_id, amount, first_slot, last_slot]` - BidAccepted(T::AccountId, ParaId, BalanceOf, LeasePeriodOf, LeasePeriodOf), + BidAccepted { + bidder: T::AccountId, + para_id: ParaId, + amount: BalanceOf, + first_slot: LeasePeriodOf, + last_slot: LeasePeriodOf, + }, /// The winning offset was chosen for an auction. This will map into the `Winning` storage map. - /// `[auction_index, block_number]` - WinningOffset(AuctionIndex, T::BlockNumber), + WinningOffset { auction_index: AuctionIndex, block_number: T::BlockNumber }, } #[pallet::error] @@ -397,7 +403,11 @@ impl Pallet { let ending = frame_system::Pallet::::block_number().saturating_add(duration); AuctionInfo::::put((lease_period_index, ending)); - Self::deposit_event(Event::::AuctionStarted(n, lease_period_index, ending)); + Self::deposit_event(Event::::AuctionStarted { + auction_index: n, + lease_period: lease_period_index, + ending, + }); Ok(()) } @@ -472,11 +482,11 @@ impl Pallet { // ...and record the amount reserved. ReservedAmounts::::insert(&bidder_para, reserve_required); - Self::deposit_event(Event::::Reserved( - bidder.clone(), - additional, - reserve_required, - )); + Self::deposit_event(Event::::Reserved { + bidder: bidder.clone(), + extra_reserved: additional, + total_amount: reserve_required, + }); } // Return any funds reserved for the previous winner if we are not in the ending period @@ -495,16 +505,20 @@ impl Pallet { // It really should be reserved; there's not much we can do here on fail. let err_amt = CurrencyOf::::unreserve(&who, amount); debug_assert!(err_amt.is_zero()); - Self::deposit_event(Event::::Unreserved(who, amount)); + Self::deposit_event(Event::::Unreserved { bidder: who, amount }); } } } // Update the range winner. Winning::::insert(offset, ¤t_winning); - Self::deposit_event(Event::::BidAccepted( - bidder, para, amount, first_slot, last_slot, - )); + Self::deposit_event(Event::::BidAccepted { + bidder, + para_id: para, + amount, + first_slot, + last_slot, + }); } Ok(()) } @@ -535,7 +549,10 @@ impl Pallet { T::SampleLength::get().max(One::one()); let auction_counter = AuctionCounter::::get(); - Self::deposit_event(Event::::WinningOffset(auction_counter, offset)); + Self::deposit_event(Event::::WinningOffset { + auction_index: auction_counter, + block_number: offset, + }); let res = Winning::::get(offset) .unwrap_or([Self::EMPTY; SlotRange::SLOT_RANGE_COUNT]); // This `remove_all` statement should remove at most `EndingPeriod` / `SampleLength` items, @@ -585,14 +602,20 @@ impl Pallet { // The leaser attempted to get a second lease on the same para ID, possibly griefing us. Let's // keep the amount reserved and let governance sort it out. if CurrencyOf::::reserve(&leaser, amount).is_ok() { - Self::deposit_event(Event::::ReserveConfiscated(para, leaser, amount)); + Self::deposit_event(Event::::ReserveConfiscated { + para_id: para, + leaser, + amount, + }); } }, Ok(()) => {}, // Nothing to report. } } - Self::deposit_event(Event::::AuctionClosed(AuctionCounter::::get())); + Self::deposit_event(Event::::AuctionClosed { + auction_index: AuctionCounter::::get(), + }); } /// Calculate the final winners from the winning slots. @@ -1763,11 +1786,11 @@ mod benchmarking { let origin = T::InitiateOrigin::successful_origin(); }: _(RawOrigin::Root, duration, lease_period_index) verify { - assert_last_event::(Event::::AuctionStarted( - AuctionCounter::::get(), - LeasePeriodOf::::max_value(), - T::BlockNumber::max_value(), - ).into()); + assert_last_event::(Event::::AuctionStarted { + auction_index: AuctionCounter::::get(), + lease_period: LeasePeriodOf::::max_value(), + ending: T::BlockNumber::max_value(), + }.into()); } // Worst case scenario a new bid comes in which kicks out an existing bid for the same slot. @@ -1859,7 +1882,7 @@ mod benchmarking { Auctions::::on_initialize(duration + now + T::EndingPeriod::get()); } verify { let auction_index = AuctionCounter::::get(); - assert_last_event::(Event::::AuctionClosed(auction_index).into()); + assert_last_event::(Event::::AuctionClosed { auction_index }.into()); assert!(Winning::::iter().count().is_zero()); } diff --git a/runtime/common/src/claims.rs b/runtime/common/src/claims.rs index f22b6636c33c..e2731f9336cc 100644 --- a/runtime/common/src/claims.rs +++ b/runtime/common/src/claims.rs @@ -183,8 +183,8 @@ pub mod pallet { #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { - /// Someone claimed some DOTs. `[who, ethereum_address, amount]` - Claimed(T::AccountId, EthereumAddress, BalanceOf), + /// Someone claimed some DOTs. + Claimed { who: T::AccountId, ethereum_address: EthereumAddress, amount: BalanceOf }, } #[pallet::error] @@ -581,7 +581,11 @@ impl Pallet { Signing::::remove(&signer); // Let's deposit an event to let the outside world know this happened. - Self::deposit_event(Event::::Claimed(dest, signer, balance_due)); + Self::deposit_event(Event::::Claimed { + who: dest, + ethereum_address: signer, + amount: balance_due, + }); Ok(()) } diff --git a/runtime/common/src/crowdloan/mod.rs b/runtime/common/src/crowdloan/mod.rs index e48b1b51b818..bbb74c634ade 100644 --- a/runtime/common/src/crowdloan/mod.rs +++ b/runtime/common/src/crowdloan/mod.rs @@ -254,27 +254,27 @@ pub mod pallet { #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { - /// Create a new crowdloaning campaign. `[fund_index]` - Created(ParaId), - /// Contributed to a crowd sale. `[who, fund_index, amount]` - Contributed(T::AccountId, ParaId, BalanceOf), - /// Withdrew full balance of a contributor. `[who, fund_index, amount]` - Withdrew(T::AccountId, ParaId, BalanceOf), + /// Create a new crowdloaning campaign. + Created { para_id: ParaId }, + /// Contributed to a crowd sale. + Contributed { who: T::AccountId, fund_index: ParaId, amount: BalanceOf }, + /// Withdrew full balance of a contributor. + Withdrew { who: T::AccountId, fund_index: ParaId, amount: BalanceOf }, /// The loans in a fund have been partially dissolved, i.e. there are some left - /// over child keys that still need to be killed. `[fund_index]` - PartiallyRefunded(ParaId), - /// All loans in a fund have been refunded. `[fund_index]` - AllRefunded(ParaId), - /// Fund is dissolved. `[fund_index]` - Dissolved(ParaId), + /// over child keys that still need to be killed. + PartiallyRefunded { para_id: ParaId }, + /// All loans in a fund have been refunded. + AllRefunded { para_id: ParaId }, + /// Fund is dissolved. + Dissolved { para_id: ParaId }, /// The result of trying to submit a new bid to the Slots pallet. - HandleBidResult(ParaId, DispatchResult), - /// The configuration to a crowdloan has been edited. `[fund_index]` - Edited(ParaId), - /// A memo has been updated. `[who, fund_index, memo]` - MemoUpdated(T::AccountId, ParaId, Vec), + HandleBidResult { para_id: ParaId, result: DispatchResult }, + /// The configuration to a crowdloan has been edited. + Edited { para_id: ParaId }, + /// A memo has been updated. + MemoUpdated { who: T::AccountId, para_id: ParaId, memo: Vec }, /// A parachain has been moved to `NewRaise` - AddedToNewRaise(ParaId), + AddedToNewRaise { para_id: ParaId }, } #[pallet::error] @@ -351,7 +351,7 @@ pub mod pallet { fund.raised, ); - Self::deposit_event(Event::::HandleBidResult(para_id, result)); + Self::deposit_event(Event::::HandleBidResult { para_id, result }); } T::WeightInfo::on_initialize(new_raise_len) } else { @@ -437,7 +437,7 @@ pub mod pallet { // Add a lock to the para so that the configuration cannot be changed. T::Registrar::apply_lock(index); - Self::deposit_event(Event::::Created(index)); + Self::deposit_event(Event::::Created { para_id: index }); Ok(()) } @@ -494,7 +494,7 @@ pub mod pallet { Funds::::insert(index, &fund); - Self::deposit_event(Event::::Withdrew(who, index, balance)); + Self::deposit_event(Event::::Withdrew { who, fund_index: index, amount: balance }); Ok(()) } @@ -536,11 +536,11 @@ pub mod pallet { Funds::::insert(index, &fund); if all_refunded { - Self::deposit_event(Event::::AllRefunded(index)); + Self::deposit_event(Event::::AllRefunded { para_id: index }); // Refund for unused refund count. Ok(Some(T::WeightInfo::refund(refund_count)).into()) } else { - Self::deposit_event(Event::::PartiallyRefunded(index)); + Self::deposit_event(Event::::PartiallyRefunded { para_id: index }); // No weight to refund since we did not finish the loop. Ok(().into()) } @@ -567,7 +567,7 @@ pub mod pallet { CurrencyOf::::unreserve(&fund.depositor, fund.deposit); Funds::::remove(index); - Self::deposit_event(Event::::Dissolved(index)); + Self::deposit_event(Event::::Dissolved { para_id: index }); Ok(()) } @@ -604,7 +604,7 @@ pub mod pallet { }, ); - Self::deposit_event(Event::::Edited(index)); + Self::deposit_event(Event::::Edited { para_id: index }); Ok(()) } @@ -622,7 +622,7 @@ pub mod pallet { ensure!(balance > Zero::zero(), Error::::NoContributions); Self::contribution_put(fund.fund_index, &who, &balance, &memo); - Self::deposit_event(Event::::MemoUpdated(who, index, memo)); + Self::deposit_event(Event::::MemoUpdated { who, para_id: index, memo }); Ok(()) } @@ -636,7 +636,7 @@ pub mod pallet { ensure!(!fund.raised.is_zero(), Error::::NoContributions); ensure!(!NewRaise::::get().contains(&index), Error::::AlreadyInNewRaise); NewRaise::::append(index); - Self::deposit_event(Event::::AddedToNewRaise(index)); + Self::deposit_event(Event::::AddedToNewRaise { para_id: index }); Ok(()) } @@ -810,7 +810,7 @@ impl Pallet { Funds::::insert(index, &fund); - Self::deposit_event(Event::::Contributed(who, index, value)); + Self::deposit_event(Event::::Contributed { who, fund_index: index, amount: value }); Ok(()) } } @@ -1648,14 +1648,17 @@ mod tests { // Move to the end of the crowdloan run_to_block(10); assert_ok!(Crowdloan::refund(Origin::signed(1337), para)); - assert_eq!(last_event(), super::Event::::PartiallyRefunded(para).into()); + assert_eq!( + last_event(), + super::Event::::PartiallyRefunded { para_id: para }.into() + ); // Funds still left over assert!(!Balances::free_balance(account_id).is_zero()); // Call again assert_ok!(Crowdloan::refund(Origin::signed(1337), para)); - assert_eq!(last_event(), super::Event::::AllRefunded(para).into()); + assert_eq!(last_event(), super::Event::::AllRefunded { para_id: para }.into()); // Funds are returned assert_eq!(Balances::free_balance(account_id), 0); @@ -1983,7 +1986,7 @@ mod benchmarking { }: _(RawOrigin::Signed(caller), para_id, cap, first_period, last_period, end, Some(verifier)) verify { - assert_last_event::(Event::::Created(para_id).into()) + assert_last_event::(Event::::Created { para_id }.into()) } // Contribute has two arms: PreEnding and Ending, but both are equal complexity. @@ -2004,7 +2007,7 @@ mod benchmarking { verify { // NewRaise is appended to, so we don't need to fill it up for worst case scenario. assert!(!NewRaise::::get().is_empty()); - assert_last_event::(Event::::Contributed(caller, fund_index, contribution).into()); + assert_last_event::(Event::::Contributed { who: caller, fund_index, amount: contribution }.into()); } withdraw { @@ -2017,7 +2020,7 @@ mod benchmarking { frame_system::Pallet::::set_block_number(T::BlockNumber::max_value()); }: _(RawOrigin::Signed(caller), contributor.clone(), fund_index) verify { - assert_last_event::(Event::::Withdrew(contributor, fund_index, T::MinContribution::get()).into()); + assert_last_event::(Event::::Withdrew { who: contributor, fund_index, amount: T::MinContribution::get() }.into()); } // Worst case: Refund removes `RemoveKeysLimit` keys, and is fully refunded. @@ -2037,7 +2040,7 @@ mod benchmarking { frame_system::Pallet::::set_block_number(T::BlockNumber::max_value()); }: _(RawOrigin::Signed(caller), fund_index) verify { - assert_last_event::(Event::::AllRefunded(fund_index).into()); + assert_last_event::(Event::::AllRefunded { para_id: fund_index }.into()); } dissolve { @@ -2048,7 +2051,7 @@ mod benchmarking { frame_system::Pallet::::set_block_number(T::BlockNumber::max_value()); }: _(RawOrigin::Signed(caller.clone()), fund_index) verify { - assert_last_event::(Event::::Dissolved(fund_index).into()); + assert_last_event::(Event::::Dissolved { para_id: fund_index }.into()); } edit { @@ -2077,7 +2080,7 @@ mod benchmarking { // Doesn't matter what we edit to, so use the same values. }: _(RawOrigin::Root, para_id, cap, first_period, last_period, end, Some(verifier)) verify { - assert_last_event::(Event::::Edited(para_id).into()) + assert_last_event::(Event::::Edited { para_id }.into()) } add_memo { @@ -2107,7 +2110,7 @@ mod benchmarking { }: _(RawOrigin::Signed(caller), fund_index) verify { assert!(!NewRaise::::get().is_empty()); - assert_last_event::(Event::::AddedToNewRaise(fund_index).into()) + assert_last_event::(Event::::AddedToNewRaise { para_id: fund_index }.into()) } // Worst case scenario: N funds are all in the `NewRaise` list, we are @@ -2146,7 +2149,7 @@ mod benchmarking { Crowdloan::::on_initialize(end_block); } verify { assert_eq!(EndingsCount::::get(), old_endings_count + 1); - assert_last_event::(Event::::HandleBidResult((n - 1).into(), Ok(())).into()); + assert_last_event::(Event::::HandleBidResult { para_id: (n - 1).into(), result: Ok(()) }.into()); } impl_benchmark_test_suite!( diff --git a/runtime/common/src/integration_tests.rs b/runtime/common/src/integration_tests.rs index 7ff7afe4fdf2..76dc1f4c55b0 100644 --- a/runtime/common/src/integration_tests.rs +++ b/runtime/common/src/integration_tests.rs @@ -432,10 +432,17 @@ fn basic_end_to_end_works() { // Auction ends at block 110 + offset run_to_block(109 + offset); assert!(contains_event( - crowdloan::Event::::HandleBidResult(ParaId::from(para_2), Ok(())).into() + crowdloan::Event::::HandleBidResult { + para_id: ParaId::from(para_2), + result: Ok(()) + } + .into() )); run_to_block(110 + offset); - assert_eq!(last_event(), auctions::Event::::AuctionClosed(1).into()); + assert_eq!( + last_event(), + auctions::Event::::AuctionClosed { auction_index: 1 }.into() + ); // Paras should have won slots assert_eq!( diff --git a/runtime/common/src/paras_registrar.rs b/runtime/common/src/paras_registrar.rs index 59806e0cf639..7631914b9992 100644 --- a/runtime/common/src/paras_registrar.rs +++ b/runtime/common/src/paras_registrar.rs @@ -127,9 +127,9 @@ pub mod pallet { #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { - Registered(ParaId, T::AccountId), - Deregistered(ParaId), - Reserved(ParaId, T::AccountId), + Registered { para_id: ParaId, manager: T::AccountId }, + Deregistered { para_id: ParaId }, + Reserved { para_id: ParaId, who: T::AccountId }, } #[pallet::error] @@ -492,7 +492,7 @@ impl Pallet { let info = ParaInfo { manager: who.clone(), deposit, locked: false }; Paras::::insert(id, info); - Self::deposit_event(Event::::Reserved(id, who)); + Self::deposit_event(Event::::Reserved { para_id: id, who }); Ok(()) } @@ -530,7 +530,7 @@ impl Pallet { // We check above that para has no lifecycle, so this should not fail. let res = runtime_parachains::schedule_para_initialize::(id, genesis); debug_assert!(res.is_ok()); - Self::deposit_event(Event::::Registered(id, who)); + Self::deposit_event(Event::::Registered { para_id: id, manager: who }); Ok(()) } @@ -549,7 +549,7 @@ impl Pallet { } PendingSwap::::remove(id); - Self::deposit_event(Event::::Deregistered(id)); + Self::deposit_event(Event::::Deregistered { para_id: id }); Ok(()) } @@ -1268,7 +1268,7 @@ mod benchmarking { T::Currency::make_free_balance_be(&caller, BalanceOf::::max_value()); }: _(RawOrigin::Signed(caller.clone())) verify { - assert_last_event::(Event::::Reserved(LOWEST_PUBLIC_ID, caller).into()); + assert_last_event::(Event::::Reserved { para_id: LOWEST_PUBLIC_ID, who: caller }.into()); assert!(Paras::::get(LOWEST_PUBLIC_ID).is_some()); assert_eq!(paras::Pallet::::lifecycle(LOWEST_PUBLIC_ID), None); } @@ -1282,7 +1282,7 @@ mod benchmarking { assert_ok!(Registrar::::reserve(RawOrigin::Signed(caller.clone()).into())); }: _(RawOrigin::Signed(caller.clone()), para, genesis_head, validation_code) verify { - assert_last_event::(Event::::Registered(para, caller).into()); + assert_last_event::(Event::::Registered{ para_id: para, manager: caller }.into()); assert_eq!(paras::Pallet::::lifecycle(para), Some(ParaLifecycle::Onboarding)); next_scheduled_session::(); assert_eq!(paras::Pallet::::lifecycle(para), Some(ParaLifecycle::Parathread)); @@ -1296,7 +1296,7 @@ mod benchmarking { let validation_code = Registrar::::worst_validation_code(); }: _(RawOrigin::Root, manager.clone(), deposit, para, genesis_head, validation_code) verify { - assert_last_event::(Event::::Registered(para, manager).into()); + assert_last_event::(Event::::Registered { para_id: para, manager }.into()); assert_eq!(paras::Pallet::::lifecycle(para), Some(ParaLifecycle::Onboarding)); next_scheduled_session::(); assert_eq!(paras::Pallet::::lifecycle(para), Some(ParaLifecycle::Parathread)); @@ -1308,7 +1308,7 @@ mod benchmarking { let caller: T::AccountId = whitelisted_caller(); }: _(RawOrigin::Signed(caller), para) verify { - assert_last_event::(Event::::Deregistered(para).into()); + assert_last_event::(Event::::Deregistered { para_id: para }.into()); } swap { diff --git a/runtime/common/src/purchase.rs b/runtime/common/src/purchase.rs index 9e8bd2c9081f..b534e2277059 100644 --- a/runtime/common/src/purchase.rs +++ b/runtime/common/src/purchase.rs @@ -133,19 +133,19 @@ pub mod pallet { #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { /// A [new] account was created. - AccountCreated(T::AccountId), - /// Someone's account validity was updated. [who, validity] - ValidityUpdated(T::AccountId, AccountValidity), - /// Someone's purchase balance was updated. [who, free, locked] - BalanceUpdated(T::AccountId, BalanceOf, BalanceOf), - /// A payout was made to a purchaser. [who, free, locked] - PaymentComplete(T::AccountId, BalanceOf, BalanceOf), - /// A new payment account was set. [who] - PaymentAccountSet(T::AccountId), + AccountCreated { who: T::AccountId }, + /// Someone's account validity was updated. + ValidityUpdated { who: T::AccountId, validity: AccountValidity }, + /// Someone's purchase balance was updated. + BalanceUpdated { who: T::AccountId, free: BalanceOf, locked: BalanceOf }, + /// A payout was made to a purchaser. + PaymentComplete { who: T::AccountId, free: BalanceOf, locked: BalanceOf }, + /// A new payment account was set. + PaymentAccountSet { who: T::AccountId }, /// A new statement was set. StatementUpdated, /// A new statement was set. `[block_number]` - UnlockBlockUpdated(T::BlockNumber), + UnlockBlockUpdated { block_number: T::BlockNumber }, } #[pallet::error] @@ -222,7 +222,7 @@ pub mod pallet { vat: Permill::zero(), }; Accounts::::insert(&who, status); - Self::deposit_event(Event::::AccountCreated(who)); + Self::deposit_event(Event::::AccountCreated { who }); Ok(()) } @@ -251,7 +251,7 @@ pub mod pallet { Ok(()) }, )?; - Self::deposit_event(Event::::ValidityUpdated(who, validity)); + Self::deposit_event(Event::::ValidityUpdated { who, validity }); Ok(()) } @@ -283,7 +283,11 @@ pub mod pallet { Ok(()) }, )?; - Self::deposit_event(Event::::BalanceUpdated(who, free_balance, locked_balance)); + Self::deposit_event(Event::::BalanceUpdated { + who, + free: free_balance, + locked: locked_balance, + }); Ok(()) } @@ -346,11 +350,11 @@ pub mod pallet { // Setting the user account to `Completed` ends the purchase process for this user. status.validity = AccountValidity::Completed; - Self::deposit_event(Event::::PaymentComplete( - who.clone(), - status.free_balance, - status.locked_balance, - )); + Self::deposit_event(Event::::PaymentComplete { + who: who.clone(), + free: status.free_balance, + locked: status.locked_balance, + }); Ok(()) }, )?; @@ -367,7 +371,7 @@ pub mod pallet { T::ConfigurationOrigin::ensure_origin(origin)?; // Possibly this is worse than having the caller account be the payment account? PaymentAccount::::put(who.clone()); - Self::deposit_event(Event::::PaymentAccountSet(who)); + Self::deposit_event(Event::::PaymentAccountSet { who }); Ok(()) } @@ -402,7 +406,7 @@ pub mod pallet { ); // Possibly this is worse than having the caller account be the payment account? UnlockBlock::::set(unlock_block); - Self::deposit_event(Event::::UnlockBlockUpdated(unlock_block)); + Self::deposit_event(Event::::UnlockBlockUpdated { block_number: unlock_block }); Ok(()) } } diff --git a/runtime/common/src/slots/mod.rs b/runtime/common/src/slots/mod.rs index 3796c3330c3a..1b76e508dadf 100644 --- a/runtime/common/src/slots/mod.rs +++ b/runtime/common/src/slots/mod.rs @@ -122,19 +122,18 @@ pub mod pallet { #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { /// A new `[lease_period]` is beginning. - NewLeasePeriod(LeasePeriodOf), + NewLeasePeriod { lease_period: LeasePeriodOf }, /// A para has won the right to a continuous set of lease periods as a parachain. /// First balance is any extra amount reserved on top of the para's existing deposit. /// Second balance is the total amount reserved. - /// `[parachain_id, leaser, period_begin, period_count, extra_reserved, total_amount]` - Leased( - ParaId, - T::AccountId, - LeasePeriodOf, - LeasePeriodOf, - BalanceOf, - BalanceOf, - ), + Leased { + para_id: ParaId, + leaser: T::AccountId, + period_begin: LeasePeriodOf, + period_count: LeasePeriodOf, + extra_reserved: BalanceOf, + total_amount: BalanceOf, + }, } #[pallet::error] @@ -228,7 +227,7 @@ impl Pallet { /// We need to on-board and off-board parachains as needed. We should also handle reducing/ /// returning deposits. fn manage_lease_period_start(lease_period_index: LeasePeriodOf) -> Weight { - Self::deposit_event(Event::::NewLeasePeriod(lease_period_index)); + Self::deposit_event(Event::::NewLeasePeriod { lease_period: lease_period_index }); let old_parachains = T::Registrar::parachains(); @@ -408,14 +407,14 @@ impl Leaser for Pallet { let _ = T::Registrar::make_parachain(para); } - Self::deposit_event(Event::::Leased( - para, - leaser.clone(), + Self::deposit_event(Event::::Leased { + para_id: para, + leaser: leaser.clone(), period_begin, period_count, - reserved, - amount, - )); + extra_reserved: reserved, + total_amount: amount, + }); Ok(()) }) @@ -1027,7 +1026,13 @@ mod benchmarking { let period_count = 3u32.into(); }: _(RawOrigin::Root, para, leaser.clone(), amount, period_begin, period_count) verify { - assert_last_event::(Event::::Leased(para, leaser, period_begin, period_count, amount, amount).into()); + assert_last_event::(Event::::Leased { + para_id: para, + leaser, period_begin, + period_count, + extra_reserved: amount, + total_amount: amount, + }.into()); } // Worst case scenario, T parathreads onboard, and C parachains offboard. From 65cebef43246c6f1020843b8a39849300f20505f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 15 May 2022 21:31:24 -0400 Subject: [PATCH 2/9] Bump clap from 3.1.12 to 3.1.18 (#5493) Bumps [clap](https://github.com/clap-rs/clap) from 3.1.12 to 3.1.18. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v3.1.12...v3.1.18) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Shawn Tabrizi --- Cargo.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8f80291e9983..1546e53931fe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1070,9 +1070,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.1.12" +version = "3.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c167e37342afc5f33fd87bbc870cedd020d2a6dffa05d45ccd9241fbdd146db" +checksum = "d2dbdf4bdacb33466e854ce889eee8dfd5729abf7ccd7664d0a2d60cd384440b" dependencies = [ "atty", "bitflags", @@ -1087,9 +1087,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.1.7" +version = "3.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3aab4734e083b809aaf5794e14e756d1c798d2c69c7f7de7a09a2f5214993c1" +checksum = "25320346e922cffe59c0bbc5410c8d8784509efb321488971081313cb1e1a33c" dependencies = [ "heck 0.4.0", "proc-macro-error", @@ -1100,9 +1100,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "189ddd3b5d32a70b35e7686054371742a937b0d99128e76dde6340210e966669" +checksum = "a37c35f1112dad5e6e0b1adaff798507497a18fceeb30cceb3bae7d1427b9213" dependencies = [ "os_str_bytes", ] From 14e6dd88d2e652bd81033aea49fbc6c8ba09505d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 15 May 2022 23:47:47 -0400 Subject: [PATCH 3/9] Bump serde_json from 1.0.79 to 1.0.81 (#5466) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.79 to 1.0.81. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.81) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- node/service/Cargo.toml | 2 +- node/test/service/Cargo.toml | 2 +- runtime/common/Cargo.toml | 2 +- runtime/kusama/Cargo.toml | 2 +- runtime/polkadot/Cargo.toml | 2 +- runtime/test-runtime/Cargo.toml | 2 +- runtime/westend/Cargo.toml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1546e53931fe..d66e9061f0e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9834,9 +9834,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.79" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e8d9fa5c3b304765ce1fd9c4c8a3de2c8db365a5b91be52f186efc675681d95" +checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c" dependencies = [ "itoa 1.0.1", "ryu", diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 632dc429f7fe..99bc24fe00b4 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -65,7 +65,7 @@ futures = "0.3.21" hex-literal = "0.3.4" gum = { package = "tracing-gum", path = "../gum/" } serde = { version = "1.0.137", features = ["derive"] } -serde_json = "1.0.59" +serde_json = "1.0.81" thiserror = "1.0.31" kvdb = "0.11.0" kvdb-rocksdb = { version = "0.15.2", optional = true } diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index d4f735f98365..a0f521b8827d 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -59,7 +59,7 @@ substrate-test-client = { git = "https://github.com/paritytech/substrate", branc [dev-dependencies] pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -serde_json = "1.0.79" +serde_json = "1.0.81" substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } tokio = { version = "1.18.1", features = ["macros"] } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 4149fc03a9a5..4cb9c8e4e48b 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -58,7 +58,7 @@ pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "maste pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } trie-db = "0.23.1" -serde_json = "1.0.79" +serde_json = "1.0.81" libsecp256k1 = "0.7.0" test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../primitives/test-helpers" } diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index ac1979dbe14e..e7cfa456e7b9 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -103,7 +103,7 @@ tiny-keccak = "2.0.2" keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } separator = "0.4.1" -serde_json = "1.0.79" +serde_json = "1.0.81" [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 6ab45c3579ed..0663351b683b 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -96,7 +96,7 @@ tiny-keccak = "2.0.2" keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } trie-db = "0.23.1" -serde_json = "1.0.79" +serde_json = "1.0.81" separator = "0.4.1" [build-dependencies] diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index fa1a4eb20677..f004851e459c 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -69,7 +69,7 @@ hex-literal = "0.3.4" tiny-keccak = "2.0.2" keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -serde_json = "1.0.79" +serde_json = "1.0.81" [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index efc26ad206f5..96a14ccb3d98 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -98,7 +98,7 @@ hex-literal = "0.3.4" tiny-keccak = "2.0.2" keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -serde_json = "1.0.79" +serde_json = "1.0.81" [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } From 61f44b63b5caceb3e95099142c5167cd9c9bbb42 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 May 2022 03:59:46 +0000 Subject: [PATCH 4/9] Bump tracing-subscriber from 0.3.10 to 0.3.11 (#5300) Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.10 to 0.3.11. - [Release notes](https://github.com/tokio-rs/tracing/releases) - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.10...tracing-subscriber-0.3.11) --- updated-dependencies: - dependency-name: tracing-subscriber dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 6 +++--- utils/staking-miner/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d66e9061f0e1..9a6e91548bf0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10852,7 +10852,7 @@ dependencies = [ "sub-tokens", "thiserror", "tokio", - "tracing-subscriber 0.3.10", + "tracing-subscriber 0.3.11", "westend-runtime", ] @@ -11720,9 +11720,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9df98b037d039d03400d9dd06b0f8ce05486b5f25e9a2d7d36196e142ebbc52" +checksum = "4bc28f93baff38037f64e6f43d34cfa1605f27a49c34e8a04c5e78b0babf2596" dependencies = [ "ansi_term", "lazy_static", diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 29309cb13cf6..14b9055d0f19 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } clap = { version = "3.1", features = ["derive", "env"] } -tracing-subscriber = { version = "0.3.10", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.11", features = ["env-filter"] } jsonrpsee = { version = "0.13.0", features = ["ws-client", "macros"] } log = "0.4.17" paste = "1.0.7" From 3f7b1c264598401b455a28884af8625dcc99a8e3 Mon Sep 17 00:00:00 2001 From: Bernhard Schuster Date: Mon, 16 May 2022 09:05:36 +0200 Subject: [PATCH 5/9] disable graph and expand features by default (#5530) See https://github.com/paritytech/ci_cd/issues/433 --- node/overseer/overseer-gen/proc-macro/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/overseer/overseer-gen/proc-macro/Cargo.toml b/node/overseer/overseer-gen/proc-macro/Cargo.toml index 7c6dcbd1b4ee..037edd223ea7 100644 --- a/node/overseer/overseer-gen/proc-macro/Cargo.toml +++ b/node/overseer/overseer-gen/proc-macro/Cargo.toml @@ -26,7 +26,7 @@ thiserror = "1" gum = { package = "tracing-gum", path = "../../../gum" } [features] -default = ["graph", "expand"] +default = [] # write the expanded version to a `overlord-expansion.[a-f0-9]{10}.rs` # in the `OUT_DIR` as defined by `cargo` for the `expander` crate. expand = [] From c64ffb6736d7af1f33eebad20310d6f8176a9941 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 May 2022 11:17:35 +0000 Subject: [PATCH 6/9] Bump syn from 1.0.92 to 1.0.94 (#5528) Bumps [syn](https://github.com/dtolnay/syn) from 1.0.92 to 1.0.94. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.92...1.0.94) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- node/gum/proc-macro/Cargo.toml | 2 +- node/overseer/overseer-gen/proc-macro/Cargo.toml | 2 +- xcm/procedural/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9a6e91548bf0..bf13b6eef8f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11137,9 +11137,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.92" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ff7c592601f11445996a06f8ad0c27f094a58857c2f89e97974ab9235b92c52" +checksum = "a07e33e919ebcd69113d5be0e4d70c5707004ff45188910106854f38b960df4a" dependencies = [ "proc-macro2", "quote", diff --git a/node/gum/proc-macro/Cargo.toml b/node/gum/proc-macro/Cargo.toml index 05c4777ded04..8e5fb285ee23 100644 --- a/node/gum/proc-macro/Cargo.toml +++ b/node/gum/proc-macro/Cargo.toml @@ -12,7 +12,7 @@ targets = ["x86_64-unknown-linux-gnu"] proc-macro = true [dependencies] -syn = { version = "1.0.92", features = ["full", "extra-traits"] } +syn = { version = "1.0.94", features = ["full", "extra-traits"] } quote = "1.0.18" proc-macro2 = "1.0.37" proc-macro-crate = "1.1.3" diff --git a/node/overseer/overseer-gen/proc-macro/Cargo.toml b/node/overseer/overseer-gen/proc-macro/Cargo.toml index 037edd223ea7..8ac73fa1b135 100644 --- a/node/overseer/overseer-gen/proc-macro/Cargo.toml +++ b/node/overseer/overseer-gen/proc-macro/Cargo.toml @@ -12,7 +12,7 @@ targets = ["x86_64-unknown-linux-gnu"] proc-macro = true [dependencies] -syn = { version = "1.0.92", features = ["full", "extra-traits"] } +syn = { version = "1.0.94", features = ["full", "extra-traits"] } quote = "1.0.18" proc-macro2 = "1.0.37" proc-macro-crate = "1.1.3" diff --git a/xcm/procedural/Cargo.toml b/xcm/procedural/Cargo.toml index 7aaaf38d8697..dbf1f3750403 100644 --- a/xcm/procedural/Cargo.toml +++ b/xcm/procedural/Cargo.toml @@ -10,5 +10,5 @@ proc-macro = true [dependencies] proc-macro2 = "1.0.37" quote = "1.0.18" -syn = "1.0.92" +syn = "1.0.94" Inflector = "0.11.4" From 05dc7d8c2f716bf3a5c60105e400eb06939f9ad8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 May 2022 11:19:36 +0000 Subject: [PATCH 7/9] Bump tokio from 1.18.1 to 1.18.2 (#5529) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.18.1 to 1.18.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.1...tokio-1.18.2) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- node/metrics/Cargo.toml | 2 +- node/test/service/Cargo.toml | 4 ++-- node/zombienet-backchannel/Cargo.toml | 2 +- parachain/test-parachains/adder/collator/Cargo.toml | 2 +- utils/remote-ext-tests/bags-list/Cargo.toml | 2 +- utils/staking-miner/Cargo.toml | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bf13b6eef8f3..eff090e90f15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11490,9 +11490,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.18.1" +version = "1.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce653fb475565de9f6fb0614b28bca8df2c430c0cf84bcd9c843f15de5414cc" +checksum = "4903bf0427cf68dddd5aa6a93220756f8be0c34fcfa9f5e6191e103e15a31395" dependencies = [ "bytes", "libc", diff --git a/Cargo.toml b/Cargo.toml index ebda68090af6..a8c960086186 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ parity-util-mem = { version = "0.11.0", default-features = false, features = ["j assert_cmd = "2.0.4" nix = "0.24.1" tempfile = "3.2.0" -tokio = "1.18.1" +tokio = "1.18.2" remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-core-primitives = { path = "core-primitives" } diff --git a/node/metrics/Cargo.toml b/node/metrics/Cargo.toml index eac665adf7d6..24727e9031d9 100644 --- a/node/metrics/Cargo.toml +++ b/node/metrics/Cargo.toml @@ -28,7 +28,7 @@ assert_cmd = "2.0.4" nix = "0.24.1" tempfile = "3.2.0" hyper = { version = "0.14.18", default-features = false, features = ["http1", "tcp"] } -tokio = "1.18.1" +tokio = "1.18.2" polkadot-test-service = { path = "../test/service", features=["runtime-metrics"]} substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index a0f521b8827d..129459cbc433 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -11,7 +11,7 @@ hex = "0.4.3" gum = { package = "tracing-gum", path = "../../gum" } rand = "0.8.5" tempfile = "3.2.0" -tokio = "1.18.1" +tokio = "1.18.2" # Polkadot dependencies polkadot-overseer = { path = "../../overseer" } @@ -61,7 +61,7 @@ substrate-test-client = { git = "https://github.com/paritytech/substrate", branc pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } serde_json = "1.0.81" substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } -tokio = { version = "1.18.1", features = ["macros"] } +tokio = { version = "1.18.2", features = ["macros"] } [features] runtime-metrics=["polkadot-test-runtime/runtime-metrics"] diff --git a/node/zombienet-backchannel/Cargo.toml b/node/zombienet-backchannel/Cargo.toml index 195e67624fa0..4257f784d79d 100644 --- a/node/zombienet-backchannel/Cargo.toml +++ b/node/zombienet-backchannel/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" publish = false [dependencies] -tokio = { version = "1.18.1", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] } +tokio = { version = "1.18.2", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] } url = "2.0.0" tokio-tungstenite = "0.17" futures-util = "0.3.21" diff --git a/parachain/test-parachains/adder/collator/Cargo.toml b/parachain/test-parachains/adder/collator/Cargo.toml index 8b272f59f7d1..6b6ee1065438 100644 --- a/parachain/test-parachains/adder/collator/Cargo.toml +++ b/parachain/test-parachains/adder/collator/Cargo.toml @@ -44,4 +44,4 @@ substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -tokio = { version = "1.18.1", features = ["macros"] } +tokio = { version = "1.18.2", features = ["macros"] } diff --git a/utils/remote-ext-tests/bags-list/Cargo.toml b/utils/remote-ext-tests/bags-list/Cargo.toml index acc1a194a132..e13ee9a2417c 100644 --- a/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/utils/remote-ext-tests/bags-list/Cargo.toml @@ -19,4 +19,4 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } clap = { version = "3.1", features = ["derive"] } log = "0.4.17" -tokio = { version = "1.18.1", features = ["macros"] } +tokio = { version = "1.18.2", features = ["macros"] } diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 14b9055d0f19..cbaeddc7e7f9 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -14,7 +14,7 @@ paste = "1.0.7" serde = "1.0.137" serde_json = "1.0" thiserror = "1.0.31" -tokio = { version = "1.18.1", features = ["macros", "rt-multi-thread", "sync"] } +tokio = { version = "1.18.2", features = ["macros", "rt-multi-thread", "sync"] } remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } From cc6deaee78209fe463f33b96e2a565e17056e3bf Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Mon, 16 May 2022 13:24:24 +0200 Subject: [PATCH 8/9] version bumps (0.9.22) (#5495) * bump versions to 0.9.22 * bump spec_version to 9220 --- Cargo.lock | 170 +++++++++--------- Cargo.toml | 2 +- cli/Cargo.toml | 2 +- core-primitives/Cargo.toml | 2 +- erasure-coding/Cargo.toml | 2 +- erasure-coding/fuzzer/Cargo.toml | 2 +- node/client/Cargo.toml | 2 +- node/collation-generation/Cargo.toml | 2 +- node/core/approval-voting/Cargo.toml | 2 +- node/core/av-store/Cargo.toml | 2 +- node/core/backing/Cargo.toml | 2 +- node/core/bitfield-signing/Cargo.toml | 2 +- node/core/candidate-validation/Cargo.toml | 2 +- node/core/chain-api/Cargo.toml | 2 +- node/core/chain-selection/Cargo.toml | 2 +- node/core/dispute-coordinator/Cargo.toml | 2 +- node/core/parachains-inherent/Cargo.toml | 2 +- node/core/provisioner/Cargo.toml | 2 +- node/core/pvf-checker/Cargo.toml | 2 +- node/core/pvf/Cargo.toml | 2 +- node/core/runtime-api/Cargo.toml | 2 +- node/gum/Cargo.toml | 2 +- node/gum/proc-macro/Cargo.toml | 2 +- node/jaeger/Cargo.toml | 2 +- node/malus/Cargo.toml | 2 +- node/metered-channel/Cargo.toml | 2 +- node/metrics/Cargo.toml | 2 +- node/network/approval-distribution/Cargo.toml | 2 +- .../availability-distribution/Cargo.toml | 2 +- node/network/availability-recovery/Cargo.toml | 2 +- node/network/bitfield-distribution/Cargo.toml | 2 +- node/network/bridge/Cargo.toml | 2 +- node/network/collator-protocol/Cargo.toml | 2 +- node/network/dispute-distribution/Cargo.toml | 2 +- node/network/gossip-support/Cargo.toml | 2 +- node/network/protocol/Cargo.toml | 2 +- .../network/statement-distribution/Cargo.toml | 2 +- node/overseer/Cargo.toml | 2 +- node/overseer/overseer-gen/Cargo.toml | 2 +- .../overseer-gen/proc-macro/Cargo.toml | 2 +- node/primitives/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- node/subsystem-test-helpers/Cargo.toml | 2 +- node/subsystem-types/Cargo.toml | 2 +- node/subsystem-util/Cargo.toml | 2 +- node/subsystem/Cargo.toml | 2 +- node/test/client/Cargo.toml | 2 +- node/test/performance-test/Cargo.toml | 2 +- node/test/service/Cargo.toml | 2 +- node/zombienet-backchannel/Cargo.toml | 2 +- parachain/Cargo.toml | 2 +- parachain/test-parachains/Cargo.toml | 2 +- parachain/test-parachains/adder/Cargo.toml | 2 +- .../test-parachains/adder/collator/Cargo.toml | 2 +- parachain/test-parachains/halt/Cargo.toml | 2 +- parachain/test-parachains/undying/Cargo.toml | 2 +- .../undying/collator/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- primitives/test-helpers/Cargo.toml | 2 +- rpc/Cargo.toml | 2 +- runtime/common/Cargo.toml | 2 +- runtime/common/slot_range_helper/Cargo.toml | 2 +- runtime/kusama/Cargo.toml | 2 +- runtime/kusama/constants/Cargo.toml | 2 +- runtime/kusama/src/lib.rs | 2 +- runtime/metrics/Cargo.toml | 2 +- runtime/parachains/Cargo.toml | 2 +- runtime/polkadot/Cargo.toml | 2 +- runtime/polkadot/constants/Cargo.toml | 2 +- runtime/polkadot/src/lib.rs | 2 +- runtime/rococo/Cargo.toml | 2 +- runtime/rococo/constants/Cargo.toml | 2 +- runtime/rococo/src/lib.rs | 2 +- runtime/test-runtime/Cargo.toml | 2 +- runtime/test-runtime/constants/Cargo.toml | 2 +- runtime/westend/Cargo.toml | 2 +- runtime/westend/constants/Cargo.toml | 2 +- runtime/westend/src/lib.rs | 2 +- statement-table/Cargo.toml | 2 +- utils/generate-bags/Cargo.toml | 2 +- utils/remote-ext-tests/bags-list/Cargo.toml | 2 +- utils/staking-miner/Cargo.lock | 4 +- utils/staking-miner/Cargo.toml | 2 +- xcm/Cargo.toml | 2 +- xcm/pallet-xcm-benchmarks/Cargo.toml | 2 +- xcm/pallet-xcm/Cargo.toml | 2 +- xcm/xcm-builder/Cargo.toml | 2 +- xcm/xcm-executor/Cargo.toml | 2 +- xcm/xcm-executor/integration-tests/Cargo.toml | 2 +- xcm/xcm-simulator/Cargo.toml | 2 +- xcm/xcm-simulator/example/Cargo.toml | 2 +- xcm/xcm-simulator/fuzzer/Cargo.toml | 2 +- 92 files changed, 177 insertions(+), 177 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eff090e90f15..74d4d55eabd8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3329,7 +3329,7 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" [[package]] name = "kusama-runtime" -version = "0.9.19" +version = "0.9.22" dependencies = [ "beefy-primitives", "bitvec", @@ -3426,7 +3426,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "polkadot-primitives", @@ -4368,7 +4368,7 @@ dependencies = [ [[package]] name = "metered-channel" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "coarsetime", @@ -5801,7 +5801,7 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "frame-system", @@ -5823,7 +5823,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-benchmarking", "frame-support", @@ -6156,7 +6156,7 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "polkadot" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_cmd", "color-eyre", @@ -6171,7 +6171,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "env_logger 0.9.0", @@ -6194,7 +6194,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "bitvec", @@ -6218,7 +6218,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "derive_more", @@ -6247,7 +6247,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "env_logger 0.9.0", @@ -6276,7 +6276,7 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.19" +version = "0.9.22" dependencies = [ "clap", "frame-benchmarking-cli", @@ -6301,7 +6301,7 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.19" +version = "0.9.22" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -6343,7 +6343,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.19" +version = "0.9.22" dependencies = [ "always-assert", "assert_matches", @@ -6371,7 +6371,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.19" +version = "0.9.22" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -6383,7 +6383,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "async-trait", @@ -6414,7 +6414,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.19" +version = "0.9.22" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -6427,7 +6427,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "async-trait", @@ -6454,7 +6454,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.19" +version = "0.9.22" dependencies = [ "always-assert", "assert_matches", @@ -6480,7 +6480,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.19" +version = "0.9.22" dependencies = [ "futures 0.3.21", "parity-scale-codec", @@ -6499,7 +6499,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "bitvec", @@ -6537,7 +6537,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "bitvec", @@ -6565,7 +6565,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "bitvec", @@ -6591,7 +6591,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.19" +version = "0.9.22" dependencies = [ "futures 0.3.21", "polkadot-node-subsystem", @@ -6607,7 +6607,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "async-trait", @@ -6629,7 +6629,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.19" +version = "0.9.22" dependencies = [ "futures 0.3.21", "maplit", @@ -6648,7 +6648,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "futures 0.3.21", @@ -6669,7 +6669,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "fatality", @@ -6695,7 +6695,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.19" +version = "0.9.22" dependencies = [ "async-trait", "futures 0.3.21", @@ -6711,7 +6711,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.19" +version = "0.9.22" dependencies = [ "bitvec", "fatality", @@ -6732,7 +6732,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.19" +version = "0.9.22" dependencies = [ "always-assert", "assert_matches", @@ -6765,7 +6765,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.19" +version = "0.9.22" dependencies = [ "futures 0.3.21", "futures-timer", @@ -6788,7 +6788,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.19" +version = "0.9.22" dependencies = [ "futures 0.3.21", "memory-lru", @@ -6809,7 +6809,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.19" +version = "0.9.22" dependencies = [ "async-std", "lazy_static", @@ -6826,7 +6826,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_cmd", "bs58", @@ -6854,7 +6854,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.19" +version = "0.9.22" dependencies = [ "async-trait", "derive_more", @@ -6874,7 +6874,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "0.9.19" +version = "0.9.22" dependencies = [ "bounded-vec", "futures 0.3.21", @@ -6896,7 +6896,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "0.9.19" +version = "0.9.22" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -6905,7 +6905,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-test-helpers" -version = "0.9.19" +version = "0.9.22" dependencies = [ "async-trait", "futures 0.3.21", @@ -6923,7 +6923,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.19" +version = "0.9.22" dependencies = [ "derive_more", "futures 0.3.21", @@ -6941,7 +6941,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "async-trait", @@ -6981,7 +6981,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "femme", @@ -7006,7 +7006,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen" -version = "0.9.19" +version = "0.9.22" dependencies = [ "async-trait", "futures 0.3.21", @@ -7024,7 +7024,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "expander 0.0.6", @@ -7040,7 +7040,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.9.19" +version = "0.9.22" dependencies = [ "derive_more", "frame-support", @@ -7056,7 +7056,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.19" +version = "0.9.22" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -7070,7 +7070,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.19" +version = "0.9.22" dependencies = [ "bitvec", "frame-system", @@ -7099,7 +7099,7 @@ dependencies = [ [[package]] name = "polkadot-primitives-test-helpers" -version = "0.9.19" +version = "0.9.22" dependencies = [ "polkadot-primitives", "rand 0.8.5", @@ -7110,7 +7110,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.19" +version = "0.9.22" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -7141,7 +7141,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.19" +version = "0.9.22" dependencies = [ "beefy-primitives", "bitvec", @@ -7232,7 +7232,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.19" +version = "0.9.22" dependencies = [ "beefy-primitives", "bitvec", @@ -7284,7 +7284,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "polkadot-primitives", @@ -7295,7 +7295,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.19" +version = "0.9.22" dependencies = [ "bs58", "parity-scale-codec", @@ -7306,7 +7306,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "bitflags", @@ -7357,7 +7357,7 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "async-trait", @@ -7467,7 +7467,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.19" +version = "0.9.22" dependencies = [ "arrayvec 0.5.2", "assert_matches", @@ -7498,7 +7498,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.19" +version = "0.9.22" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -7507,7 +7507,7 @@ dependencies = [ [[package]] name = "polkadot-test-client" -version = "0.9.19" +version = "0.9.22" dependencies = [ "futures 0.3.21", "parity-scale-codec", @@ -7533,7 +7533,7 @@ dependencies = [ [[package]] name = "polkadot-test-malus" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "async-trait", @@ -7561,7 +7561,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.9.19" +version = "0.9.22" dependencies = [ "beefy-primitives", "bitvec", @@ -7627,7 +7627,7 @@ dependencies = [ [[package]] name = "polkadot-test-service" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-benchmarking", "frame-system", @@ -7682,7 +7682,7 @@ dependencies = [ [[package]] name = "polkadot-voter-bags" -version = "0.9.19" +version = "0.9.22" dependencies = [ "clap", "generate-bags", @@ -8275,7 +8275,7 @@ dependencies = [ [[package]] name = "remote-ext-tests-bags-list" -version = "0.9.19" +version = "0.9.22" dependencies = [ "clap", "frame-system", @@ -8408,7 +8408,7 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.19" +version = "0.9.22" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -8484,7 +8484,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "polkadot-primitives", @@ -10022,7 +10022,7 @@ checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" [[package]] name = "slot-range-helper" -version = "0.9.19" +version = "0.9.22" dependencies = [ "enumn", "parity-scale-codec", @@ -10821,7 +10821,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staking-miner" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_cmd", "clap", @@ -11233,7 +11233,7 @@ checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16" [[package]] name = "test-parachain-adder" -version = "0.9.19" +version = "0.9.22" dependencies = [ "dlmalloc", "parity-scale-codec", @@ -11246,7 +11246,7 @@ dependencies = [ [[package]] name = "test-parachain-adder-collator" -version = "0.9.19" +version = "0.9.22" dependencies = [ "clap", "futures 0.3.21", @@ -11272,14 +11272,14 @@ dependencies = [ [[package]] name = "test-parachain-halt" -version = "0.9.19" +version = "0.9.22" dependencies = [ "substrate-wasm-builder", ] [[package]] name = "test-parachain-undying" -version = "0.9.19" +version = "0.9.22" dependencies = [ "dlmalloc", "log", @@ -11293,7 +11293,7 @@ dependencies = [ [[package]] name = "test-parachain-undying-collator" -version = "0.9.19" +version = "0.9.22" dependencies = [ "clap", "futures 0.3.21", @@ -11319,7 +11319,7 @@ dependencies = [ [[package]] name = "test-parachains" -version = "0.9.19" +version = "0.9.22" dependencies = [ "parity-scale-codec", "sp-core", @@ -11330,7 +11330,7 @@ dependencies = [ [[package]] name = "test-runtime-constants" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "polkadot-primitives", @@ -11652,7 +11652,7 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.19" +version = "0.9.22" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -11662,7 +11662,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "0.9.19" +version = "0.9.22" dependencies = [ "assert_matches", "expander 0.0.6", @@ -12446,7 +12446,7 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.19" +version = "0.9.22" dependencies = [ "beefy-primitives", "bitvec", @@ -12538,7 +12538,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "polkadot-primitives", @@ -12721,7 +12721,7 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.19" +version = "0.9.22" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -12733,7 +12733,7 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "frame-system", @@ -12756,7 +12756,7 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-benchmarking", "frame-support", @@ -12773,7 +12773,7 @@ dependencies = [ [[package]] name = "xcm-executor-integration-tests" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "frame-system", @@ -12803,7 +12803,7 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "parity-scale-codec", @@ -12819,7 +12819,7 @@ dependencies = [ [[package]] name = "xcm-simulator-example" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "frame-system", @@ -12842,7 +12842,7 @@ dependencies = [ [[package]] name = "xcm-simulator-fuzzer" -version = "0.9.19" +version = "0.9.22" dependencies = [ "frame-support", "frame-system", @@ -12901,7 +12901,7 @@ dependencies = [ [[package]] name = "zombienet-backchannel" -version = "0.9.19" +version = "0.9.22" dependencies = [ "futures-util", "lazy_static", diff --git a/Cargo.toml b/Cargo.toml index a8c960086186..b02f6ac1b500 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ path = "src/main.rs" name = "polkadot" description = "Implementation of a `https://polkadot.network` node in Rust based on the Substrate framework." license = "GPL-3.0-only" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" rust-version = "1.57.0" # custom profiles diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 6f3b3a16e6f6..e78d072b89ab 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-cli" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Polkadot Relay-chain Client Node" edition = "2021" diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index 3e9a4b503351..735a41e38256 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-core-primitives" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/erasure-coding/Cargo.toml b/erasure-coding/Cargo.toml index 294e8812b5bf..ee7580ce0f68 100644 --- a/erasure-coding/Cargo.toml +++ b/erasure-coding/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-erasure-coding" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/erasure-coding/fuzzer/Cargo.toml b/erasure-coding/fuzzer/Cargo.toml index 8db6b698a19a..9d248cd5cc05 100644 --- a/erasure-coding/fuzzer/Cargo.toml +++ b/erasure-coding/fuzzer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erasure_coding_fuzzer" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index 34815dad0343..4966970b5049 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-client" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/collation-generation/Cargo.toml b/node/collation-generation/Cargo.toml index 36d38f164c87..11053f0a6461 100644 --- a/node/collation-generation/Cargo.toml +++ b/node/collation-generation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-collation-generation" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index 749b3bae81c4..cbdefe4c1c24 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-approval-voting" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index 1ce4168817bb..621c7fe8bd22 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-av-store" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/backing/Cargo.toml b/node/core/backing/Cargo.toml index fcc3ecb76186..6a2ca3b9cda3 100644 --- a/node/core/backing/Cargo.toml +++ b/node/core/backing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-backing" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/bitfield-signing/Cargo.toml b/node/core/bitfield-signing/Cargo.toml index 927724acc361..21d47c5c15c2 100644 --- a/node/core/bitfield-signing/Cargo.toml +++ b/node/core/bitfield-signing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-bitfield-signing" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/candidate-validation/Cargo.toml b/node/core/candidate-validation/Cargo.toml index f98603c15a25..aef14c51c10b 100644 --- a/node/core/candidate-validation/Cargo.toml +++ b/node/core/candidate-validation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-candidate-validation" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/chain-api/Cargo.toml b/node/core/chain-api/Cargo.toml index c2df290d209b..4258939ad76b 100644 --- a/node/core/chain-api/Cargo.toml +++ b/node/core/chain-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-chain-api" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/chain-selection/Cargo.toml b/node/core/chain-selection/Cargo.toml index 941bacbb7e4f..2b56b386587c 100644 --- a/node/core/chain-selection/Cargo.toml +++ b/node/core/chain-selection/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "polkadot-node-core-chain-selection" description = "Chain Selection Subsystem" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index fd3c71454bb3..c67a291acfe2 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/parachains-inherent/Cargo.toml b/node/core/parachains-inherent/Cargo.toml index a2710e82b307..72c0ff971038 100644 --- a/node/core/parachains-inherent/Cargo.toml +++ b/node/core/parachains-inherent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-parachains-inherent" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/provisioner/Cargo.toml b/node/core/provisioner/Cargo.toml index 17aaf7da9665..8eb7467c3921 100644 --- a/node/core/provisioner/Cargo.toml +++ b/node/core/provisioner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-provisioner" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/pvf-checker/Cargo.toml b/node/core/pvf-checker/Cargo.toml index 245ae800487d..35428267ce33 100644 --- a/node/core/pvf-checker/Cargo.toml +++ b/node/core/pvf-checker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-pvf-checker" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index 2197ea0e073a..0e58c6bd058c 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-pvf" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index 3e63c4d86d17..3c20bb60924c 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-runtime-api" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/gum/Cargo.toml b/node/gum/Cargo.toml index 45dd780e96a1..dab3cdcc188a 100644 --- a/node/gum/Cargo.toml +++ b/node/gum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-gum" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Stick logs together with the TraceID as provided by tempo" diff --git a/node/gum/proc-macro/Cargo.toml b/node/gum/proc-macro/Cargo.toml index 8e5fb285ee23..a33f5bf1d5bf 100644 --- a/node/gum/proc-macro/Cargo.toml +++ b/node/gum/proc-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-gum-proc-macro" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Generate an overseer including builder pattern and message wrapper from a single annotated struct definition." diff --git a/node/jaeger/Cargo.toml b/node/jaeger/Cargo.toml index e1cfcd7e49eb..da4fb06e58d4 100644 --- a/node/jaeger/Cargo.toml +++ b/node/jaeger/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-jaeger" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Polkadot Jaeger primitives, but equally useful for Grafana/Tempo" diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index 74a5c3a7627a..051687fce735 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -2,7 +2,7 @@ name = "polkadot-test-malus" description = "Misbehaving nodes for local testnets, system and Simnet tests." license = "GPL-3.0-only" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" readme = "README.md" diff --git a/node/metered-channel/Cargo.toml b/node/metered-channel/Cargo.toml index 2d6130254c74..8d9772573c60 100644 --- a/node/metered-channel/Cargo.toml +++ b/node/metered-channel/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "metered-channel" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Channels with attached Meters" diff --git a/node/metrics/Cargo.toml b/node/metrics/Cargo.toml index 24727e9031d9..f657084a25b0 100644 --- a/node/metrics/Cargo.toml +++ b/node/metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-metrics" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem metric helpers" diff --git a/node/network/approval-distribution/Cargo.toml b/node/network/approval-distribution/Cargo.toml index cb4ebaafb7da..b1591f580c7d 100644 --- a/node/network/approval-distribution/Cargo.toml +++ b/node/network/approval-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-approval-distribution" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/availability-distribution/Cargo.toml b/node/network/availability-distribution/Cargo.toml index 0589fd684977..fb804ced295e 100644 --- a/node/network/availability-distribution/Cargo.toml +++ b/node/network/availability-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-availability-distribution" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/availability-recovery/Cargo.toml b/node/network/availability-recovery/Cargo.toml index e63144a822eb..287bb2630873 100644 --- a/node/network/availability-recovery/Cargo.toml +++ b/node/network/availability-recovery/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-availability-recovery" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/bitfield-distribution/Cargo.toml b/node/network/bitfield-distribution/Cargo.toml index a0e132d01299..1fe9d973acf2 100644 --- a/node/network/bitfield-distribution/Cargo.toml +++ b/node/network/bitfield-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-availability-bitfield-distribution" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/bridge/Cargo.toml b/node/network/bridge/Cargo.toml index c3abd296d511..d625c7e94f17 100644 --- a/node/network/bridge/Cargo.toml +++ b/node/network/bridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-network-bridge" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/collator-protocol/Cargo.toml b/node/network/collator-protocol/Cargo.toml index 4b003f4a8449..423f13590d5a 100644 --- a/node/network/collator-protocol/Cargo.toml +++ b/node/network/collator-protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-collator-protocol" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/dispute-distribution/Cargo.toml b/node/network/dispute-distribution/Cargo.toml index 2c69a26e9446..39122164c4f2 100644 --- a/node/network/dispute-distribution/Cargo.toml +++ b/node/network/dispute-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-dispute-distribution" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/gossip-support/Cargo.toml b/node/network/gossip-support/Cargo.toml index 54984e748fac..3f214cfc6e3f 100644 --- a/node/network/gossip-support/Cargo.toml +++ b/node/network/gossip-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-gossip-support" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/protocol/Cargo.toml b/node/network/protocol/Cargo.toml index e3c766bc58cc..780b6a27d373 100644 --- a/node/network/protocol/Cargo.toml +++ b/node/network/protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-network-protocol" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Primitives types for the Node-side" diff --git a/node/network/statement-distribution/Cargo.toml b/node/network/statement-distribution/Cargo.toml index 61e87ec5cf63..a5d2001ed639 100644 --- a/node/network/statement-distribution/Cargo.toml +++ b/node/network/statement-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-statement-distribution" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Statement Distribution Subsystem" edition = "2021" diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 70b8b33b080d..13ecd0a83829 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-overseer" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/overseer/overseer-gen/Cargo.toml b/node/overseer/overseer-gen/Cargo.toml index e8c2b569a023..f22c36771934 100644 --- a/node/overseer/overseer-gen/Cargo.toml +++ b/node/overseer/overseer-gen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-overseer-gen" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Generate an overseer including builder pattern and message wrapper from a single struct." diff --git a/node/overseer/overseer-gen/proc-macro/Cargo.toml b/node/overseer/overseer-gen/proc-macro/Cargo.toml index 8ac73fa1b135..c876e8fdba72 100644 --- a/node/overseer/overseer-gen/proc-macro/Cargo.toml +++ b/node/overseer/overseer-gen/proc-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-overseer-gen-proc-macro" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Generate an overseer including builder pattern and message wrapper from a single annotated struct definition." diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index 9bee7ddbf155..19294a10cd0a 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-primitives" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Primitives types for the Node-side" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 99bc24fe00b4..7560b5370105 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-service" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/subsystem-test-helpers/Cargo.toml b/node/subsystem-test-helpers/Cargo.toml index 17bad3f4b49d..91f8b62ebf52 100644 --- a/node/subsystem-test-helpers/Cargo.toml +++ b/node/subsystem-test-helpers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem-test-helpers" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions" diff --git a/node/subsystem-types/Cargo.toml b/node/subsystem-types/Cargo.toml index 988e9c8bb2f3..8f94a6ac510c 100644 --- a/node/subsystem-types/Cargo.toml +++ b/node/subsystem-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem-types" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions" diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index 97b0a3687e77..34d78940faf7 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem-util" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions" diff --git a/node/subsystem/Cargo.toml b/node/subsystem/Cargo.toml index 2df1c2ba0093..f7204d409fb6 100644 --- a/node/subsystem/Cargo.toml +++ b/node/subsystem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions and the generated overseer" diff --git a/node/test/client/Cargo.toml b/node/test/client/Cargo.toml index 7636e907664f..0d4cb5ca2a11 100644 --- a/node/test/client/Cargo.toml +++ b/node/test/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-client" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/test/performance-test/Cargo.toml b/node/test/performance-test/Cargo.toml index 5e9020a23189..475ad03d1773 100644 --- a/node/test/performance-test/Cargo.toml +++ b/node/test/performance-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-performance-test" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index 129459cbc433..6f13a713536f 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-service" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/zombienet-backchannel/Cargo.toml b/node/zombienet-backchannel/Cargo.toml index 4257f784d79d..2187b9315e32 100644 --- a/node/zombienet-backchannel/Cargo.toml +++ b/node/zombienet-backchannel/Cargo.toml @@ -2,7 +2,7 @@ name = "zombienet-backchannel" description = "Zombienet backchannel to notify test runner and coordinate with malus actors." license = "GPL-3.0-only" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" readme = "README.md" diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index 8039872d3bb5..7aba0b221800 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-parachain" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Types and utilities for creating and working with parachains" edition = "2021" diff --git a/parachain/test-parachains/Cargo.toml b/parachain/test-parachains/Cargo.toml index f9602b847281..0fa1f976acec 100644 --- a/parachain/test-parachains/Cargo.toml +++ b/parachain/test-parachains/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachains" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Integration tests using the test-parachains" edition = "2021" diff --git a/parachain/test-parachains/adder/Cargo.toml b/parachain/test-parachains/adder/Cargo.toml index 9b5360bff3fa..81bd33249430 100644 --- a/parachain/test-parachains/adder/Cargo.toml +++ b/parachain/test-parachains/adder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-adder" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Test parachain which adds to a number as its state transition" edition = "2021" diff --git a/parachain/test-parachains/adder/collator/Cargo.toml b/parachain/test-parachains/adder/collator/Cargo.toml index 6b6ee1065438..6c538969287c 100644 --- a/parachain/test-parachains/adder/collator/Cargo.toml +++ b/parachain/test-parachains/adder/collator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-adder-collator" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Collator for the adder test parachain" edition = "2021" diff --git a/parachain/test-parachains/halt/Cargo.toml b/parachain/test-parachains/halt/Cargo.toml index b5899f4d10c5..25a1cc72f9c5 100644 --- a/parachain/test-parachains/halt/Cargo.toml +++ b/parachain/test-parachains/halt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-halt" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Test parachain which executes forever" edition = "2021" diff --git a/parachain/test-parachains/undying/Cargo.toml b/parachain/test-parachains/undying/Cargo.toml index 734460f087e9..e636b4af3559 100644 --- a/parachain/test-parachains/undying/Cargo.toml +++ b/parachain/test-parachains/undying/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-undying" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Test parachain for zombienet integration tests" edition = "2021" diff --git a/parachain/test-parachains/undying/collator/Cargo.toml b/parachain/test-parachains/undying/collator/Cargo.toml index 543e1308b3db..dded32322f51 100644 --- a/parachain/test-parachains/undying/collator/Cargo.toml +++ b/parachain/test-parachains/undying/collator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-undying-collator" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Collator for the undying test parachain" edition = "2021" diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 17a1e8afcbd7..c45a96dcb91e 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-primitives" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/primitives/test-helpers/Cargo.toml b/primitives/test-helpers/Cargo.toml index 243b714280c0..6afe34f92753 100644 --- a/primitives/test-helpers/Cargo.toml +++ b/primitives/test-helpers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-primitives-test-helpers" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 899ea0054ced..72a5ab857ea1 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-rpc" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 4cb9c8e4e48b..215655ab6a1f 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-common" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/common/slot_range_helper/Cargo.toml b/runtime/common/slot_range_helper/Cargo.toml index 00d35a229640..e8aa5042c011 100644 --- a/runtime/common/slot_range_helper/Cargo.toml +++ b/runtime/common/slot_range_helper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "slot-range-helper" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index e7cfa456e7b9..3064fa9292ea 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kusama-runtime" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/kusama/constants/Cargo.toml b/runtime/kusama/constants/Cargo.toml index 1f4b59417203..3985dc39983a 100644 --- a/runtime/kusama/constants/Cargo.toml +++ b/runtime/kusama/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kusama-runtime-constants" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index efaaa8fc84fa..d615b932bc30 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -116,7 +116,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 9200, + spec_version: 9220, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, diff --git a/runtime/metrics/Cargo.toml b/runtime/metrics/Cargo.toml index b2fec658cb78..8c403eefc7db 100644 --- a/runtime/metrics/Cargo.toml +++ b/runtime/metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-metrics" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index 68dc82cce26b..71eea7d8d7f1 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-parachains" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 0663351b683b..72137430cfad 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/polkadot/constants/Cargo.toml b/runtime/polkadot/constants/Cargo.toml index f5c13d8ea369..2b017e40d0ba 100644 --- a/runtime/polkadot/constants/Cargo.toml +++ b/runtime/polkadot/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-constants" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index f11d0e20e57f..78d2862e91bd 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -111,7 +111,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), authoring_version: 0, - spec_version: 9200, + spec_version: 9220, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index 5d89fe43725b..c74f97653ee0 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rococo-runtime" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/rococo/constants/Cargo.toml b/runtime/rococo/constants/Cargo.toml index ac4c7c3ca81d..50cba9cb8206 100644 --- a/runtime/rococo/constants/Cargo.toml +++ b/runtime/rococo/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rococo-runtime-constants" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 2a820d265a67..2b98e31dd497 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -100,7 +100,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("rococo"), impl_name: create_runtime_str!("parity-rococo-v2.0"), authoring_version: 0, - spec_version: 9200, + spec_version: 9220, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index f004851e459c..0961b7084816 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-runtime" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/test-runtime/constants/Cargo.toml b/runtime/test-runtime/constants/Cargo.toml index a8e2fc1c57ba..6e0aeef7488a 100644 --- a/runtime/test-runtime/constants/Cargo.toml +++ b/runtime/test-runtime/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-runtime-constants" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 96a14ccb3d98..693027e01ed5 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "westend-runtime" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/westend/constants/Cargo.toml b/runtime/westend/constants/Cargo.toml index 3629cbf5fc8a..05e05c9b5b2d 100644 --- a/runtime/westend/constants/Cargo.toml +++ b/runtime/westend/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "westend-runtime-constants" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index b18610ad3390..00bcdb8b44cf 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -105,7 +105,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("westend"), impl_name: create_runtime_str!("parity-westend"), authoring_version: 2, - spec_version: 9200, + spec_version: 9220, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, diff --git a/statement-table/Cargo.toml b/statement-table/Cargo.toml index 4d0309c61ff8..0ec782074fb0 100644 --- a/statement-table/Cargo.toml +++ b/statement-table/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-statement-table" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/utils/generate-bags/Cargo.toml b/utils/generate-bags/Cargo.toml index 7859e94ca61f..c22580edacaa 100644 --- a/utils/generate-bags/Cargo.toml +++ b/utils/generate-bags/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-voter-bags" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/utils/remote-ext-tests/bags-list/Cargo.toml b/utils/remote-ext-tests/bags-list/Cargo.toml index e13ee9a2417c..620620676b09 100644 --- a/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/utils/remote-ext-tests/bags-list/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "remote-ext-tests-bags-list" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/utils/staking-miner/Cargo.lock b/utils/staking-miner/Cargo.lock index d6d28d54fbea..c2897535eb1b 100644 --- a/utils/staking-miner/Cargo.lock +++ b/utils/staking-miner/Cargo.lock @@ -1934,7 +1934,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "polkadot-core-primitives" -version = "0.9.19" +version = "0.9.22" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -3681,7 +3681,7 @@ dependencies = [ [[package]] name = "staking-miner" -version = "0.9.19" +version = "0.9.22" dependencies = [ "anyhow", "assert_cmd", diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index cbaeddc7e7f9..a9a5f2939219 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "staking-miner" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] edition = "2021" diff --git a/xcm/Cargo.toml b/xcm/Cargo.toml index 753aaf322051..ac7839cdcb29 100644 --- a/xcm/Cargo.toml +++ b/xcm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "The basic XCM datastructures." edition = "2021" diff --git a/xcm/pallet-xcm-benchmarks/Cargo.toml b/xcm/pallet-xcm-benchmarks/Cargo.toml index e2545d58cf0e..03f483e4a570 100644 --- a/xcm/pallet-xcm-benchmarks/Cargo.toml +++ b/xcm/pallet-xcm-benchmarks/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-xcm-benchmarks" authors = ["Parity Technologies "] edition = "2021" -version = "0.9.19" +version = "0.9.22" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/xcm/pallet-xcm/Cargo.toml b/xcm/pallet-xcm/Cargo.toml index 3d0d11fede97..edc4edacfb0a 100644 --- a/xcm/pallet-xcm/Cargo.toml +++ b/xcm/pallet-xcm/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "pallet-xcm" -version = "0.9.19" +version = "0.9.22" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } diff --git a/xcm/xcm-builder/Cargo.toml b/xcm/xcm-builder/Cargo.toml index 0775c4cd0c0f..69779a3430dd 100644 --- a/xcm/xcm-builder/Cargo.toml +++ b/xcm/xcm-builder/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "xcm-builder" description = "Tools & types for building with XCM and its executor." -version = "0.9.19" +version = "0.9.22" [dependencies] parity-scale-codec = { version = "3.1.2", default-features = false, features = ["derive"] } diff --git a/xcm/xcm-executor/Cargo.toml b/xcm/xcm-executor/Cargo.toml index 181149669299..e68bf81602c4 100644 --- a/xcm/xcm-executor/Cargo.toml +++ b/xcm/xcm-executor/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "xcm-executor" description = "An abstract and configurable XCM message executor." -version = "0.9.19" +version = "0.9.22" [dependencies] impl-trait-for-tuples = "0.2.2" diff --git a/xcm/xcm-executor/integration-tests/Cargo.toml b/xcm/xcm-executor/integration-tests/Cargo.toml index 05cb21500c34..1eec5806c653 100644 --- a/xcm/xcm-executor/integration-tests/Cargo.toml +++ b/xcm/xcm-executor/integration-tests/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "xcm-executor-integration-tests" description = "Integration tests for the XCM Executor" -version = "0.9.19" +version = "0.9.22" [dependencies] frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/xcm/xcm-simulator/Cargo.toml b/xcm/xcm-simulator/Cargo.toml index 6c58b447bf15..abf584bc1d71 100644 --- a/xcm/xcm-simulator/Cargo.toml +++ b/xcm/xcm-simulator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm-simulator" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Test kit to simulate cross-chain message passing and XCM execution" edition = "2021" diff --git a/xcm/xcm-simulator/example/Cargo.toml b/xcm/xcm-simulator/example/Cargo.toml index 8a36fdfdcf78..4f7696a68213 100644 --- a/xcm/xcm-simulator/example/Cargo.toml +++ b/xcm/xcm-simulator/example/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm-simulator-example" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Examples of xcm-simulator usage." edition = "2021" diff --git a/xcm/xcm-simulator/fuzzer/Cargo.toml b/xcm/xcm-simulator/fuzzer/Cargo.toml index 46d825bb5927..52955bfc8995 100644 --- a/xcm/xcm-simulator/fuzzer/Cargo.toml +++ b/xcm/xcm-simulator/fuzzer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm-simulator-fuzzer" -version = "0.9.19" +version = "0.9.22" authors = ["Parity Technologies "] description = "Examples of xcm-simulator usage." edition = "2021" From 3161228f2993a4cc30658bf31f00d603b4da75e5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 May 2022 13:31:23 +0200 Subject: [PATCH 9/9] Bump zstd from 0.10.0+zstd.1.5.2 to 0.10.2+zstd.1.5.2 (#5527) Bumps [zstd](https://github.com/gyscos/zstd-rs) from 0.10.0+zstd.1.5.2 to 0.10.2+zstd.1.5.2. - [Release notes](https://github.com/gyscos/zstd-rs/releases) - [Commits](https://github.com/gyscos/zstd-rs/commits) --- updated-dependencies: - dependency-name: zstd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 8 ++++---- node/primitives/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 74d4d55eabd8..9d78e474b570 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12918,18 +12918,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.10.0+zstd.1.5.2" +version = "0.10.2+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b1365becbe415f3f0fcd024e2f7b45bacfb5bdd055f0dc113571394114e7bdd" +checksum = "5f4a6bd64f22b5e3e94b4e238669ff9f10815c27a5180108b849d24174a83847" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "4.1.4+zstd.1.5.2" +version = "4.1.6+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f7cd17c9af1a4d6c24beb1cc54b17e2ef7b593dc92f19e9d9acad8b182bbaee" +checksum = "94b61c51bb270702d6167b8ce67340d2754b088d0c091b06e593aa772c3ee9bb" dependencies = [ "libc", "zstd-sys", diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index 19294a10cd0a..fdfbe7179205 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -22,7 +22,7 @@ thiserror = "1.0.31" serde = { version = "1.0.137", features = ["derive"] } [target.'cfg(not(target_os = "unknown"))'.dependencies] -zstd = { version = "0.10.0", default-features = false } +zstd = { version = "0.10.2", default-features = false } [dev-dependencies] polkadot-erasure-coding = { path = "../../erasure-coding" }