Hotfix 12332
The following changes have been made:
Handler and help of token_update command
- Removed from the command parameters are:
- signs_total
- signs_emission
- type
- total_supply
- decimals
- Parameters have been removed from the help:
- datum_type_allowed
- datum_type_blocked
- The new_cert parameter has been renamed to add_cert because it adds a new certificate rather than replacing the current one.
- Added information about pkey_remove parameter to the help.
- Added total_supply_chanage parameter to both the help and handler which creates TSD section with new total_supply.
Units test
- Added a test to check if the datum is updated with a smaller and larger value, from the set value.
- Added test that updates total_supply with 0 value and then updates total_supply with non-zero value. The first update should be accepted, but the second should not
Processing token update
- Fixed Ledger check, while processing token update with total_supply change, if the current total_supply is set to 0 the update will not be accepted. If the new total_supply is set greater than the current total_supply or 0 (infinity), the update will be accepted.
Edited by alexey.stratulat