Skip to content

Commit 67871d6

Browse files
kariyglihm
andauthored
feat: bump cairo-lang-* deps to 2.12.0 and starknet to 0.17.0 (#3322)
* bump cairo to 2.12.0 * save * cairo: set version to 2.12 for lower dependencies and specify patch version in projects * fix(sozo): add workspace support with single dojo world package * fix(sozo): ensure DECLARE transactions are handled following 0.14 rules * fix: run linters * fix(sozo): conserve coloring of scarb commands in sozo output * feat(sozo): add --no-scarb-warning for build and test * update dev container for rust toolchain bump and update slot dep for cainome 0.10 * fix(ci): update rust version for release * chore: bump version to 1.7.0-alpha.2 * fix: add missing Cargo.lock updates * fix: use new scarb macros parser and adjust dojo macro to it * fix: fix cairo linter * fix: regenerated tests db * fix: update test policies * fix: fix tests * fix: run linters * fix(ci): add snfoundry github action * fix: flag flaky test to be investigated --------- Co-authored-by: glihm <dev@glihm.net>
1 parent a571146 commit 67871d6

78 files changed

Lines changed: 1260 additions & 1153 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG RUST_VERSION=1.85.0
1+
ARG RUST_VERSION=1.88.0
22
FROM ubuntu:24.04
33
ARG RUST_VERSION
44

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
env:
2222
CARGO_TERM_COLOR: always
23-
RUST_VERSION: 1.86.0
23+
RUST_VERSION: 1.88.0
2424
REGISTRY_IMAGE: ghcr.io/${{ github.repository }}
2525

2626
jobs:

.github/workflows/test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525

2626
env:
2727
CARGO_TERM_COLOR: always
28-
RUST_VERSION: 1.86.0
28+
RUST_VERSION: 1.88.0
2929

3030
jobs:
3131
build:
@@ -62,7 +62,7 @@ jobs:
6262
- uses: actions/checkout@v3
6363
- uses: software-mansion/setup-scarb@v1
6464
with:
65-
scarb-version: "nightly-2025-05-08"
65+
scarb-version: "dev-2025-09-05"
6666
- uses: Swatinem/rust-cache@v2
6767
- uses: actions/download-artifact@v4
6868
with:
@@ -74,7 +74,7 @@ jobs:
7474
# This puts Katana in the path for integration tests.
7575
- name: Download Katana for integration tests
7676
run: |
77-
curl -L https://github.com/dojoengine/katana/releases/download/v1.7.0-alpha.2/katana_v1.7.0-alpha.2_linux_amd64.tar.gz -o katana.tar.gz;
77+
curl -L https://github.com/dojoengine/katana/releases/download/v1.7.0-alpha.3/katana_v1.7.0-alpha.3_linux_amd64.tar.gz -o katana.tar.gz;
7878
tar -C /usr/local/bin -xzf katana.tar.gz
7979
8080
- run: |
@@ -120,16 +120,17 @@ jobs:
120120
- uses: actions/checkout@v3
121121
- uses: software-mansion/setup-scarb@v1
122122
with:
123-
scarb-version: "nightly-2025-05-08"
123+
scarb-version: "dev-2025-09-05"
124124
- run: bash scripts/cairo_fmt.sh
125125

126126
dojo-core-test:
127127
needs: build
128128
runs-on: ubuntu-latest
129129
steps:
130+
- uses: foundry-rs/setup-snfoundry@v3
130131
- uses: software-mansion/setup-scarb@v1
131132
with:
132-
scarb-version: "nightly-2025-05-08"
133+
scarb-version: "dev-2025-09-05"
133134
- uses: actions/download-artifact@v4
134135
with:
135136
name: dojo-bins
@@ -143,9 +144,10 @@ jobs:
143144
needs: build
144145
runs-on: ubuntu-latest
145146
steps:
147+
- uses: foundry-rs/setup-snfoundry@v3
146148
- uses: software-mansion/setup-scarb@v1
147149
with:
148-
scarb-version: "nightly-2025-05-08"
150+
scarb-version: "dev-2025-09-05"
149151
- uses: actions/download-artifact@v4
150152
with:
151153
name: dojo-bins

.tool-versions

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
scarb nightly-2025-05-08
2-
starknet-foundry 0.43.1
1+
scarb dev-2025-09-05
2+
starknet-foundry 0.48.1
33
cairo-profiler 0.9.0
4+
katana 1.7.0-alpha.3

0 commit comments

Comments
 (0)