Skip to content

Commit 7269a8f

Browse files
gabrielbosioFrancoGiachettaJulianGCalderonenitratVolodymyrBg
authored
Sync with main (#2116)
* Remove duplicated `get_val` (#2065) * avoid installing gmp if it is already installed * revert part of the last commit * changelog * remove unwanted file * CI: Make cache keys depend on Cairo version (#2056) * Add Makefile and requirements.txt to cache key * Don't fetch cairo stwo exclusive programs * Remove empty file * Restrict caching Cairo programs Revert how the Rust workflow uses the Cairo program paths to calculate the cache keys. This change would imply the branch only adds Makefile and requirements.txt to the cache key computation. --------- Co-authored-by: gabrielbosio <[email protected]> Co-authored-by: Gabriel Bosio <[email protected]> * dev: make Memory::get `pub` (#2039) * dev: make Memory::get `pub` * edit changelog * dev: expose get_maybe_relocatable instead * add comment on borrowed variant * add tests * feat(breaking): add support for hint accessible scopes (#2042) * feat: add support for hint accessible scopes update changelog * Update vm/src/hint_processor/hint_processor_definition.rs Co-authored-by: Julian Gonzalez Calderon <[email protected]> --------- Co-authored-by: Julian Gonzalez Calderon <[email protected]> * feat: add support for alias identifiers destination in program serde (#2071) * feat: add support for aliases destination in program serde * add changelog --------- Co-authored-by: Julián González Calderón <[email protected]> * fix: Add boundary tests for SecpSplitOutOfRange in secp_utils (#2062) * fix: Add boundary tests for SecpSplitOutOfRange in secp_utils * Update secp_utils.rs * Update CHANGELOG.md * Update secp_utils.rs * remove optimizations * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md * empty commit to fix CI --------- Co-authored-by: Julian Gonzalez Calderon <[email protected]> * docs: add --run_from_cairo_pie documentation for Cairo 0 and Cairo 1 (#2077) * docs: add --run_from_cairo_pie flag usage documentation for Cairo 0 * docs: add --run_from_cairo_pie flag usage documentation for Cairo 1 * Update README.md Co-authored-by: Julian Gonzalez Calderon <[email protected]> * Update README.md * Update README.md * Update README.md Co-authored-by: Julian Gonzalez Calderon <[email protected]> * Update README.md Co-authored-by: Gabriel Bosio <[email protected]> * Update README.md Co-authored-by: Julian Gonzalez Calderon <[email protected]> --------- Co-authored-by: Julian Gonzalez Calderon <[email protected]> Co-authored-by: Gabriel Bosio <[email protected]> * Fix WRITE_DIVMOD_SEGMENT hint (#2078) * Minor fixes - use CAIRO_PRIME * Add error handling * Update CHANGELOG.md * Bump cairo-lang to 0.13.5 (#1959) * Update cairo-lang versin * Update changelog * Add new hints * Specify prime in new hints * Only apply mod floor if prime is not CAIRO_PRIME * Properly implement pack for a different prime * Fix pack in compute_doubling_slope * Add negative_points.cairo test * Add try_get_point_from_x for negative points * Add double_x test for negative points * Allow to many arguments * Add codecov to cairo-0-secp-hints feature * Prepare for Release v3.0.0-rc.1 (#2092) * Update version * Update lock * Update toolchain * Update changelog * Fix clippy * Update toolchain in CI * fix: correct cache keys for no-std test coverage in CI (#2093) * Update rust.yml * Update rust.yml * Update rust toolchain to 1.87.0 (#2100) * update rust toolchain to 1.87.0 * remove uneeded file * update rust in workflows * update changelog * clippy * clippy * remove unneeded clippy allow * fix Changelog link (#2104) * Improve memory_segments coverage (#2110) * Add tests for .gen_arg() and .write_arg() * Add test for .is_valid_memory_value() * Assert contents of memory segments --------- Co-authored-by: Franco Giachetta <[email protected]> Co-authored-by: Julian Gonzalez Calderon <[email protected]> Co-authored-by: Mathieu <[email protected]> Co-authored-by: VolodymyrBg <[email protected]> Co-authored-by: GarmashAlex <[email protected]> Co-authored-by: crStiv <[email protected]> Co-authored-by: DiegoC <[email protected]>
1 parent b818326 commit 7269a8f

Some content is hidden

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

43 files changed

+993
-423
lines changed

.github/workflows/bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-24.04
1616
steps:
1717
- name: Install Rust
18-
uses: dtolnay/rust-toolchain@1.85.0
18+
uses: dtolnay/rust-toolchain@1.87.0
1919
with:
2020
components: rustfmt, clippy
2121
- uses: actions/checkout@v4

.github/workflows/cairo_1_programs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Install Rust toolchain
15-
uses: dtolnay/rust-toolchain@1.85.0
15+
uses: dtolnay/rust-toolchain@1.87.0
1616
- name: Set up Cargo cache
1717
uses: Swatinem/rust-cache@v2
1818
- name: Checkout

.github/workflows/fresh_run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: actions/checkout@v4
3939

4040
- name: Install Rust
41-
uses: dtolnay/rust-toolchain@1.85.0
41+
uses: dtolnay/rust-toolchain@1.87.0
4242

4343
- name: Install Pyenv
4444
uses: "gabrielfalcao/pyenv-action@v13"

.github/workflows/hint_accountant.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Install Rust toolchain
15-
uses: dtolnay/rust-toolchain@1.85.0
15+
uses: dtolnay/rust-toolchain@1.87.0
1616
- name: Set up Cargo cache
1717
uses: Swatinem/rust-cache@v2
1818
- name: Checkout

.github/workflows/hyper_threading_benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
sudo apt-get install -y hyperfine
3030
3131
- name: Install Rust
32-
uses: dtolnay/rust-toolchain@1.85.0
32+
uses: dtolnay/rust-toolchain@1.87.0
3333
with:
3434
components: rustfmt, clippy
3535

.github/workflows/hyperfine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

7575
- name: Install Rust
7676
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
77-
uses: dtolnay/rust-toolchain@1.85.0
77+
uses: dtolnay/rust-toolchain@1.87.0
7878

7979
- name: Checkout
8080
if: ${{ steps.cache.outputs.cache-hit != 'true' }}

.github/workflows/iai_main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Checkout
1212
uses: actions/checkout@v4
1313
- name: Install Rust
14-
uses: dtolnay/rust-toolchain@1.85.0
14+
uses: dtolnay/rust-toolchain@1.87.0
1515
- name: Set up cargo cache
1616
uses: Swatinem/rust-cache@v2
1717
- name: Python3 Build

.github/workflows/iai_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: Install Rust
2525
if: ${{ steps.cache-iai-results.outputs.cache-hit != 'true' }}
26-
uses: dtolnay/rust-toolchain@1.85.0
26+
uses: dtolnay/rust-toolchain@1.87.0
2727
- name: Set up cargo cache
2828
if: ${{ steps.cache-iai-results.outputs.cache-hit != 'true' }}
2929
uses: Swatinem/rust-cache@v2
@@ -51,7 +51,7 @@ jobs:
5151
- name: Checkout
5252
uses: actions/checkout@v4
5353
- name: Install Rust
54-
uses: dtolnay/rust-toolchain@1.85.0
54+
uses: dtolnay/rust-toolchain@1.87.0
5555
- name: Set up cargo cache
5656
uses: Swatinem/rust-cache@v2
5757
- name: Python3 Build

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout sources
1414
uses: actions/checkout@v4
1515
- name: Install stable toolchain
16-
uses: dtolnay/rust-toolchain@1.85.0
16+
uses: dtolnay/rust-toolchain@1.87.0
1717
- name: Publish crate cairo-vm
1818
env:
1919
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)