-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'succinctlabs:main' into teek_branch
- Loading branch information
Showing
12 changed files
with
292 additions
and
409 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
use super::vars::VariableStream; | ||
use crate::prelude::{CircuitBuilder, PlonkParameters}; | ||
|
||
pub mod asynchronous; | ||
pub mod function; | ||
pub mod general; | ||
pub mod hint; | ||
pub mod simple; | ||
pub mod synchronous; | ||
|
||
pub trait HintRef<L: PlonkParameters<D>, const D: usize> { | ||
/// returns a mutable reference to the output stream. | ||
fn output_stream_mut(&mut self) -> &mut VariableStream; | ||
|
||
/// adds the hint type to the circuit builder. | ||
fn register(&self, builder: &mut CircuitBuilder<L, D>); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.