Skip to content

Commit 2f21e8a

Browse files
FrancoGiachettaedg-lJulianGCalderon
authored andcommitted
Update cairo-lang to 2.11.1 (#1136)
* update cairo-lang and prepare for adding the new features * format * replace enum for struct in contract result * update some cairo code from tests * update cairo code in tests * fix execution result branching * fix branching * fix branching * remove cairo program * Prepare for release v0.3.4 (#1135) * prepare for release * fix cargo.lock * pin cairo-vm version * Try to fix release ci binary generation again (#1140) * Remove dict double pointer in `cairo_native__dict_get` (#1134) * Remove Rc::make_mut * Remove the clone impl * Remove dup_fn field from FeltDict struct This commits builds correctly, but tests won't pass because we must adapt the compilation sierra compilation to take it into account * Adapt compiler to new signature * Add comment * Remove dup from Felt252DictOverrides * remove doble pointer from dict --------- Co-authored-by: Julián González Calderón <[email protected]> Co-authored-by: Edgar Luque <[email protected]> Co-authored-by: Edgar <[email protected]> * pin vm * Update alexandria * Fix int_range_try_new test * Revert execution_result.rs * Find correct entrypoint * Remove duplicated comment * Update imports to user starknet directly * Update gas usage As the gas change is small, and non of the tests comparing to the cairo vm failed, we can safely assume that the gas changes can be attributed to the code generation * Remove deprecated usage * Update starknet-blocks refs * Update leftover references to 2.11.1 * Update patch command for starknet-blocks CI * pin some cairo-lang dependencies * Prepare for release v0.3.4 (#1135) * prepare for release * fix cargo.lock * pin cairo-vm version * Implement compilation filter for failing tests (#1146) * Replace todos with errors (#1147) --------- Co-authored-by: Edgar <[email protected]> Co-authored-by: Julián González Calderón <[email protected]> Co-authored-by: Edgar Luque <[email protected]>
1 parent 63ce97f commit 2f21e8a

File tree

29 files changed

+637
-643
lines changed

29 files changed

+637
-643
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
- name: Install scarb
224224
uses: software-mansion/setup-scarb@v1
225225
with:
226-
scarb-version: "2.10.1"
226+
scarb-version: "2.11.1"
227227
- name: Install deps
228228
run: make deps
229229
- name: Run tests
@@ -291,7 +291,7 @@ jobs:
291291
- name: Install scarb
292292
uses: software-mansion/setup-scarb@v1
293293
with:
294-
scarb-version: "2.10.1"
294+
scarb-version: "2.11.1"
295295
- name: Install deps
296296
run: make deps
297297
- name: Build alexandria

.github/workflows/starknet-blocks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
repository: lambdaclass/starknet-replay
3434
path: starknet-replay
35-
ref: 99f57191880562e83628e2d320bfd4eaf24e6c95
35+
ref: c95ab2bb8c09926b7e8a36d6e0bad89d9e299327
3636
# We need native to use the linux deps ci action
3737
- name: Checkout Native
3838
uses: actions/checkout@v4
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
repository: lambdaclass/sequencer
4545
path: sequencer
46-
ref: 12ea9447b8ea1763bd23efa7a573333e4e057f0d
46+
ref: 056bf87a45a197f0501169af9c836eb0732d4467
4747

4848
- name: Cache RPC Calls
4949
uses: actions/[email protected]
@@ -67,9 +67,9 @@ jobs:
6767
# Updates sequencer dependency to local path
6868
name='[[:alnum:]_-]+'
6969
sequencer_url='"https:\/\/github.com\/lambdaclass\/sequencer\.git"'
70-
rev='"[[:alnum:]]+"'
70+
rev='"[^"]+"'
7171
new_path='"..\/sequencer\/crates\/\1"'
72-
sed -i'' -r "s/^($name) = \{ git = $sequencer_url, rev = $rev/\1 = { path = $new_path/" Cargo.toml
72+
sed -i'' -r "s/^($name) = \{ git = $sequencer_url, (rev|branch) = $rev/\1 = { path = $new_path/" Cargo.toml
7373
7474
# Updates native dependency to local path
7575
new_path='"..\/cairo_native"'

0 commit comments

Comments
 (0)