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

Governance / CIP-95 #1638

Merged
merged 52 commits into from
Aug 14, 2024
Merged

Governance / CIP-95 #1638

merged 52 commits into from
Aug 14, 2024

Conversation

errfrom
Copy link
Collaborator

@errfrom errfrom commented Jul 21, 2024

Depends on mlabs-haskell/cardano.nix#96 merged
Depends on mlabs-haskell/purescript-cardano-hd-wallet#3
Depends on mlabs-haskell/purescript-cardano-key-wallet#3
Depends on mlabs-haskell/purescript-cardano-transaction-builder#3
Depends on mlabs-haskell/purescript-cip30-mock#2
Depends on mlabs-haskell/purescript-cip95#2

Governance examples (Ogmios + Kupo, SanchoNet, Eternl Beta & KeyWallet):

  • Gov.ManageDrep
    • Covered certificates:
      • RegDrepCert
      • UpdateDrepCert
      • UnregDrepCert
  • Gov.ManageDrepScript
  • Gov.DelegateVoteAbstain
    • Covered certificates:
      • VoteRegDelegCert
  • Gov.SubmitVote
  • Gov.SubmitVoteScript

New CIP-95 functions exported from Contract.Wallet:

  • ownDrepPubKey
  • ownDrepPubKeyHash
  • ownRegisteredPubStakeKeys
  • ownUnregisteredPubStakeKeys

NOTE: KeyWallet does not distinguish between registered and unregistered stake keys due to the limitations of the underlying query layer. This means that all controlled stake keys are returned as part of ownUnregisteredPubStakeKeys, and the response of ownRegisteredPubStakeKeys is always an empty array.

Pre-review checklist

  • All code has been formatted using our config (make format)
  • Any new API features or modification of existing behavior are covered with tests
  • The template (templates/ctl-scaffold) has been updated
  • The changelog has been updated under the ## Unreleased header, using the appropriate sub-headings (### Added, ### Changed, ### Removed, ### Fixed), and the links to the appropriate issues/PRs have been included

@errfrom errfrom self-assigned this Jul 21, 2024
, aeson
}
_ -> Nothing
-- ignore empty (corrupted) fixtures
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any? Where are they from? can we get rid of them?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there is at least one in the ogmios repository

@@ -172,9 +172,6 @@
nodePackages.eslint
nodePackages.prettier
blockfrost-backend-ryo
cardano-node.packages.${system}.cardano-testnet
cardano-node.packages.${system}.cardano-cli
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because these packages are provided as part of the runtime (withRuntime flag)

@errfrom errfrom requested a review from klntsky August 9, 2024 15:11
@errfrom errfrom marked this pull request as ready for review August 9, 2024 15:11
packages.dhall Outdated Show resolved Hide resolved
@klntsky klntsky merged commit 3cc3a1b into develop Aug 14, 2024
3 checks passed
@klntsky klntsky deleted the dshuiski/gov branch August 14, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants