diff --git a/Cargo.toml b/Cargo.toml index 05735b14..b8f32a58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ subtle = "2.3" [dependencies.halo2] git = "https://github.com/zcash/halo2.git" -rev = "cae6f6af725cf1f5bc94e126a0b41e9ac602a302" +rev = "0448584333c1e262e4a7dbaefa6fdd896bdaaefb" [dependencies.pasta_curves] git = "https://github.com/zcash/pasta_curves.git" diff --git a/src/circuit.rs b/src/circuit.rs index 3fbb2760..4b077102 100644 --- a/src/circuit.rs +++ b/src/circuit.rs @@ -31,7 +31,9 @@ impl plonk::Circuit for Circuit { // Placeholder gate so there is something for the prover to operate on. let advice = meta.advice_column(); - meta.create_gate("TODO", |meta| meta.query_advice(advice, Rotation::cur())); + meta.create_gate("TODO", |meta| { + vec![meta.query_advice(advice, Rotation::cur())] + }); } fn synthesize( @@ -138,7 +140,7 @@ impl Proof { .collect(); let instances: Vec<_> = instances.iter().map(|i| &i[..]).collect(); - let mut transcript = Blake2bWrite::<_, vesta::Affine>::init(vec![]); + let mut transcript = Blake2bWrite::<_, vesta::Affine, _>::init(vec![]); plonk::create_proof(&pk.params, &pk.pk, circuits, &instances, &mut transcript)?; Ok(Proof(transcript.finalize())) }