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 an ExecMode::Witness to the riscv executor #2333

Open
wants to merge 11 commits into from

Conversation

pacheco
Copy link
Collaborator

@pacheco pacheco commented Jan 13, 2025

ExecMode::Trace should only produce the memory and registers trace

@@ -2854,6 +2877,7 @@ pub fn execute<F: FieldElement>(
prover_ctx: &Callback<F>,
bootloader_inputs: &[F],
max_steps_to_execute: Option<usize>,
full_witness: bool,
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this just be ExecMode?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

but then you could also pass Fast, which is invalid

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

exec mode is internal to the crate

Copy link
Member

Choose a reason for hiding this comment

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

yea, just don't really like bool parameters..but ok

@pacheco pacheco marked this pull request as ready for review January 15, 2025 19:54
leonardoalt
leonardoalt previously approved these changes Jan 16, 2025
@leonardoalt leonardoalt enabled auto-merge January 16, 2025 12:25
@leonardoalt leonardoalt added this pull request to the merge queue Jan 16, 2025
Any commits made after this event will not be merged.
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 16, 2025
@leonardoalt leonardoalt added this pull request to the merge queue Jan 16, 2025
Any commits made after this event will not be merged.
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