-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pinned aiken version and test to check plutus.json (#1777)
I noticed the `aiken` version used to generate the `plutus.json` is different than the one provided through our flake. Consequently, the re-built scripts would result in different hashes. This PR pins to a specific aiken version in the flake and also adds a test that ensures the serialized scripts in `plutus.json` are deterministically created using this version. Following this, I realized that the validators in the `plutus.json` were even the result of manually invoking `aiken blueprint apply` and interactively filling the commit script hash parameter on the initial validator. Instead of this error prone manual step, the `Hydra.Plutus` module now applies parameters when providing the `initialValidatorScript`. --- <!-- Consider each and tick it off one way or the other --> * [x] CHANGELOG update not needed * [x] Documentation update not needed * [x] Haddocks update not needed * [x] No new TODOs introduced
- Loading branch information
Showing
10 changed files
with
94 additions
and
68 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters