Skip to content

Commit

Permalink
feat: create function skeleton for prove_and_verify_query
Browse files Browse the repository at this point in the history
  • Loading branch information
waelsy123 committed Oct 25, 2024
1 parent 5e760cd commit 005e18c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crates/proof-of-sql/examples/stocks/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,14 @@ use proof_of_sql::{
const DORY_SETUP_MAX_NU: usize = 8;
// This should be a "nothing-up-my-sleeve" phrase or number.
const DORY_SEED: [u8; 32] = *b"f9d2e8c1b7a654309cfe81d2b7a3c940";

/// # Panics
/// Will panic if the query does not parse or the proof fails to verify.
fn prove_and_verify_query(
sql: &str,
accessor: &OwnedTableTestAccessor<DynamicDoryEvaluationProof>,
prover_setup: &ProverSetup,
verifier_setup: &VerifierSetup,
) {
// Placeholder for query processing
}

0 comments on commit 005e18c

Please sign in to comment.