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

Make test-only a CLI argument #521

Merged
merged 6 commits into from
Aug 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Delete unused struct
  • Loading branch information
hratoanina committed Aug 21, 2024
commit f1e7fd4da2a92e0ec9d7c3385cc223f0f039a508
14 changes: 0 additions & 14 deletions zero_bin/ops/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,6 @@ impl Operation for SegmentProof {
}
}

#[derive(Deserialize, Serialize, RemoteExecute)]
pub struct SegmentProofTestOnly {
pub save_inputs_on_error: bool,
}

impl Operation for SegmentProofTestOnly {
type Input = AllData;
type Output = ();

fn execute(&self, _all_data: Self::Input) -> Result<Self::Output> {
Ok(())
}
}

/// RAII struct to measure the time taken by a transaction proof.
///
/// - When created, it starts a span with the transaction proof id.
Expand Down