Commit Graph

1455 Commits

Author SHA1 Message Date
KtorZ
65c336cb82 Update blueprint outputs to reflect latest specification.
Schemas of datums, redeemers and parameters are now nested under a field 'schema'. This allows to define a field 'purpose' at the same level.
2023-03-02 17:17:27 +01:00
Matthias Benkort
433af4638b Merge pull request #409 from aiken-lang/blueprint_data_in_interface
Data was not allowed in an interface
2023-03-02 08:32:49 -07:00
KtorZ
70cdf3cb26 Add 'exported_data' test and revert 413a056 2023-03-02 16:09:08 +01:00
Kasey White
413a056c08 fix: Data was not allowed in an interface
Co-authored-by: rvcas <x@rvcas.dev>
2023-03-01 21:34:36 -05:00
Kasey White
0c1c7da16f add accpetance test 71 2023-03-01 14:22:59 -05:00
Kasey White
d7c33bd62a fix: A unique error was caused by the order in which we insert functions.
These functions relied on the same dependency and had the same scope. So insertion was by encounter rather than order determined by dependency handling. Now we switched to dependency order is prioritized to prevent free unique.
2023-03-01 14:22:59 -05:00
rvcas
e14048fdbb [create-pull-request] automated change 2023-02-28 10:07:36 -05:00
rvcas
a9be624cec chore: better curl 2023-02-28 01:08:48 -05:00
rvcas
84bac5faab chore: more accurate url 2023-02-27 23:39:49 -05:00
rvcas
57cb3a0017 chore: wrong name 2023-02-27 23:13:33 -05:00
rvcas
fcbabbf867 chore: wrong name 2023-02-27 23:05:47 -05:00
rvcas
3301b35691 chore: chmod +x aikup/install 2023-02-27 22:54:08 -05:00
rvcas
fc9c941e67 feat: simple scripts for aikup 2023-02-27 22:53:18 -05:00
KtorZ
a46a9fca41 Only use colors & text decorations on ANSI-capable terminals.
Fixes #404.
2023-02-26 13:19:03 +01:00
Kasey White
2f2be39813 clippy fixes 2023-02-26 00:13:38 -05:00
Kasey White
665a8dec67 feat: add support for unconstr_data
-Builitins IR now acts like Record IR in terms of argument consumption
-UnConstrData returns as Pair(Data,Data) to conform with how pairs are treated behind the scenes.
2023-02-26 00:13:38 -05:00
KtorZ
81e072a14e Add new acceptance test scenario: 064
- Type mismatch expected 'data' got 'integer'
  - Type mismatch expected 'data' got 'list data'
2023-02-26 00:13:38 -05:00
Matthias Benkort
dc001c3745 Merge pull request #403 from aiken-lang/patch/cargo.nix
Update Cargo.nix
2023-02-24 08:36:54 +01:00
rvcas
48a221d09c [create-pull-request] automated change 2023-02-24 02:28:39 +00:00
waalge
031507bea2 nix fmt 2023-02-23 21:26:38 -05:00
waalge
079017d24c make default devshell allow for actual devving 2023-02-23 21:26:38 -05:00
waalge
5d984d7ee4 added workspace devshell 2023-02-23 21:26:38 -05:00
rvcas
98cd51db7c feat: switch how output is saved 2023-02-23 21:26:11 -05:00
rvcas
7e153ef5d7 feat: adjust ci 2023-02-23 20:46:29 -05:00
rvcas
780a2a5d4f feat: adjust ci 2023-02-23 20:37:09 -05:00
rvcas
ad85cf3ecc feat: adjust ci 2023-02-23 20:22:39 -05:00
rvcas
7bc0514488 feat: adjust ci 2023-02-23 20:20:32 -05:00
rvcas
9792b193a3 feat: adjust ci 2023-02-23 20:03:09 -05:00
rvcas
06be109930 feat: adjust ci 2023-02-23 19:51:52 -05:00
rvcas
621626e8fa feat: adjust ci 2023-02-23 19:47:57 -05:00
rvcas
7724da9af2 feat: adjust ci 2023-02-23 19:24:44 -05:00
rvcas
0066cc61cc Release 0.0.29
aiken@0.0.29
aiken-lang@0.0.29
aiken-lsp@0.0.29
aiken-project@0.0.29
uplc@0.0.29

Generated by cargo-workspaces
2023-02-23 19:04:18 -05:00
rvcas
1bc3362788 feat: new release job and some release notes 2023-02-23 18:52:56 -05:00
rvcas
34afa9197c chore: yeet bonnie 2023-02-23 17:21:10 -05:00
KtorZ
de3baa638e [create-pull-request] automated change 2023-02-22 17:21:37 -05:00
KtorZ
539ed2dea4 Fix unicode char parsing in comments. 2023-02-22 17:33:13 +01:00
KtorZ
fbf65de1dc Update default cost models for Aiken
Closes #396
2023-02-22 17:03:48 +01:00
KtorZ
bdee5e7995 Use variable-length threshold for levenshtein distance
Fixes #348
2023-02-22 13:29:39 +01:00
KtorZ
00e9dabe82 Add missing Plutus builtins to Aiken's lang. 2023-02-22 12:53:03 +01:00
KtorZ
0838d48f7c Move module name validation outside of type-checking
And disable it for documentation generation. This way, we can generate documentation for aiken/builtins and aiken (prelude)
2023-02-22 11:51:32 +01:00
KtorZ
6465af3ae2 Add missing keywords to highlightjs for doc generation. 2023-02-22 11:50:31 +01:00
KtorZ
c0230a811f Add 'plutusVersion' to blueprints. 2023-02-21 15:37:35 +01:00
KtorZ
82a32a082b Remove 'purpose' from blueprint's schema.
This has been removed from the CIP-0057 specification since validators
  are often re-used for multiple purposes (especially validators with
  arity 2). It's misleading to assign a validator a purpose since the
  purpose distinction actually happens _within_ the validator itself.
2023-02-21 15:30:41 +01:00
KtorZ
db0dfbbec1 Fix blueprint schema for tuples. 2023-02-21 15:29:33 +01:00
rvcas
e611d1ee7a chore(cmd::new): update validator definition in generated readme 2023-02-20 15:51:12 -05:00
rvcas
97f03e5e98 fix: variants no longer exist 2023-02-20 15:46:55 -05:00
rvcas
94ffc36442 chore: cargo fmt fix 2023-02-20 15:46:55 -05:00
rvcas
bd93ced647 feat: improve validator arity check
* add count to dynamically adjust message
* check if args is greater than 3
* delete unused project level errors
2023-02-20 15:46:55 -05:00
rvcas
700e47d482 [create-pull-request] automated change 2023-02-20 15:33:03 -05:00
rvcas
6af6607df4 chore: github made a weird commit 2023-02-20 15:30:25 -05:00