-
-
Notifications
You must be signed in to change notification settings - Fork 669
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
feat(cardano): add support for CIP-36 governance registration format #2561
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems the new tests are not included in fixtures.json? please regenerate that
6994d3f
to
fe78d0c
Compare
fe78d0c
to
e57e42e
Compare
Done, UI tests should be up to date. I also added changelog entries and rebased. |
Also @matejcik, here is a commit that adds new testnets. Should I add it here or open a separate PR? |
feel free to add here. it has no effect on tests, right? |
I believe so. Thanks, added. |
Hi @matejcik, is there a chance we could merge this before the FW freeze please? |
that is the plan, yes |
will be merged in #2591 |
Awesome, thanks! |
This PR adds support for CIP-36 governance registration format. Changes:
delegations
array (each delegation consists of a voting key and its voting power proportion) as an alternative to delegating the entire voting power to a single voting key. The array is embedded in the protobuf message due to simplicity (max. 32 delegations allowed).voting_purpose
integer (currently 0 = Catalyst, 1 = other). In CIP-36 registrations, this field is always serialized, (value 0 is used if not provided by the client).Catalyst
occurences are replaced bygovernance
, since the format should be usable for other governance purposes, not only Catalyst.ed25519_pk
bech32 prefix is replaced bygov_vk
for the purpose of displaying voting public keys.The new 1694' derivation path and the vote cast call implementation is not included in this PR.
EDIT - Added:
cardanoctl
.