-
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
Accept script hash in stake-and-vote-delegation-certificate
command
#264
Conversation
20e7874
to
0bb00f0
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!
@@ -1028,3 +1031,6 @@ readSafeHash = | |||
Opt.eitherReader $ \s -> | |||
readHexAsSafeHash (Text.pack s) | |||
& first (Text.unpack . renderReadSafeHashError) | |||
|
|||
scriptHashReader :: Opt.ReadM ScriptHash |
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.
What does the error look like if it's an invalid script hash?
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.
I'm not sure. It's a pre-existing function moved from Cardano.CLI.EraBased.Options.Governance.DRep
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 to not fail at all.
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 might be broken, but I'm merging this on the basis that it's not a regression. We're just moving this flag from the drep delegation-certificate
command which will soon be deleted. Will need to follow up on whether this flag actually works.
0bb00f0
to
c3aebf3
Compare
032b932
to
7182504
Compare
7182504
to
268d02d
Compare
Changelog
Context
Checklist
See Running tests for more details
.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7