Skip to content

Commit

Permalink
Update time_to_reach_zero test
Browse files Browse the repository at this point in the history
  • Loading branch information
rakanalh committed Dec 18, 2023
1 parent 82fbf34 commit eccdd69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/cere-dev/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ mod multiplier_tests {
// 1 < 0.00001 * k * 0.1875
// 10^9 / 1875 < k
// k > 533_333 ~ 18,5 days.
run_with_system_weight(Weight::from_ref_time(0), || {
run_with_system_weight(Weight::zero(), || {
// start from 1, the default.
let mut fm = Multiplier::one();
let mut iterations: u64 = 0;
Expand Down
2 changes: 1 addition & 1 deletion runtime/cere/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ mod multiplier_tests {
// 1 < 0.00001 * k * 0.1875
// 10^9 / 1875 < k
// k > 533_333 ~ 18,5 days.
run_with_system_weight(Weight::from_ref_time(0), || {
run_with_system_weight(Weight::zero(), || {
// start from 1, the default.
let mut fm = Multiplier::one();
let mut iterations: u64 = 0;
Expand Down

0 comments on commit eccdd69

Please sign in to comment.