Closed barabanovro closed 2 months ago
I can take this task. I believe that it can be solved by refining the already existing useeffect function to highlight code fragments. I can also make changes to the cairoVMApiContext file to get the current cairo_locations.
Since I made the functionality for highlighting the code, this revision should not take much time.
@melnikga, the issue has been assigned to you
We have updated the
run
API, and now it returns multiple Cairo code segment locations per Sierra statement. You can findcairo_locations
here:sierra_to_cairo_debug_info.sierra_statements_to_cairo_info.[sierra_statement_index].cairo_locations
.Implement highlighting of multiple code segments per Sierra statement instead of just one. Single
cairo_location
is deprecated now.