Commit 0a05bba
[Sierra-Emu] Fix felt-dict's overflow, circuits libfuncs and implement missing EcPoint libfunc (#1208)
* change initial gas due to overflows
* fix some libfuncs in circuits
* fix is() for circuits
* remove Value::Unit from return values in get_output
* match U96LimbsLessThanGuarantee correctly
* some corrections to circuits
* some corrections to circuits
* fix failure_guarantee_verify to avoid panicking
* fix circuits
* more fixes to circuits + implement ec_zero libfunc
* clippy
* remove unnecesary tests
* remove unnecesary file
* fix branch index
* add comment
* fix eval_u96_limbs_less_than_guarantee_verify
* remove circuit failure test
* update trace dump with new Value::CircitOutputs
* fmt
* reviews + fix modulus in trace dump
* remove unnecesary file
* fix clippy
* implement circuit_single_limb_less_than_guarantee_verify
* fix trace dump for circuit outputs
* fix felt_dict_get
* fix felt_dict_get
* implement U96LimbsLessThanGuarantee for trace dump
* remove unnecessary code
* fmt
* fix felt_dict_entry_get
* revert change in circuits.rs
* remove unwanted file
* revert unwanted change
* revert unwanted change
* make trace dump for circuit outputs cleaner
* remove unwanted code
* increase felt dict count always during get()
* doc function + merge main
* reviews
* use elemts stride for offseting u384 structs
* forgot to update one stride
---------
Co-authored-by: Gabriel Bosio <38794644+gabrielbosio@users.noreply.github.com>1 parent b63ab1b commit 0a05bba
File tree
13 files changed
+443
-290
lines changed- debug_utils/sierra-emu
- src
- vm
- tests
- common
- tests
- src/metadata
13 files changed
+443
-290
lines changedSome 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 | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
57 | 65 | | |
58 | 66 | | |
59 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | | - | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
181 | 187 | | |
182 | 188 | | |
183 | | - | |
184 | | - | |
185 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
186 | 196 | | |
| 197 | + | |
| 198 | + | |
187 | 199 | | |
188 | 200 | | |
189 | 201 | | |
190 | 202 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
| 203 | + | |
195 | 204 | | |
196 | 205 | | |
197 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments