Skip to content

Commit

Permalink
Replace unimplemented! code
Browse files Browse the repository at this point in the history
  • Loading branch information
ntn-x2 committed Apr 13, 2023
1 parent cb071ff commit d53669f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions runtimes/peregrine/src/weights/pallet_democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,22 +391,22 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().writes(2))
}
fn clear_external_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn clear_proposal_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn clear_referendum_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn set_external_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn set_proposal_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn set_referendum_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
}

Expand Down
12 changes: 6 additions & 6 deletions runtimes/spiritnet/src/weights/pallet_democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,21 +289,21 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
fn set_external_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn clear_external_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn clear_proposal_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn clear_referendum_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn set_proposal_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
fn set_referendum_metadata() -> Weight {
unimplemented!()
Weight::MAX
}
}

0 comments on commit d53669f

Please sign in to comment.