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

Cairo 2.9.1 and improve api #25

Merged
merged 4 commits into from
Nov 29, 2024
Merged

Cairo 2.9.1 and improve api #25

merged 4 commits into from
Nov 29, 2024

Conversation

edg-l
Copy link
Member

@edg-l edg-l commented Nov 29, 2024

  • Updates to cairo 2.9.1
  • Removes an unnecesary Cell
  • Adds Clone and Debug to VM struct
  • Changes VM struct so it doesnt hold a syscall handler, instead its passed to the .step(), removing generics and allowing the end user to hold the VM struct in a more usable way (specially in the sequencer this allows to create the VM and then run it later, like cairo native)
  • Change call_contract to accept a selector instead of function id, like cairo native does.
  • Removes the gitignore on Cargo.lock for easier reproducing
  • Adds run_with_trace to simplify more.
  • Adds LICENSE with Apache 2.0
  • Improves the readme

Copy link
Contributor

@FrancoGiachetta FrancoGiachetta left a comment

Choose a reason for hiding this comment

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

LGTM!

@edg-l edg-l merged commit e015746 into main Nov 29, 2024
1 check passed
@edg-l edg-l deleted the improve_sierra_emu branch November 29, 2024 12:40
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