-
Notifications
You must be signed in to change notification settings - Fork 86
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
Commits on Oct 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3e288c3 - Browse repository at this point
Copy the full SHA 3e288c3View commit details -
Add aiken to our nix develop shell
We intend to create one of the hydra-plutus scripts with aiken.
Configuration menu - View commit details
-
Copy full SHA for bbee1ba - Browse repository at this point
Copy the full SHA bbee1baView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e19c9 - Browse repository at this point
Copy the full SHA c9e19c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4343b66 - Browse repository at this point
Copy the full SHA 4343b66View commit details -
Create a module to load blueprint json
This separates the aiken build, which yields the plutus.json blueprint and the haskell build which provides access to the compiled validators.
Configuration menu - View commit details
-
Copy full SHA for 3b98df5 - Browse repository at this point
Copy the full SHA 3b98df5View commit details -
Replace plutus-tx commit with the aiken commit script
Instead of using the plutus-tx "compiledScript", we use the loaded-from-blueprint aiken script in the init validator and when constructing/observing transactions in the hydra-node.
Configuration menu - View commit details
-
Copy full SHA for 9f4ac0f - Browse repository at this point
Copy the full SHA 9f4ac0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef8b7d5 - Browse repository at this point
Copy the full SHA ef8b7d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c6bc03 - Browse repository at this point
Copy the full SHA 4c6bc03View commit details -
Try to make plutus.json a extra source file
This is not yet working and it does not correctly detect changes to plutus.json
Configuration menu - View commit details
-
Copy full SHA for eb368a7 - Browse repository at this point
Copy the full SHA eb368a7View commit details -
Decode commit datum as a record
Plutus-tx seems to be encoding tuples as a Constr on-chain.
Configuration menu - View commit details
-
Copy full SHA for f706f7a - Browse repository at this point
Copy the full SHA f706f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e320b1 - Browse repository at this point
Copy the full SHA 0e320b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0551ca - Browse repository at this point
Copy the full SHA f0551caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e3e680 - Browse repository at this point
Copy the full SHA 7e3e680View commit details -
Also add TODO comments for things that are missing to be removed.
Configuration menu - View commit details
-
Copy full SHA for e7fb038 - Browse repository at this point
Copy the full SHA e7fb038View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15f587d - Browse repository at this point
Copy the full SHA 15f587dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2eef70 - Browse repository at this point
Copy the full SHA b2eef70View commit details -
Fix commit mutation tests on abort and collect-com
By regenerating the plutus.json file using -k flag during aiken build.
Configuration menu - View commit details
-
Copy full SHA for 0607633 - Browse repository at this point
Copy the full SHA 0607633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0585f6e - Browse repository at this point
Copy the full SHA 0585f6eView commit details -
Replace the use of ByteArray for String on aiken commit validator script
This removes the need of using aiken/builtin function decode_utf8, providing some small optimization. Also recreated plutus scripts.
Configuration menu - View commit details
-
Copy full SHA for 69547b6 - Browse repository at this point
Copy the full SHA 69547b6View commit details -
Increase the number of parties for FanOut tx-cost
To correlate with the rest.
Configuration menu - View commit details
-
Copy full SHA for 895905b - Browse repository at this point
Copy the full SHA 895905bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a22a58 - Browse repository at this point
Copy the full SHA 4a22a58View commit details -
Remove commit plutus validator as it is not needed anymore
Also removed its golden spec. Finally added a note about a fragility being present while accessing the commit validator script from the blueprintJSON.
Configuration menu - View commit details
-
Copy full SHA for 244f815 - Browse repository at this point
Copy the full SHA 244f815View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54f1a26 - Browse repository at this point
Copy the full SHA 54f1a26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 210f65c - Browse repository at this point
Copy the full SHA 210f65cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3f4865 - Browse repository at this point
Copy the full SHA a3f4865View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ad41dc - Browse repository at this point
Copy the full SHA 4ad41dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ff4ecc - Browse repository at this point
Copy the full SHA 7ff4eccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c4c79f - Browse repository at this point
Copy the full SHA 5c4c79fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4851b2 - Browse repository at this point
Copy the full SHA e4851b2View commit details -
Use aiken scripts as PlutusV3 script
Seems like the aiken compiler uses plutus core version 1.1.0 syntax and we need to declare it as a PlutusV3 script.
Configuration menu - View commit details
-
Copy full SHA for 2527fac - Browse repository at this point
Copy the full SHA 2527facView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d5590e - Browse repository at this point
Copy the full SHA 8d5590eView commit details -
Drop commit from inspect-script exe
We do not need the plutus-style envelope and this would not match with the PlutusV2 used there.
Configuration menu - View commit details
-
Copy full SHA for d49a2a2 - Browse repository at this point
Copy the full SHA d49a2a2View commit details -
Rebuild commit aiken validator with -t compact
This will keep the first trace argument which we expect to see in our mutation tests.
Configuration menu - View commit details
-
Copy full SHA for c52c7af - Browse repository at this point
Copy the full SHA c52c7afView commit details -
Simply compare the plutus.json after regeneration
This does not require us to be in a git repository and hence makes the test more flexible and isolated.
Configuration menu - View commit details
-
Copy full SHA for 90b32b8 - Browse repository at this point
Copy the full SHA 90b32b8View commit details -
Drop a redundant test and FIXME
The hydra-plutus library seems to be consistently rebuilt when the plutus.json gets changed.
Configuration menu - View commit details
-
Copy full SHA for 55dd765 - Browse repository at this point
Copy the full SHA 55dd765View commit details -
Configuration menu - View commit details
-
Copy full SHA for db10f25 - Browse repository at this point
Copy the full SHA db10f25View commit details -
Only reference commit script if spending commits in abort
This was failing with PPViewHashesDontMatch because the transaction was referencing the commit script which is does not always need, and the commit script being of different version than the other scripts spent.
Configuration menu - View commit details
-
Copy full SHA for 75a0775 - Browse repository at this point
Copy the full SHA 75a0775View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4d379a - Browse repository at this point
Copy the full SHA f4d379aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9e07ce - Browse repository at this point
Copy the full SHA f9e07ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 665cc17 - Browse repository at this point
Copy the full SHA 665cc17View commit details