Skip to content

CLI: Wrong message when minting assets #2019

@dbadol

Description

@dbadol

When minting new units of a Confidential Asset in CLI, the wallet gives a message which gives the impression that units of BEAM are being minted!

  1. Create an asset in DAppnet CLI with something like this:
    beam-wallet.exe asset_reg --network dappnet -n 127.0.0.1:11005 --asset_meta "STD:SCH_VER=1;N=TEST;UN=TEST;SN=TEST;NTHUN=MINI;NTH_RATIO=100000000;" --fee 100000 --enable_assets

  2. Mint some new units with (replacing 123 with the correct asset id):
    beam-wallet.exe issue --network dappnet -n 127.0.0.1:11005 --asset_id 123 -a 1000 --enable_assets

  3. The minting of 1000 units works well, but the wallet gives the following message:
    Generating asset with owner id ...xyz.... Amount: 1,000 BEAM

It should not write "BEAM" but the name of the asset, and its ID:
Generating asset with owner id ...xyz.... Amount: 1,000 ASSET-123 (TEST)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions