Skip to content

Name addresses, if found in wallet/addressbook/test/paratime/rofl entries #131

@matevz

Description

@matevz

Currently, there are places such as --show-delegations and other consensus transactions where the address is not associated with the entry in your wallet or addressbook. For example oasis acc show my_account --show-delegations yields:

Delegations:
      - To:       oasis1qrydpazemvuwtnp3efm7vmfvg3tde044qg6cxwzx
        Amount:   100.0 TEST (100000000000 shares)
        End Time: epoch 29127

Where oasis1qrydpazemvuwtnp3efm7vmfvg3tde044qg6cxwzx is infact test:bob.

The same goes for allowances, for example to oasis1qrd3mnzhhgst26hsp96uf45yhq6zlax0cuzdgcfc which should in fact be paratime:sapphire:

  Allowances for this Account:
    Total: 1000.0 ROSE
    Allowances:
      - Beneficiary: oasis1qrd3mnzhhgst26hsp96uf45yhq6zlax0cuzdgcfc
        Amount:      1000.0 ROSE

Also replace any %s (%s) formatter in the ROFL-related commands that should in fact be the hardcoded address or the address-book/wallet entry and its address. e.g.

$ oasis rofl machine change-admin test:dave
Provider:  oasis1qp2ens0hsp7gh23wajxa4hpetkdek3swyyulyrmz (oasis1qp2ens0hsp7gh23wajxa4hpetkdek3swyyulyrmz)
Machine:   default [000000000000026d]
Old admin: oasis1qpupfu7e2n6pkezeaw0yhj8mcem8anj64ytrayne
New admin: oasis1qrk58a6j2qn065m6p06jgjyt032f7qucy5wqeqpt
Unlock your account.
? Passphrase: 

Metadata

Metadata

Labels

uiImprove user experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions