![]() Temporarily using the 'specialize-dict-key' branch from the stdlib which makes use of Pair where relevant. Once this is merged back into 'main' we should update the acceptance test toml files to keep getting them automatically upgraded. This commit also fixes an oversight in the reification of data-types now properly distinguishing between pairs and 2-tuples. Co-authored-by: Microproofs <kasey.white@cardanofoundation.org> |
||
---|---|---|
.. | ||
ctx | ||
validators | ||
.gitignore | ||
README.md | ||
aiken.lock | ||
aiken.toml | ||
plutus.json | ||
test.sh |
README.md
Script Context Tests
This project contains a few handcrafted validators and transactions whose sole
purpose is to test the interpretation of the ScriptContext
from within an
Aiken's validators.
So validators are meant to work hand-in-hand with an associated context. Because we can't have fully static context (since they contain the validator and its hash), we define templates.
Everything is a bit clunky, but steps have been captured in a test.sh
script
for convenience.
How to use
./test.sh [VALIDATOR_TITLE]
Test Coverage
-
Purpose
- spend
- mint
- withdraw
- publish
-
Transaction
- inputs
- reference inputs
- outputs
- address
- verification key
- script
- pointer
- value
- datum
- none
- hash
- inline
- script
- none
- reference
- address
- values
- pure ada
- native assets
- fee
- mint
- certificates
- withdrawals
- verification key
- script
- validity range
- extra signatories
- redeemers
- datums