-
Notifications
You must be signed in to change notification settings - Fork 720
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
Merge script address build command into address build command #2486
Conversation
e8abc4f
to
f0d9815
Compare
Help text for the
The |
7829e45
to
cfad4b2
Compare
@@ -381,6 +383,11 @@ readVerificationKeyOrTextEnvFile asType verKeyOrFile = | |||
VerificationKeyFilePath (VerificationKeyFile fp) -> | |||
readKeyFileTextEnvelope (AsVerificationKey asType) fp | |||
|
|||
data PaymentSource |
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.
Let's move this to cardano-cli/src/Cardano/CLI/Shelley/Parsers.hs
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.
Unfortunately I can't move it to Parsers
because AddressCmd
definition in Cardano.CLI.Shelley.Commands
needs it. Moving the type into Parsers
would create a cyclic import dependency between Parsers
and Commands
.
Just (OutputFile oFp) -> Text.writeFile oFp scriptAddrText | ||
Nothing -> Text.putStr scriptAddrText | ||
|
||
runAddressBuildScript scriptFile = runAddressBuild (SourcePaymentScript scriptFile) Nothing |
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 wondering if we also print a deprecation warning here as well.
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.
Do we have an example of a deprecation warning?
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.
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.
5cd53f8
to
60c6014
Compare
60c6014
to
ef804ee
Compare
bors merge |
Build succeeded: |
Addresses this ticket: #2333