Skip to content

Commit

Permalink
Bump aiken version
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Sep 19, 2024
1 parent 084c681 commit 3d5d65e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: aiken-lang/setup-aiken@v1
with:
version: v1.1.0
version: v1.1.2
- run: aiken fmt --check
- run: aiken check -D
- run: aiken build
9 changes: 6 additions & 3 deletions validators/proxy.test.ak
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,11 @@ fn register(
fn(o) { o.address.payment_credential == Script(validator_hash) },
)
when n_ours is {
0 -> [sc_no_required_initial_output, ..labels]
0 ->
[sc_no_required_initial_output, ..labels]
1 -> labels
_ -> [sc_too_many_initial_outputs, ..labels]
_ ->
[sc_too_many_initial_outputs, ..labels]
}
} else {
list.filter(
Expand Down Expand Up @@ -1103,7 +1105,8 @@ fn our_value_restricted_to(utxo: List<Input>, mask: List<PolicyId>) -> Value {
/// Insert an element in a list at the given position.
fn insert(self: List<a>, ix: Int, elem: a) -> List<a> {
when self is {
[] -> [elem]
[] ->
[elem]
[head, ..tail] ->
if ix == 0 {
[elem, head, ..tail]
Expand Down

0 comments on commit 3d5d65e

Please sign in to comment.