diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index 5fc626dc0a..0f1be14e27 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -1484,6 +1484,11 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { pub type Migrations = ( pallet_balances::migration::MigrateToTrackInactive, crowdloan::migration::MigrateToTrackInactive, + pallet_referenda::migration::v1::MigrateV0ToV1, + pallet_referenda::migration::v1::MigrateV0ToV1< + Runtime, + governance::FellowshipReferendaInstance, + >, ); /// Unchecked extrinsic type as expected by this runtime. diff --git a/relay/kusama/src/weights/pallet_referenda_fellowship_referenda.rs b/relay/kusama/src/weights/pallet_referenda_fellowship_referenda.rs index ca52d8044b..f12fc48576 100644 --- a/relay/kusama/src/weights/pallet_referenda_fellowship_referenda.rs +++ b/relay/kusama/src/weights/pallet_referenda_fellowship_referenda.rs @@ -100,6 +100,13 @@ impl pallet_referenda::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(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: Scheduler Agenda (r:2 w:2) fn cancel() -> Weight { diff --git a/relay/kusama/src/weights/pallet_referenda_referenda.rs b/relay/kusama/src/weights/pallet_referenda_referenda.rs index 8d8fc6ecbd..349f0c1ffe 100644 --- a/relay/kusama/src/weights/pallet_referenda_referenda.rs +++ b/relay/kusama/src/weights/pallet_referenda_referenda.rs @@ -98,6 +98,13 @@ impl pallet_referenda::WeightInfo for WeightInfo { .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: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn cancel() -> Weight { Weight::from_ref_time(38_601_000 as u64)