Commit a4be0f6
[Sierra-Emu] Implement missing libfuncs from int (#1192)
* Add sierra-emu as a debug utility
* Change working dir in sierra-emu job
* Remove repeated lines in sierra-emu gitignore
* Exclude debug_utils from coverage job
* remove some todos from value and implement Coupon libfunc
* start adding corelib test
* run tests from corelib
* remove unwanted file
* remove not related things
* get return_value from trace
* replace ids for debug info
* add common folder for integration tests
* fix tests
* remove todo
* ignore test for now
* filter ignored tests
* Update debug_utils/sierra-emu/tests/common/mod.rs
Co-authored-by: Julian Gonzalez Calderon <gonzalezcalderonjulian@gmail.com>
* run ignored test from the ci
* better ignoring
* remove debug_name in enums
* refactor
* remove unused dependency
* implement missing libfuncs from int
* fmt
* More expressive naming for the workflow
Co-authored-by: Gabriel Bosio <38794644+gabrielbosio@users.noreply.github.com>
* reviews
* reviews
* fmt
* fmt ci
* revert last commit
* fmt
* accidentally removed rayon usage
* avoid map's short-circuiting
* catch panics the avoid loosing the test name
* log ignored tests
* clippy
* Add "(WIP)" to corelib's test job
Co-authored-by: Gabriel Bosio <38794644+gabrielbosio@users.noreply.github.com>
* add general libfuncs: const, equal, to_felt, from_felt
* add diff libfunc
* print progress as the test runs
* fmt
* fix from_felt
* remove unused files + fix issue with non-integer
* format makefile
Co-authored-by: Julian Gonzalez Calderon <gonzalezcalderonjulian@gmail.com>
* try fix from_felt
* fix name test in ci
* add dependencies removed in merge
* dependencies
* clippy
* remove unused import
* better indent in makefile
* uppercase tests summary comment for better sight
* simplify a little apply_wrapping_op
* merge test-corelib
* remove unnecesary pubs
* also match builtins instead of filtering them
* format
* use slices in get_numeric_args_as_bigints
* fmt
* remove unnecesary to_vec
* fmt
* use iter instead of into_iter
* clippy
* reviews + remove uint128 file
* rename uint252 file to uint256
* fix clippy
---------
Co-authored-by: gabrielbosio <gabrielbosio95@gmail.com>
Co-authored-by: Julian Gonzalez Calderon <gonzalezcalderonjulian@gmail.com>
Co-authored-by: Gabriel Bosio <38794644+gabrielbosio@users.noreply.github.com>1 parent c0b8496 commit a4be0f6
File tree
12 files changed
+494
-1177
lines changed- debug_utils/sierra-emu/src
- vm
12 files changed
+494
-1177
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
6 | | - | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 61 | + | |
65 | 62 | | |
66 | | - | |
67 | | - | |
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
| |||
497 | 492 | | |
498 | 493 | | |
499 | 494 | | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
505 | 508 | | |
506 | 509 | | |
507 | 510 | | |
508 | 511 | | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | 512 | | |
518 | 513 | | |
519 | 514 | | |
| |||
0 commit comments