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

Writing of trace file #37

Merged
merged 38 commits into from
Aug 4, 2023
Merged

Writing of trace file #37

merged 38 commits into from
Aug 4, 2023

Conversation

gabrielbosio
Copy link
Collaborator

@gabrielbosio gabrielbosio commented Aug 2, 2023

No description provided.

Copy link
Contributor

@fmoletta fmoletta left a comment

Choose a reason for hiding this comment

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

Is the cairo_trace_struct file the fibonacci.cairo's trace file generated by the cairo vm? If so, can we rename it to fibonacci.trace to avoid confusions?

@gabrielbosio
Copy link
Collaborator Author

Is the cairo_trace_struct file the fibonacci.cairo's trace file generated by the cairo vm? If so, can we rename it to fibonacci.trace to avoid confusions?

It's the trace file used to test the writing of the trace file in the cairo VM repo.. It's the trace generated from struct.json.

@gabrielbosio gabrielbosio marked this pull request as ready for review August 2, 2023 20:50
@fmoletta
Copy link
Contributor

fmoletta commented Aug 2, 2023

Is the cairo_trace_struct file the fibonacci.cairo's trace file generated by the cairo vm? If so, can we rename it to fibonacci.trace to avoid confusions?

It's the trace file used to test the writing of the trace file in the cairo VM repo.. It's the trace generated from struct.json.

In that case I think we should add the files struct.cairo, struct.json and struct.trace, this way we can identify where they come from and easily replace them once we set up memory and trace comparison with cairo-vm

pkg/vm/vm_core.go Outdated Show resolved Hide resolved
pkg/vm/trace.go Outdated Show resolved Hide resolved
pkg/vm/vm_core.go Outdated Show resolved Hide resolved
Copy link
Contributor

@fmoletta fmoletta left a comment

Choose a reason for hiding this comment

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

🚀

@jrchatruc jrchatruc merged commit 5e060f8 into main Aug 4, 2023
1 check passed
@jrchatruc jrchatruc deleted the trace_file branch August 4, 2023 15:43
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.

3 participants