Skip to content

Commit

Permalink
remove cfg[test]
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoGalteland committed Apr 24, 2024
1 parent d3a6f42 commit 86bd33f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion halo2_gadgets/src/sinsemilla_opt/chip/hash_to_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ where
// FIXME: calling construct_base is possibly(!) non-optimal
let (x_a, y_a, zs_sum) = self.hash_all_pieces(region, offset, message, x_a, y_a)?;

#[cfg(test)]
self.check_hash_result(EccPointQ::PrivatePoint(Q), message, x_a, y_a, zs_sum)

Check failure on line 54 in halo2_gadgets/src/sinsemilla_opt/chip/hash_to_point.rs

View workflow job for this annotation

GitHub Actions / Clippy (beta)

no method named `check_hash_result` found for reference `&sinsemilla::chip::SinsemillaChip<Hash, Commit, Fixed, LookupRangeCheckConfig, GeneratorTableConfigType>` in the current scope

error[E0599]: no method named `check_hash_result` found for reference `&sinsemilla::chip::SinsemillaChip<Hash, Commit, Fixed, LookupRangeCheckConfig, GeneratorTableConfigType>` in the current scope --> halo2_gadgets/src/sinsemilla_opt/chip/hash_to_point.rs:54:14 | 54 | self.check_hash_result(EccPointQ::PrivatePoint(Q), message, x_a, y_a, zs_sum) | ^^^^^^^^^^^^^^^^^ method not found in `&SinsemillaChip<Hash, Commit, Fixed, LookupRangeCheckConfig, GeneratorTableConfigType>`

Check failure on line 54 in halo2_gadgets/src/sinsemilla_opt/chip/hash_to_point.rs

View workflow job for this annotation

GitHub Actions / Bitrot check

no method named `check_hash_result` found for reference `&SinsemillaChip<Hash, Commit, Fixed, LookupRangeCheckConfig, GeneratorTableConfigType>` in the current scope

Check failure on line 54 in halo2_gadgets/src/sinsemilla_opt/chip/hash_to_point.rs

View workflow job for this annotation

GitHub Actions / Book tests

no method named `check_hash_result` found for reference `&SinsemillaChip<Hash, Commit, Fixed, LookupRangeCheckConfig, GeneratorTableConfigType>` in the current scope

Check failure on line 54 in halo2_gadgets/src/sinsemilla_opt/chip/hash_to_point.rs

View workflow job for this annotation

GitHub Actions / Build target wasm32-wasi

no method named `check_hash_result` found for reference `&SinsemillaChip<Hash, Commit, Fixed, LookupRangeCheckConfig, GeneratorTableConfigType>` in the current scope

Check failure on line 54 in halo2_gadgets/src/sinsemilla_opt/chip/hash_to_point.rs

View workflow job for this annotation

GitHub Actions / Test on ubuntu-latest with beta features

no method named `check_hash_result` found for reference `&SinsemillaChip<Hash, Commit, Fixed, LookupRangeCheckConfig, GeneratorTableConfigType>` in the current scope

Check failure on line 54 in halo2_gadgets/src/sinsemilla_opt/chip/hash_to_point.rs

View workflow job for this annotation

GitHub Actions / Test on ubuntu-latest with nightly features

no method named `check_hash_result` found for reference `&SinsemillaChip<Hash, Commit, Fixed, LookupRangeCheckConfig, GeneratorTableConfigType>` in the current scope

Check failure on line 54 in halo2_gadgets/src/sinsemilla_opt/chip/hash_to_point.rs

View workflow job for this annotation

GitHub Actions / Test on ubuntu-latest

no method named `check_hash_result` found for reference `&SinsemillaChip<Hash, Commit, Fixed, LookupRangeCheckConfig, GeneratorTableConfigType>` in the current scope
}

Expand Down

0 comments on commit 86bd33f

Please sign in to comment.