You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
L1 scripts might need different constraints and amount of flexibility allowed. Most important is amount of non-determinism of TxOut needed. Coin-selection does imply it. But is this the only case? Is it only related to ADA inputs, or other tokens might need it as well?
Another flexibility concern are double-satisfaction, and other attacks related to on-chain checking of some kind of constraints by default.
Various backends might support only some subset of constraints, especially L1 indexing
L1 code, while supporting probably anything, might have performance considerations
Constraint translation/optimization and model-checking might be simpler to do
Options to decide:
Constraints might have some "normal form" or might not. It depends on if there is representation, which is "best" for all purposes.
Various features or might not be needed. While more powerful features might subsume others, so it might be better to have them.
Amount of non-determinism allowed, and if it should be handled generically or in some specific cornercase.
Sources to take a look for:
Another constrain languages and their issues with them: plutus-apps, CTL. Same with on-chain languages like plutarch.
Usecases: on-chain scripts and specs
BMC and constraint languages projects
The text was updated successfully, but these errors were encountered:
There are various reasons affecting their design:
TxOut
needed. Coin-selection does imply it. But is this the only case? Is it only related to ADA inputs, or other tokens might need it as well?Options to decide:
Sources to take a look for:
The text was updated successfully, but these errors were encountered: