mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Companion for paritytech/substrate#12183 (#5971)
* Companion for paritytech/substrate#12183 * Fixes * Fixes * Fixes * cargo fmt * Fixes * Fixes * Fixes * cargo fmt * Update runtime/parachains/src/paras_inherent/mod.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * update lockfile for {"substrate"} Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -878,16 +878,11 @@ pub mod pallet {
|
||||
/// Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
|
||||
/// enacts the results if that was the last vote before achieving the supermajority.
|
||||
#[pallet::weight(
|
||||
sp_std::cmp::max(
|
||||
sp_std::cmp::max(
|
||||
<T as Config>::WeightInfo::include_pvf_check_statement_finalize_upgrade_accept(),
|
||||
<T as Config>::WeightInfo::include_pvf_check_statement_finalize_upgrade_reject(),
|
||||
),
|
||||
sp_std::cmp::max(
|
||||
<T as Config>::WeightInfo::include_pvf_check_statement_finalize_onboarding_accept(),
|
||||
<T as Config>::WeightInfo::include_pvf_check_statement_finalize_onboarding_reject(),
|
||||
<T as Config>::WeightInfo::include_pvf_check_statement_finalize_upgrade_accept()
|
||||
.max(<T as Config>::WeightInfo::include_pvf_check_statement_finalize_upgrade_reject())
|
||||
.max(<T as Config>::WeightInfo::include_pvf_check_statement_finalize_onboarding_accept()
|
||||
.max(<T as Config>::WeightInfo::include_pvf_check_statement_finalize_onboarding_reject())
|
||||
)
|
||||
)
|
||||
)]
|
||||
pub fn include_pvf_check_statement(
|
||||
origin: OriginFor<T>,
|
||||
|
||||
Reference in New Issue
Block a user