mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 20:26:19 +00:00
clean arithmetic and unify names with the new api (#8581)
This commit is contained in:
1 parent
7e59d172b8
commit
373e3a4ddc
6 files changed
+30
-32
No files matched your search
@@ -74,7 +74,7 @@ mod multiplier_tests {
|
||||
let m = max_normal() as f64;
|
||||
// block weight always truncated to max weight
|
||||
let block_weight = (block_weight as f64).min(m);
|
||||
let v: f64 = AdjustmentVariable::get().to_fraction();
|
||||
let v: f64 = AdjustmentVariable::get().to_float();
|
||||
|
||||
// Ideal saturation in terms of weight
|
||||
let ss = target() as f64;
|
||||
|
||||
Reference in new issue
Block a user