cairo-vm icon indicating copy to clipboard operation
cairo-vm copied to clipboard

Add a CLI option to specify the entrypoint

Open Bernardstanislas opened this issue 3 years ago • 1 comments

Currently the entrypoint to the cairo file being run is hardcoded to the main function. Since we'd like at Onlydust to leverage your VM to build a fast Cairo test runner, we would need to be able to specify a different entrypoint, let's say my_function for example.

I plan to work on this, I open the issue to start the conversation and get your point of view on this.

Bernardstanislas avatar Jun 24 '22 15:06 Bernardstanislas

Hi, thanks for creating the issue. We are working on adding hints, as soon as we have it working we can add this. If you want to send a PR we can discuss it and merge it.

unbalancedparentheses avatar Jun 26 '22 15:06 unbalancedparentheses