Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add naive example usage #7

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Add naive example usage #7

merged 1 commit into from
Sep 4, 2024

Conversation

pefontana
Copy link
Contributor

No description provided.

It is meant as a debugging tool to compare the state against the results of running a Sierra program with Cairo Native.

## Running the Program
`cargo run <SIERRA PROGRAM> <ENTRYPOINT ID>`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The binary's arguments could be interpreted as destined for cargo using the current syntax. This can be fixed by forcing them to go to the binary:

Suggested change
`cargo run <SIERRA PROGRAM> <ENTRYPOINT ID>`
`cargo run -- <SIERRA PROGRAM> <ENTRYPOINT ID>`

@pefontana pefontana merged commit 2b612d5 into main Sep 4, 2024
1 check passed
@pefontana pefontana deleted the readme-example branch September 4, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants