Skip to content

BUG - Output of query stake-address-info for v10.13.1 is returning wrong/missing voteDelegation values #1311

@gitmachtl

Description

@gitmachtl

Similar to the BUG about the CIP129 format, when calling cardano-cli 10.13.1 for the stake-address-info, the output is like:

[
    {
        "address": "stake_test1urqntq4wexjylnrdnp97qq79qkxxvrsa9lcnwr7ckjd6w0cr04y4p",
        "govActionDeposits": {},
        "rewardAccountBalance": 200000000000,
        "stakeDelegation": {
            "stakePoolBech32": "pool1rdaxrw3722f0x3nx4uam9u9c6dh9qqd2g83r2uyllf53qmmj5uu",
            "stakePoolHex": "1b7a61ba3e5292f34666af3bb2f0b8d36e5001aa41e235709ffa6910"
        },
        "stakeRegistrationDeposit": 2000000,
        "voteDelegation": {
            "keyHashBech32": "drep1ytwmwvtd0a8lr45ssner2tjxzv5y8q03w3606yeald9mdmgmwecja",
            "keyHashHex": "8200581cddb7316d7f4ff1d69084f2352e4613284381f17474fd133dfb4bb6ed"
        }
    }
]

The content of keyHashHex is wrong, it outputs the whole cbor format. Output should only be the hashHex ddb7316d7f4ff1d69084f2352e4613284381f17474fd133dfb4bb6ed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions