-
Notifications
You must be signed in to change notification settings - Fork 15
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
cardano-cli should return a bech32 value for stake-address-info -> voteDelegation
#549
Comments
stake-address-info -> voteDelegation
stake-address-info -> voteDelegation
ok, realized that it can also return a string like:
so maybe its ok to return a delegation to an actual DRep like it is done right now ? or let it return the bech DRep-ID and the reserved text |
Maybe for @carlhammann? |
I also saw, that the returns for the voting state all contains values like |
@gitmachtl You're right, the "alwaysNoConfidence" and "alwaysAbstain" options are special cases, and the current format makes collisions impossible. Another distinction we have to make: even if the |
@carlhammann good that you brung it up, we have not implemented scripts as DReps, I just created a ticket for that v-> #559 . It does make sense to have the output as bech32, See CIP0005. Perhpas it would make sense to first check for the special cases "always abstain" and "always no confidence" and if the stake key is not delegating to any of these, then we bech32 the keyhash/scripthash ? |
@CarlosLopezDeLara I wonder what the correct prefixes are. Is CIP0005 incomplete, maybe? It proposes the prefix |
its interesting that you bring this discussion up, because i opened up a discussion before if a drep key should just be a hash or like we have it with addresses also include a byte that tells the tools what it actually is. with the current implementation we can only differ this via the bech representation and tools that do it correctly. cardano-foundation/CIPs#564 |
If people are happy with this, we can just do it. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
@Ryun1 any news on that front? |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
@gitmachtl> is this still relevant? |
it depends. i think this has shifted into the CIP-129 discussion? for a consident output, it would of course be nice to have a bech output in there. but that needs |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
Current Output for the stake-address-info query:
The entry for the
voteDelegation
should also be in bech32 format IMO, so the output is consistent with theaddress
and thestakeDelegation
entry.Expected Output for the stake-address-info query:
The text was updated successfully, but these errors were encountered: