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

Move memoset to coroutine module. #1048

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion src/coprocessor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use crate::{

pub mod circom;
pub mod gadgets;
pub mod memoset;
pub mod sha256;
pub mod trie;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use super::{
CircuitScope, CircuitTranscript, LogMemo, Scope,
};
use crate::circuit::gadgets::constraints::alloc_is_zero;
use crate::circuit::gadgets::pointer::AllocatedPtr;
use crate::coprocessor::gadgets::construct_list;
use crate::coprocessor::AllocatedPtr;
use crate::field::LurkField;
use crate::lem::circuit::GlobalAllocator;
use crate::lem::{pointers::Ptr, store::Store};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ use bellpepper_core::{boolean::Boolean, num::AllocatedNum, ConstraintSystem, Syn
use itertools::Itertools;
use once_cell::sync::OnceCell;

use super::gadgets::construct_cons;
use crate::circuit::gadgets::{
constraints::{enforce_equal, enforce_equal_zero, invert, sub},
pointer::AllocatedPtr,
};
use crate::coprocessor::gadgets::construct_cons; // FIXME: Move to common location.
use crate::field::LurkField;
use crate::lem::circuit::GlobalAllocator;
use crate::lem::tag::Tag;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use bellpepper_core::{ConstraintSystem, SynthesisError};

use super::{CircuitScope, CircuitTranscript, LogMemo, Scope};
use crate::coprocessor::AllocatedPtr;
use crate::circuit::gadgets::pointer::AllocatedPtr;
use crate::field::LurkField;
use crate::lem::circuit::GlobalAllocator;
use crate::lem::{pointers::Ptr, store::Store};
Expand Down
1 change: 1 addition & 0 deletions src/coroutine/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod memoset;
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pub mod circuit;
pub mod cli;
pub mod config;
pub mod coprocessor;
pub mod coroutine;
pub mod error;
pub mod eval;
pub mod field;
Expand Down
Loading