mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Companion for paritytech/substrate#12788 (#6360)
* Companion for paritytech/substrate#12788 * migrations * rustfmt * update lockfile for {"substrate"} * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+181
-204
File diff suppressed because it is too large
Load Diff
@@ -1484,6 +1484,11 @@ impl Get<&'static str> for StakingMigrationV11OldPallet {
|
|||||||
pub type Migrations = (
|
pub type Migrations = (
|
||||||
pallet_balances::migration::MigrateToTrackInactive<Runtime, CheckAccount>,
|
pallet_balances::migration::MigrateToTrackInactive<Runtime, CheckAccount>,
|
||||||
crowdloan::migration::MigrateToTrackInactive<Runtime>,
|
crowdloan::migration::MigrateToTrackInactive<Runtime>,
|
||||||
|
pallet_referenda::migration::v1::MigrateV0ToV1<Runtime>,
|
||||||
|
pallet_referenda::migration::v1::MigrateV0ToV1<
|
||||||
|
Runtime,
|
||||||
|
governance::FellowshipReferendaInstance,
|
||||||
|
>,
|
||||||
);
|
);
|
||||||
|
|
||||||
/// Unchecked extrinsic type as expected by this runtime.
|
/// Unchecked extrinsic type as expected by this runtime.
|
||||||
|
|||||||
@@ -100,6 +100,13 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
|||||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
|
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||||
|
fn refund_submission_deposit() -> Weight {
|
||||||
|
// Minimum execution time: 25_000 nanoseconds.
|
||||||
|
Weight::from_ref_time(25_000_000)
|
||||||
|
.saturating_add(T::DbWeight::get().reads(1))
|
||||||
|
.saturating_add(T::DbWeight::get().writes(1))
|
||||||
|
}
|
||||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||||
// Storage: Scheduler Agenda (r:2 w:2)
|
// Storage: Scheduler Agenda (r:2 w:2)
|
||||||
fn cancel() -> Weight {
|
fn cancel() -> Weight {
|
||||||
|
|||||||
@@ -98,6 +98,13 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
|||||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||||
|
fn refund_submission_deposit() -> Weight {
|
||||||
|
// Minimum execution time: 25_000 nanoseconds.
|
||||||
|
Weight::from_ref_time(25_000_000)
|
||||||
|
.saturating_add(T::DbWeight::get().reads(1))
|
||||||
|
.saturating_add(T::DbWeight::get().writes(1))
|
||||||
|
}
|
||||||
|
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||||
// Storage: Scheduler Agenda (r:2 w:2)
|
// Storage: Scheduler Agenda (r:2 w:2)
|
||||||
fn cancel() -> Weight {
|
fn cancel() -> Weight {
|
||||||
Weight::from_ref_time(38_601_000 as u64)
|
Weight::from_ref_time(38_601_000 as u64)
|
||||||
|
|||||||
Reference in New Issue
Block a user