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

[DNM] Trace dump & Emu support #62

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

[DNM] Trace dump & Emu support #62

wants to merge 11 commits into from

Conversation

JulianGCalderon
Copy link
Contributor

@JulianGCalderon JulianGCalderon commented Oct 7, 2024

Usage:

  1. Clone in the same parent directory: starknet-replay, cairo-native, and sierra-emu
  2. Checkout cairo-native branch add-trace-dump-contracts
  3. Checkout starknet-replay branch trace-dump-2 (this branch)

Remember to delete compiled programs (rm -rf compiled_programs) and compile runtime with trace dump feature (make runtime-with-trace-dump)

We use local dependencies as using the trace dump features usually requires to update Native and Emu code.

See https://lambdaclass.github.io/cairo_native/cairo_native/docs/section06/index.html#comparing-with-sierra-emulator for more documentation on how to debug

To run with Native:

cargo run --features with-trace-dump tx ...

To run with Emu:

cargo run --features with-trace-dump,use-sierra-emu tx ...

@JulianGCalderon JulianGCalderon changed the title (DNM?) Trace dump & Emu support [DNM] Trace dump & Emu support Nov 19, 2024
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.

1 participant