Skip to content

Commit

Permalink
set weight
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Sep 5, 2023
1 parent fd84744 commit f9654d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parameters/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ pub trait WeightInfo {

impl WeightInfo for () {
fn set_parameter() -> Weight {
Weight::zero()
RocksDbWeight::get().reads_writes(2, 1)

Check warning on line 15 in parameters/src/weights.rs

View check run for this annotation

Codecov / codecov/patch

parameters/src/weights.rs#L14-L15

Added lines #L14 - L15 were not covered by tests
}
}

0 comments on commit f9654d4

Please sign in to comment.