Skip to content

Commit

Permalink
Switch to aiken 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Sep 22, 2024
1 parent 4891b74 commit 6e1979d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 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.2
version: v1.1.3
- run: aiken fmt --check
- run: aiken check -D
- run: aiken build
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ build/
docs/
# Aiken lock file
aiken.lock

# Generated by Cargo
# will have compiled files and executables
debug/
target/
# These are backup files generated by rustfmt
**/*.rs.bk
2 changes: 1 addition & 1 deletion aiken.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "cardanosolutions/proxy-dreps"
version = "0.0.0"
compiler = "v1.1.2"
compiler = "v1.1.3"
plutus = "v3"
license = "MPL-2.0"
description = "Aiken contracts for project 'cardanosolutions/proxy-dreps'"
Expand Down
3 changes: 1 addition & 2 deletions lib/aiken/collection/list/extra.ak
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
/// Insert an element in a list at the given position.
pub 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
6 changes: 2 additions & 4 deletions validators/zhuli.test.ak
Original file line number Diff line number Diff line change
Expand Up @@ -340,11 +340,9 @@ 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

0 comments on commit 6e1979d

Please sign in to comment.