Skip to content

Commit

Permalink
Mirrors branch v1.3.3 from private at 61b1b630862aa4134233a045f9dd4e8…
Browse files Browse the repository at this point in the history
…509263333 (#12)
  • Loading branch information
shahar4 authored Sep 26, 2023
1 parent e819d15 commit 3a21c8d
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 436 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/target
Cargo.lock
.idea/

2 changes: 1 addition & 1 deletion cs_derive/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn find_in_equivalent_types(ty: &TypePath) -> (TypePath, Option<GenericParam>) {
let second_ty: TypePath = syn::parse_str(b).unwrap();
let type_param = if let Some(ref ty_param) = c {
Some(GenericParam::Type(
syn::parse_str::<TypeParam>(ty_param.clone()).unwrap(),
syn::parse_str::<TypeParam>(ty_param).unwrap(),
))
} else {
None
Expand Down
2 changes: 1 addition & 1 deletion src/glue/code_unpacker_sha256/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ use crate::glue::optimizable_queue::{
};
use crate::glue::traits::get_vec_vec_witness_raw_with_hint_on_more_in_subset;
use crate::glue::traits::CircuitFixedLengthEncodableExt;
use crate::scheduler::queues::memory_access::*;
// use crate::scheduler::queues::memory_access::*;
use crate::scheduler::queues::*;
use crate::vm::optimizer::sponge_set::SpongeOptimizer;
use crate::vm::primitives::UInt64;
Expand Down
1 change: 0 additions & 1 deletion src/glue/memory_queries_validity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use crate::glue::optimizable_queue::{
};
use crate::glue::traits::get_vec_witness_raw_with_hint;
use crate::glue::traits::CircuitFixedLengthEncodableExt;
use crate::scheduler::queues::memory_access::*;
use crate::scheduler::queues::*;
use crate::vm::optimizer::sponge_set::SpongeOptimizer;
use crate::vm::primitives::UInt64;
Expand Down
2 changes: 0 additions & 2 deletions src/glue/merkleize_l1_messages/merkleize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,6 @@ pub(crate) fn byte_encodable_queue_binary_hash<
chunk.copy_from_slice(&encoding);
}

drop(encoding_area);

let binary_hash = binary_hasher.hash(cs, &bytes)?;

Ok(binary_hash)
Expand Down
1 change: 0 additions & 1 deletion src/glue/optimizable_queue/simple_impl.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use super::super::traits::*;
use super::utils::*;
use super::*;
use crate::bellman::SynthesisError;
use crate::circuit_structures::traits::*;
Expand Down
1 change: 0 additions & 1 deletion src/recursion/recursion_tree/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ impl<
layer_elements.push(node_hash);
}
assert!(layer_elements.len().is_power_of_two());
drop(src);
node_layers.push(layer_elements);
}
assert_eq!(node_layers.last().unwrap().len(), 1);
Expand Down
206 changes: 0 additions & 206 deletions src/scheduler/queues/memory_access.rs

This file was deleted.

2 changes: 0 additions & 2 deletions src/scheduler/queues/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pub mod delegated_memory_write;
pub mod ecdsa_request;
pub mod full_sponge_like_queue_state;
pub mod l1_authorizations;
pub mod memory_access;
pub mod pubdata_chunk;
pub mod queue_state;
pub mod recursive_request;
Expand All @@ -24,7 +23,6 @@ pub use self::delegated_memory_write::*;
pub use self::ecdsa_request::*;
pub use self::full_sponge_like_queue_state::*;
pub use self::l1_authorizations::*;
pub use self::memory_access::*;
pub use self::pubdata_chunk::*;
pub use self::queue_state::*;
pub use self::recursive_request::*;
Expand Down
4 changes: 0 additions & 4 deletions src/vm/primitives/memory_view/mod.rs

This file was deleted.

Loading

0 comments on commit 3a21c8d

Please sign in to comment.