-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebuild commit aiken validator with -t compact
This will keep the first trace argument which we expect to see in our mutation tests.
- Loading branch information
1 parent
a2adeb7
commit 2ec18f8
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Hydra plutus scripts | ||
|
||
Most of our scripts are built using `plutus-tx` which are automatically built | ||
when compiling the whole package. However, some validators are implemented using `aiken` and embedded into the Haskell library from the plutus blueprint in `plutus.json`. | ||
|
||
## Build | ||
|
||
It's important that we keep the traces of the aiken validators with `-t`: | ||
|
||
```sh | ||
aiken build -t compact | ||
cabal build | ||
``` | ||
|
||
The resulting `plutus.json` is deliberately checked in and doubles as a golden | ||
file for our tests. | ||
|
||
## Test | ||
|
||
```sh | ||
cabal test | ||
``` |
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