keep-starknet-strange / ziggy-starkdust

⚡ Cairo VM in Zig ⚡
https://keep-starknet-strange.github.io/ziggy-starkdust/
MIT License
80 stars 39 forks source link

Implement `endRun` for the Cairo VM #448

Closed tcoratger closed 6 months ago

tcoratger commented 6 months ago

Description

This pull request implements the endRun function for the Cairo Virtual Machine. The endRun function is responsible for finalizing the execution run by verifying auto deductions and marking the run as finished. Additionally, it checks if there is only one execution scope remaining and returns an error if so.

Changes Made