Make post dispatch fee consistent with a direct calculation (#6165)

* Make post dispatch fee consistent with a direct calculation

* Remove unnecessary `saturated_into` calls

* Add test with negative multipliers

* Added regression test

* Test improvements
This commit is contained in:
Alexander Theißen
2020-05-28 14:33:10 +02:00
committed by GitHub
parent 95d73994c1
commit c672cce4bd
4 changed files with 136 additions and 29 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ mod per_things;
mod fixed;
mod rational128;
pub use fixed::{FixedPointNumber, Fixed64, Fixed128};
pub use fixed::{FixedPointNumber, Fixed64, Fixed128, FixedPointOperand};
pub use per_things::{PerThing, Percent, PerU16, Permill, Perbill, Perquintill};
pub use rational128::Rational128;