Skip to content

Commit f6c5269

Browse files
author
German
authored
denominated units for balances in events (use-ink#750)
* denominated units for balances in events * fmt and changelog * denominated input for balances * fix spelling * add test for incorrect token symbol * optimise rpc calls for token metadata * bump subxt, add Compact compatibility * replace f64 with rust_decimal * more comprehensive denomination * covering edge case with small values * more tests and docs * context for balance overflows * tested conversion from u128 * more tests and better conditionals * include suggestions from review * apply changes from review * inline unwrap and formatting * more clarity in string parsing for balances * checked mul and renamed Kilo symbol * better comments for error and bumped wasm-opt
1 parent be2891e commit f6c5269

File tree

9 files changed

+1057
-278
lines changed

9 files changed

+1057
-278
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ release of `ink!`. It is *not* backwards compatible with older versions of `ink!
3131

3232
### Added
3333
- `--output-json` support for `call`, `instantiate` and `upload` commands - [#722](https://github.com/paritytech/cargo-contract/pull/722)
34+
- Denominated units for Balances - [#750](https://github.com/paritytech/cargo-contract/pull/750)
3435
- Use new ink entrance crate - [#728](https://github.com/paritytech/cargo-contract/pull/728)
3536

3637
### Fixed

0 commit comments

Comments
 (0)