Make weights compatible with u64 (#4192)

* Use Weight instead of u32 everywhere

* Revert Weight declaration

* Fix benches
This commit is contained in:
Stanislav Tkach
2019-11-29 21:20:20 +02:00
committed by Bastian Köcher
parent 1ceebb5c3a
commit 3e3ec05e56
32 changed files with 73 additions and 62 deletions
+1 -1
View File
@@ -340,7 +340,7 @@ mod tests {
mb,
10 * mb,
Weight::max_value() / 2,
Weight::max_value()
Weight::max_value(),
].into_iter().for_each(|i| {
run_with_system_weight(i, || {
let next = TargetedFeeAdjustment::<TargetBlockFullness>::convert(Fixed64::default());