Skip to content
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

Use aiken for commit validator #1680

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3e288c3
Update cardano-api: 9.1 -> 9.3
locallycompact Sep 24, 2024
bbee1ba
Add aiken to our nix develop shell
ch1bo Sep 13, 2023
c9e19c9
Draft an aiken project in hydra-plutus
ch1bo Sep 13, 2023
4343b66
Draft an empty commit aiken validator and commit plutus.json
ch1bo Sep 13, 2023
3b98df5
Create a module to load blueprint json
ch1bo Sep 13, 2023
9f4ac0f
Replace plutus-tx commit with the aiken commit script
ch1bo Sep 13, 2023
ef8b7d5
implement 'ViaCollectCom' path in Aiken
KtorZ Sep 13, 2023
4c6bc03
Implement 'ViaAbort' road on commit validator in Aiken.
KtorZ Sep 13, 2023
eb368a7
Try to make plutus.json a extra source file
ch1bo Sep 13, 2023
f706f7a
Decode commit datum as a record
ch1bo Sep 13, 2023
0e320b1
Add golden spec to verify plutus blueprint
ffakenz Sep 21, 2023
f0551ca
Add commit errors to the validator script
ffakenz Sep 22, 2023
7e3e680
Add comments to the aiken commit validator script
ffakenz Sep 22, 2023
e7fb038
Remove commit validator
ffakenz Sep 26, 2023
15f587d
Add test to check plutus blueprint hash against the code reference in…
ffakenz Sep 26, 2023
b2eef70
Alter plutus.json and aiken.lock
v0d1ch Oct 5, 2023
0607633
Fix commit mutation tests on abort and collect-com
ffakenz Oct 5, 2023
0585f6e
Remove unit-test focus
ffakenz Oct 5, 2023
69547b6
Replace the use of ByteArray for String on aiken commit validator script
ffakenz Oct 5, 2023
895905b
Increase the number of parties for FanOut tx-cost
ffakenz Oct 5, 2023
4a22a58
Increase the maximum number of parties to 7
ffakenz Oct 5, 2023
244f815
Remove commit plutus validator as it is not needed anymore
ffakenz Oct 5, 2023
54f1a26
Upgrade aiken project version to match next release
ffakenz Oct 5, 2023
210f65c
Add a CIP-57 todo
v0d1ch Oct 5, 2023
a3f4865
Re-add golden tests for commit validator
v0d1ch Oct 6, 2023
4ad41dc
Add aiken as a build dep to hydra-plutus tests
v0d1ch Oct 6, 2023
7ff4ecc
Update changelog
abailly-iohk Oct 6, 2023
5c4c79f
Compiling aiken script
locallycompact Oct 3, 2024
e4851b2
Pretty print reference scripts in renderTxWithUTxO
ch1bo Oct 3, 2024
2527fac
Use aiken scripts as PlutusV3 script
ch1bo Oct 3, 2024
8d5590e
Add/update plutus v3 cost models
ch1bo Oct 3, 2024
d49a2a2
Drop commit from inspect-script exe
ch1bo Oct 4, 2024
c52c7af
Rebuild commit aiken validator with -t compact
ch1bo Oct 4, 2024
eb0ace1
Regenerate golden files
locallycompact Oct 4, 2024
6893fea
Simply compare the plutus.json after regeneration
locallycompact Oct 4, 2024
4381cea
Drop a redundant test and FIXME
ch1bo Oct 4, 2024
02ddcc9
Fix publischHydraScripts to use V3 for the commit script
ch1bo Oct 4, 2024
f6ba56d
Only reference commit script if spending commits in abort
ch1bo Oct 4, 2024
5dee79a
Update changelog and set maximumNumberOfParties to 9
ch1bo Oct 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
As a minor extension, we also keep a semantic version for the `UNRELEASED`
changes.

## Unreleased
## [0.20.0] - UNRELEASED

- **IMPORTANT - Do not release this version**
- Incremental commits - off-chain changes to make the incremental commits possible.
Expand All @@ -23,6 +23,11 @@ changes.

- Tested with `cardano-node 9.2.0` and `cardano-cli 9.4.1.0`.

- **BREAKING** Rewrite of the commit script in aiken:
- This makes `abort` and `collectCom` transactions more efficient and results
in a new maximum number of head participants being `9`.
- Changes script hashes in `hydra-plutus`

## [0.19.0] - 2024-09-13

- Tested with `cardano-node 9.1.1` and `cardano-cli 9.2.1.0`
Expand Down
Loading