This is a repo of conducting execution unit comparison in different coding patterns in aiken on-chain script development. It aims to provide a high level understanding of best practice in script writing for Cardano developers.
Got something want to test but not included in report? You can contribute to this common knowledge-base by building a test.
- Build a test case with test function prefix of
xu_{category}_
- Add the finding to the reports
- Major comprehensive findings: core report
- On primitives: report
- On Plutus types: report
- On deserialization: report
- On control flow: report
- Add any other report inside the
other-reports
directory - Submit a PR
If you are a computer scientist, and want to provide more context on why some findings behave as it is, you can supplement the documentation.
- Add theory supports on the corresponding findings in reports
- Submit a PR
Most initial findings are generalized from a few test cases in mind, which might potentially be incomprehensive. If you spotted some incorrect findings, please help to point it out!
It could be in either form of below,
- Create an issue pointing out which finding is incorrect with brief explanation
- Directly amending the findings by following the flow of building a test above
Have fun!