Staking module: approximate fraction into perbill to avoid overflow (#2889)
* approximate fraction into perbill
* test
* fix comment
* line width
* bump impl version
* rename test for better naming
* test overflow
* Apply suggestions from code review
Co-Authored-By: Niklas Adolfsson <[email protected]>
parent
58f45811
Please register or sign in to comment