Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
muharem committed Nov 28, 2022
1 parent 7538b76 commit c1a26f4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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().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 {
Expand Down
7 changes: 7 additions & 0 deletions runtime/kusama/src/weights/pallet_referenda_referenda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
.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)
Expand Down

0 comments on commit c1a26f4

Please sign in to comment.