aiken/examples/acceptance_tests/script_context
KtorZ a3078adce8
Add succinct README to explain what's going on.
2023-02-14 16:25:48 +01:00
..
ctx Add succinct README to explain what's going on. 2023-02-14 16:25:48 +01:00
validators Add new script_context acceptance scenario for withdrawals. 2023-02-14 16:11:00 +01:00
.gitignore Add succinct README to explain what's going on. 2023-02-14 16:25:48 +01:00
README.md Add succinct README to explain what's going on. 2023-02-14 16:25:48 +01:00
aiken.lock Add new script_context acceptance scenario for withdrawals. 2023-02-14 16:11:00 +01:00
aiken.toml Add new script_context acceptance scenario for withdrawals. 2023-02-14 16:11:00 +01:00
plutus.json Add new script_context acceptance scenario for withdrawals. 2023-02-14 16:11:00 +01:00
test.sh Rename data -> ctx 2023-02-14 16:11:00 +01:00

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]