-
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
Remove check of drep metadata size. #818
Conversation
cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/DRep.hs
Outdated
Show resolved
Hide resolved
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.
LGTM, but I agree with @smelc here: https://github.com/IntersectMBO/cardano-cli/pull/818/files#r1665385383
a62c1ea
to
37c4e4b
Compare
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.
Looking good! 💯
cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/DRep.hs
Outdated
Show resolved
Hide resolved
FYI: I have rebased your branch because we have done changes to the formatting. I have made a copy of the unrebased branch that you can find in my previous comment in this PR. |
5d84467
to
3eaa806
Compare
a675f56
to
c11bb40
Compare
* The simplified hashDRepMetadata no longer checks for the size of the DRep metadata, instead it only return the hash of the file given by the user. * Remove no longer needed errors. * Update golden tests to use test vector from CIP 119 * Upgrate cardano-api-9.1.0.0
59bf4a9
to
9aedc74
Compare
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.
LGTM
Changelog
Context
Resolves: #792
Depends on: IntersectMBO/cardano-api#569 which is not on the tagged cardano-api-9.0.0.0 . Therefore this requires a new release of cardano-api.
How to trust this PR
Before this PR we had:
With this PR we always return the hash and the resulting hash matches the one on the test vector of CIP-119 AND matches the hash obtained with
governance hash anchor-data
AND matches the result of using blake2b directly:Checklist