Commit d431067
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 d1fb3da commit d431067
File tree
10 files changed
+240
-21
lines changed- .github/workflows
- hint_accountant/src
- vm/src
- hint_processor
- builtin_hint_processor
- cairo_1_hint_processor
- tests
- vm
- runners
- vm_memory
10 files changed
+240
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
| 569 | + | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
573 | | - | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
574 | 592 | | |
575 | 593 | | |
576 | 594 | | |
| |||
596 | 614 | | |
597 | 615 | | |
598 | 616 | | |
599 | | - | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
600 | 636 | | |
601 | 637 | | |
602 | | - | |
603 | | - | |
| 638 | + | |
| 639 | + | |
604 | 640 | | |
605 | 641 | | |
606 | 642 | | |
| |||
627 | 663 | | |
628 | 664 | | |
629 | 665 | | |
630 | | - | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
631 | 734 | | |
632 | 735 | | |
633 | | - | |
634 | | - | |
| 736 | + | |
| 737 | + | |
635 | 738 | | |
636 | 739 | | |
637 | 740 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
38 | 54 | | |
39 | 55 | | |
40 | 56 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| 67 | + | |
60 | 68 | | |
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
66 | 74 | | |
67 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
68 | 82 | | |
69 | 83 | | |
70 | 84 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1263 | 1263 | | |
1264 | 1264 | | |
1265 | 1265 | | |
| 1266 | + | |
| 1267 | + | |
1266 | 1268 | | |
1267 | 1269 | | |
1268 | 1270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
299 | 303 | | |
300 | 304 | | |
301 | 305 | | |
302 | 306 | | |
303 | 307 | | |
304 | 308 | | |
| 309 | + | |
305 | 310 | | |
306 | 311 | | |
307 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
| 660 | + | |
660 | 661 | | |
661 | 662 | | |
662 | 663 | | |
| |||
0 commit comments