Skip to content

Commit

Permalink
chore: fix typos (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuoer86 authored Nov 3, 2023
1 parent bd61f8d commit 29dad32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions snark-verifier/src/verifier/plonk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! [`PlonkVerifier`] implemented and both are implemented assuming the used
//! [`PolynomialCommitmentScheme`] has [atomic] or [split] accumulation scheme
//! ([`PlonkVerifier`] is just [`PlonkSuccinctVerifier`] plus doing accumulator
//! deciding then returns accept/reject as ouput).
//! deciding then returns accept/reject as output).
//!
//! [PLONK]: https://eprint.iacr.org/2019/953
//! [atomic]: https://eprint.iacr.org/2020/499
Expand All @@ -27,7 +27,7 @@ pub(crate) mod protocol;
pub use proof::PlonkProof;
pub use protocol::PlonkProtocol;

/// Verifier that verifies the cheap part of PLONK and ouput the accumulator.
/// Verifier that verifies the cheap part of PLONK and output the accumulator.
#[derive(Debug)]
pub struct PlonkSuccinctVerifier<AS, AE = PhantomData<AS>>(PhantomData<(AS, AE)>);

Expand Down Expand Up @@ -93,7 +93,7 @@ where
}

/// Verifier that first verifies the cheap part of PLONK, then decides
/// accumulator and returns accept/reject as ouput.
/// accumulator and returns accept/reject as output.
#[derive(Debug)]
pub struct PlonkVerifier<AS, AE = PhantomData<AS>>(PhantomData<(AS, AE)>);

Expand Down
2 changes: 1 addition & 1 deletion snark-verifier/src/verifier/plonk/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ where
)]
/// Prover and verifier common initial state to write to transcript if any.
pub transcript_initial_state: Option<L::LoadedScalar>,
/// Instance polynomials commiting key if any.
/// Instance polynomials committing key if any.
pub instance_committing_key: Option<InstanceCommittingKey<C>>,
/// Linearization strategy.
pub linearization: Option<LinearizationStrategy>,
Expand Down

0 comments on commit 29dad32

Please sign in to comment.