Skip to content

Commit

Permalink
Tidy some trait constraints and debug statements
Browse files Browse the repository at this point in the history
Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
  • Loading branch information
dconnolly and jvff committed Nov 16, 2021
1 parent 0ac71f7 commit 6607633
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions zebra-consensus/src/primitives/halo2/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ async fn verify_orchard_halo2_proofs<V>(
) -> Result<(), V::Error>
where
V: tower::Service<Item, Response = ()>,
<V as tower::Service<Item>>::Error: From<tower::BoxError>,
<V as tower::Service<Item>>::Error: std::fmt::Debug,
<V as tower::Service<Item>>::Error: From<tower::BoxError> + std::fmt::Debug,
{
let mut async_checks = FuturesUnordered::new();

Expand Down Expand Up @@ -160,8 +159,6 @@ async fn verify_generated_halo2_proofs() {
),
);

println!("Display: {}", Halo2Error::Other);

// This should fail if any of the proofs fail to validate.
assert!(verify_orchard_halo2_proofs(&mut verifier, shielded_data)
.await
Expand All @@ -174,8 +171,7 @@ async fn verify_invalid_orchard_halo2_proofs<V>(
) -> Result<(), V::Error>
where
V: tower::Service<Item, Response = ()>,
<V as tower::Service<Item>>::Error: From<tower::BoxError>,
<V as tower::Service<Item>>::Error: std::fmt::Debug,
<V as tower::Service<Item>>::Error: From<tower::BoxError> + std::fmt::Debug,
{
let mut async_checks = FuturesUnordered::new();

Expand Down

0 comments on commit 6607633

Please sign in to comment.