Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - stake address is not correctly displayed under stake-address-info #1470

Closed
dorin100 opened this issue Jul 15, 2020 · 2 comments · Fixed by #1471
Closed

[BUG] - stake address is not correctly displayed under stake-address-info #1470

dorin100 opened this issue Jul 15, 2020 · 2 comments · Fixed by #1471
Assignees
Labels
bug Something isn't working cli revision is used to group all the Node CLI tickets minorfix Something that needs to be fixed (e.g. a hard-coded constant), but that isnt a bug

Comments

@dorin100
Copy link

Internal/Exernal
Internal if an IOHK staff member.

Summary
stake address is not correctly displayed under stake-address-info

Steps to reproduce
Steps to reproduce the behavior:

  1. start a local cluster using 1.15.1
  2. create a stake address and 1 stake pool and delegate the stake address using a certificate
  3. run the below command
# CARDANO_NODE_SOCKET_PATH=example/node-bft1/node.sock \
> cardano-cli shelley query stake-address-info \
> --address stake_test1upkzyajamfjnjwa33ndy50awhwxeds7f0tw9t7qmxrfv7jq4s6ft6 \
> --testnet-magic 42
{
    "àl\"v]Úe9;±�ÚJ?®»��ÃÉzÜUø\u001b0ÒÏH": {
        "delegation": "d74b33f303bcec753a4cef91c502d1087419c6fe7abf7e86c1905b35",
        "rewardAccountBalance": 0
    }
}

Expected behavior

  • "àl"v]Úe9;±�ÚJ?®»��ÃÉzÜUø\u001b0ÒÏH"= the stake address with no unsupported characters

System info (please complete the following information):

  • OS: Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-99-generic x86_64)
  • Node version
# cardano-node --version
cardano-node 1.15.1 - linux-x86_64 - ghc-8.6
git rev 712a287602797e8fd889fbf73e56a08c3d8b004a

# cardano-cli --version
cardano-cli 1.15.1 - linux-x86_64 - ghc-8.6
git rev 712a287602797e8fd889fbf73e56a08c3d8b004a

Screenshots and attachments
image

@dorin100 dorin100 added the bug Something isn't working label Jul 15, 2020
@kevinhammond
Copy link
Contributor

This looks like a format conversion error, or possibly displaying the wrong string

@kevinhammond kevinhammond added the cli revision is used to group all the Node CLI tickets label Jul 15, 2020
@kevinhammond kevinhammond added the minorfix Something that needs to be fixed (e.g. a hard-coded constant), but that isnt a bug label Jul 15, 2020
@intricate
Copy link
Contributor

Going to fix this now. Looks like we just made a slight formatting mistake here while migrating things over to our new API in #1416.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli revision is used to group all the Node CLI tickets minorfix Something that needs to be fixed (e.g. a hard-coded constant), but that isnt a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants