Skip to content

Commit

Permalink
removed commeted code
Browse files Browse the repository at this point in the history
  • Loading branch information
nulltea committed Feb 21, 2024
1 parent 986e57f commit ac83306
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lightclient-circuits/src/gadget/crypto/sha256_wide/gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ pub struct ShaBitGateManager<F: Field> {
/// Witnesses of a sha256 which are necessary to be loaded into halo2-lib.
#[derive(Clone, Copy, Debug, CopyGetters, Getters)]
pub struct LoadedSha256<F: Field> {
/// bytes_left of the first row of the first round of this keccak_f. This could be used to determine the length of the input.
// #[getset(get_copy = "pub")]
// pub(crate) bytes_left: AssignedValue<F>,

/// The output of this sha256. is_final/hash_lo/hash_hi come from the first row of the last round(NUM_ROUNDS).
#[getset(get_copy = "pub")]
Expand All @@ -61,7 +58,6 @@ pub struct LoadedSha256<F: Field> {
/// Input words (u64) of this keccak_f.
#[getset(get = "pub")]
pub word_values: [AssignedValue<F>; NUM_WORDS_TO_ABSORB],
// pub(crate) length: AssignedValue<F>,
}

impl<F: Field> CommonGateManager<F> for ShaBitGateManager<F> {
Expand Down

0 comments on commit ac83306

Please sign in to comment.