Skip to content

Commit

Permalink
Upgrade Cairo version to 2.8.2 (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi authored Sep 13, 2024
1 parent 4cad208 commit bf1e6f8
Show file tree
Hide file tree
Showing 51 changed files with 52 additions and 52 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Getting scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.7.1"
scarb-version: "2.8.2"

- name: Verify all exercises
env:
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Getting scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.7.1"
scarb-version: "2.8.2"

- name: Format
run: ./bin/format_exercises.sh
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
scarb 2.7.1
scarb 2.8.2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ _Thoughtful suggestions will likely result faster & more enthusiastic responses

## Testing

Tests currently use Cairo v2.7.1 (included with Scarb v2.7.1).
Tests currently use Cairo v2.8.2 (included with Scarb v2.8.2).

To test all exercises, run `./bin/verify-exercises`.
This command will iterate over all exercises and check to see if their exemplar/example implementation passes all the tests.
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/annalyns-infiltration/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/concept/low-power-embedded-game/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/concept/lucians-luscious-lasagna/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/acronym/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/allergies/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/anagram/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/armstrong-numbers/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/atbash-cipher/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/beer-song/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/binary-search/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/bob/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/clock/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/collatz-conjecture/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/custom-set/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/darts/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/difference-of-squares/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/dominoes/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
2 changes: 1 addition & 1 deletion exercises/practice/eliuds-eggs/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/hamming/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/hello-world/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/isogram/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/largest-series-product/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/leap/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/linked-list/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/matching-brackets/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/nucleotide-count/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/pangram/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/pascals-triangle/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/perfect-numbers/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/phone-number/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/protein-translation/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/raindrops/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/rational-numbers/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/resistor-color-duo/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/reverse-string/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/rna-transcription/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/robot-simulator/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/roman-numerals/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/rotational-cipher/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/scrabble-score/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/secret-handshake/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/semi-structured-logs/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/simple-linked-list/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/square-root/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/sublist/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/triangle/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/two-fer/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"
2 changes: 1 addition & 1 deletion exercises/practice/yacht/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024_07"

[dev-dependencies]
cairo_test = "2.7.1"
cairo_test = "2.8.2"

0 comments on commit bf1e6f8

Please sign in to comment.