-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use the unsigned fixed type for balances:
U64F64
(#353)
* use unsigned fixed type for balances * add I64F64_to_U64F64 and fix test compilation * [pallet-balances] more meaningful errors * fix clippy * fix comment * fix comment * [primitives/balances] better way to transform the I64F64 to U64F64 * [primitives/balances] rename `I64F64_to_u64F64` to `to_U64F64` * [balances] fix `can_deposit_works` test and make it more understandable * [primitives/balances] better comment about type conversion * [primitives/balances] fix typo
- Loading branch information
Showing
8 changed files
with
91 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.