irisnet / irishub

A BPoS blockchain that enables cross-chain interoperability through a unified service model -- built with Cosmos-SDK
Apache License 2.0
304 stars 127 forks source link

[p2] The flag "symbol-at-source" doesn't work after issue-token。 (This is a new bug introduced by latest PR) #1642

Closed shilei-wang closed 5 years ago

shilei-wang commented 5 years ago

Describe the bug The flag works ok in deliver version( 6329737c7fe392d5c0374eaa020d482e81333d72 ), but after some new PRs ,in latest commit (4ea385c8215cdbce916bd5cc7050cc93ff7964ad), it doesn't work.

To Reproduce

iriscli asset issue-token --symbol-at-source=source --symbol=xxa --family=fungible --source=native  --symbol-min-alias=alias --name=token-name --initial-supply=10000 --from=v0 --chain-id=shilei-qa --fee=0.004iris --commit
iriscli asset query-token xxa

FungibleToken xxa: Family: fungible Source: native Gateway: Name: token-name Symbol: xxa

Symbol At Source:

Symbol Min Alias: alias Decimal: 0 Initial Supply: 10000xxa Total Supply: 10000xxa Max Supply: 1000000000000xxa Mintable: false Owner: faa1l46jua9eyrg3uaaf8rwup2snq07ew02t0rwlkn



shilei-wang commented 5 years ago

Actually, it is a bug fix.