-
Notifications
You must be signed in to change notification settings - Fork 97
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
Conversation
ExecMode::Trace should only produce the memory and registers trace
riscv-executor/src/lib.rs
Outdated
@@ -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, |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
ExecMode::Trace should only produce the memory and registers trace