rvcas
824431371e
feat: centralize some Cargo.toml configs at root and upgrade to edition 2024
2025-03-23 21:46:13 -04:00
KtorZ
c920347f32
allow captures within constructor calls.
...
Compiler said I couldn't do it, so I changed the compiler.
Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-18 14:45:39 +01:00
KtorZ
56e2c195cf
Fix #1099 .
...
Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-06 18:05:41 +01:00
microproofs
3e57109c35
minor test rename in aiken.toml
2025-01-30 18:57:09 +07:00
microproofs
7d6925545c
Fix: additional tipo case when using Pairs type inside of a redeemer or datum type
2025-01-30 18:54:14 +07:00
Riley-Kilgore
434771a57d
rename acceptance test in aiken.toml
2025-01-22 15:23:17 -08:00
Riley-Kilgore
3ee74a5ba8
Move acceptance test 117 to 118
2025-01-22 15:23:17 -08:00
microproofs
6d2e38851e
Push down functions that aren't dependent on the group in front.
2025-01-12 00:39:04 +07:00
microproofs
d559e384ec
Handle case where write_bits is used without being applied
2025-01-11 19:08:43 +07:00
microproofs
f7f68fbafc
Add writeBits back in and use the optimizer to utilize the list conversion
2025-01-11 19:08:42 +07:00
microproofs
2c214186b6
Make sure clean up doesn't add case and constr to comp time eval. Also had fun with test_1 mint script context validator
2025-01-11 19:08:42 +07:00
rvcas
e1d46fa8f0
chore: fix ci
2024-12-26 00:31:48 -05:00
rvcas
3e2ca757cd
fix: remove unwrap which is causing panics closes #1073
2024-12-25 23:14:18 -05:00
Jingles
1f1ca4f807
update code and include package.json
2024-12-25 22:53:54 -05:00
rvcas
c1871768f8
feat: remove plutus v1,v2 from aiken.toml closes #1032
2024-12-25 22:52:08 -05:00
KtorZ
67bf64967b
rename 'constr_{fields,index}' to 'unconstr_{field,index}'
...
Better match the conventions so far used across the existing builtins.
2024-12-13 15:18:20 +01:00
microproofs
463b88413e
feat: new builtins constr_index and constr_fields for alternative fast ways to take apart Data
2024-12-13 14:15:19 +07:00
Matthias Benkort
870086271c
Merge pull request #1067 from jinglescode/main
...
update hello world codes
2024-12-07 13:27:50 +01:00
Kasey
86ec3b2924
Fix: issue crash in code gen with incorrect column length in decision trees ( #1069 )
...
* Fix: Deeply nested assignments would offset the new columns count calculation. Now we track relevant columns and their path to ensure each row has wildcards if they don't contain the relevant column
* Add test plus clippy fix
* Clippy fix
* New version clippy fix
2024-12-05 11:02:19 +07:00
Hong Jing (Jingles)
0b007b4405
update hello world codes
2024-11-27 13:12:50 +08:00
rvcas
c3b07dfe83
chore(example): const's should be let's
2024-11-25 22:58:20 -05:00
rvcas
9d59333757
feat: convert gift card tutorial to lucid-evolution and weld
2024-11-25 16:19:06 -05:00
rvcas
7c1cd81554
feat: start switching to blaze and svelte
2024-11-25 16:19:06 -05:00
microproofs
eec08fcbd9
Fix scoped path for list with tail cases only plus wild card fallback
2024-11-18 12:22:08 -05:00
microproofs
cd42f51f1a
Finish up tests for decision-tree modification
2024-11-08 14:11:34 -05:00
microproofs
97ee1a8ba6
Start working on using a decision tree for when expr. Also fmt fix. Other Stuff
2024-11-01 19:34:45 -04:00
KtorZ
7f13fca1a4
Revert "Add acceptance tests #114 "
...
This reverts commit a18af83786
. The test
case has proven to be an ill-formed scenario with a genuine infinite
recursion.
2024-10-19 10:52:37 +02:00
KtorZ
a18af83786
Add acceptance tests #114
...
Demonstrate what seems to be the creation of an infinite recursion in the produced UPLC.
2024-10-13 13:40:25 +02:00
microproofs
5d4b3e69b9
Revert "Start working on using a decision tree for when expr. Also fmt fix"
...
This reverts commit e8f74985d5
.
2024-10-08 13:33:05 -04:00
microproofs
e8f74985d5
Start working on using a decision tree for when expr. Also fmt fix
2024-10-08 13:30:29 -04:00
microproofs
4f1de2d3b5
Add test for flat error when encoding bls constant
2024-09-20 13:41:58 -04:00
Matthias Benkort
a1045352d7
Merge pull request #1018 from solidsnakedev/main
...
fix: Plutus V3 NoDatum
2024-09-13 09:29:55 +02:00
microproofs
8d13b0b706
Add acceptance test 112
2024-09-12 19:06:46 -04:00
KtorZ
6413f2c1cc
Make 'simple_spend_no_datum' acceptance test more to-the-point
...
This new acceptance test is really meant to check for the behavior surrounding the optional datum. So I've added an extra expect on the received datum, and kept only assertions that were about or related to the datum.
2024-09-12 17:21:09 +02:00
solidsnakedev
defce9be4e
fix: Plutus V3 NoDatum - Error: missing required inline datum or datum hash in script input
2024-09-11 15:25:20 -06:00
KtorZ
7741be64f8
Fix validator's fallback handler generation
...
Fixes #1015 .
2024-09-10 10:48:06 +02:00
KtorZ
8db4a60986
(re)format aiken sources in the repository.
2024-09-07 18:25:21 +02:00
KtorZ
9f6daa8cd5
Refresh gift_card and hello_world examples.
2024-09-01 18:22:43 +02:00
KtorZ
8d60f08f65
Add acceptance test 111
...
Seems like nested tuples are inferred wrongly when type-casted.
```
type mismatch
Expected (list a)
Got integer
```
2024-08-31 00:03:46 +02:00
KtorZ
e3e889f875
Update benchmarks.
2024-08-30 15:45:00 +02:00
microproofs
e772ff1787
Missed some zero parameter check
2024-08-29 16:30:30 +02:00
KtorZ
a909e9eb0a
Add acceptance_tests/109 to illustrate new config/constants capabilities.
2024-08-29 16:25:12 +02:00
KtorZ
8bccbd9e00
Update acceptance tests and script context tests to latest stdlib.
2024-08-28 17:41:32 +02:00
rvcas
6bbc6a8f2f
chore: fix the issue in gift card
2024-08-27 19:12:44 -04:00
rvcas
d337e601cb
chore: add a test for by name with params
2024-08-27 18:10:46 -04:00
KtorZ
48535636ed
Fix remaining acceptance tests to be V3-compatible
2024-08-27 19:19:25 +02:00
KtorZ
d74e36d0bc
Introduce 'Never' type as a safe alternative to always None options
...
Unfortunately, as documented in:
https://github.com/IntersectMBO/cardano-ledger/issues/4571
Some Option fields in the script context certificates are going to
remain set to None, at least until the next Hard fork. There's a risk
that people permanently lock their funds if they expect deposits on
registration credentials to ever be `Some`.
So, we introduce a special type that emulate an `Option` that can only
ever be `None`. We call it `Never` and it is the first type of this
kind (i.e. with constructors indexes not starting at 0).
2024-08-27 14:40:39 +02:00
rvcas
ff25fbd970
chore: acceptance tests v3 syntax
2024-08-26 15:56:49 -04:00
rvcas
b57f840cad
chore: use correct arguments in gift card validators
2024-08-26 15:45:37 -04:00
rvcas
c87f459ce7
chore: convert gift card tutorial to v3
2024-08-26 15:41:01 -04:00