-
Notifications
You must be signed in to change notification settings - Fork 484
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
SCP-2512: plutus-use-cases-scripts is now run during Hydra CI #3594
Conversation
22ef154
to
b9718f3
Compare
ln -s ${haskell.packages.plutus-use-cases.src}/scripts/protocol-parameters.json protocol-parameters.json | ||
${puc-scripts-invoker}/bin/plutus-use-cases-scripts $out/scripts scripts | ||
# Mainnet address is used because no networkid is specified (with the '-n' flag) | ||
${puc-scripts-invoker}/bin/plutus-use-cases-scripts $out/transactions transactions -p protocol-parameters.json |
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.
can you also please make a tar or zip file containing both folders? That's easier than downloading each script individually
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.
Oh yeah, good idea!
b9718f3
to
96cc9a0
Compare
…t is available for download from Hydra.
96cc9a0
to
c598bd1
Compare
Yes that looks good, thanks! |
generated-puc-scripts-output = pkgs.runCommand "plutus-use-cases-scripts-output" { } '' | ||
mkdir -p $out/scripts | ||
mkdir -p $out/transactions | ||
ln -s ${haskell.packages.plutus-use-cases.src}/scripts/protocol-parameters.json protocol-parameters.json |
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.
You can just pick up the file from the source tree, no need to do this roundabout thing. Something like ${builtins.readFile ./scripts/protocol-paramters.json}
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.
Not a big deal, though.
plutus-use-cases-scripts is now run during Hydra CI and the result is available for download from Hydra.
Pre-submit checklist:
Pre-merge checklist: