Update pinned verification key to account for circuit changes

This commit is contained in:
Sean Bowe 2021-02-18 15:48:20 -07:00
parent d29246b49b
commit 81af4e43d1
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
2 changed files with 27 additions and 29 deletions

View File

@ -909,39 +909,37 @@ fn test_proving() {
], ],
lookups: [ lookups: [
Argument { Argument {
input_columns: [ input_expressions: [
Column { Advice(
index: 1, 0,
column_type: Advice, ),
},
], ],
table_columns: [ table_expressions: [
Column { Fixed(
index: 6, 0,
column_type: Fixed, ),
},
], ],
}, },
Argument { Argument {
input_columns: [ input_expressions: [
Column { Product(
index: 1, Advice(
column_type: Advice, 0,
}, ),
Column { Advice(
index: 2, 1,
column_type: Advice, ),
}, ),
], ],
table_columns: [ table_expressions: [
Column { Product(
index: 6, Fixed(
column_type: Fixed, 0,
}, ),
Column { Fixed(
index: 7, 1,
column_type: Fixed, ),
}, ),
], ],
}, },
], ],

View File

@ -401,7 +401,7 @@ pub struct PinnedConstraintSystem<'a, F: Field> {
instance_queries: &'a Vec<(Column<Instance>, Rotation)>, instance_queries: &'a Vec<(Column<Instance>, Rotation)>,
fixed_queries: &'a Vec<(Column<Fixed>, Rotation)>, fixed_queries: &'a Vec<(Column<Fixed>, Rotation)>,
permutations: &'a Vec<permutation::Argument>, permutations: &'a Vec<permutation::Argument>,
lookups: &'a Vec<lookup::Argument>, lookups: &'a Vec<lookup::Argument<F>>,
} }
struct PinnedGates<'a, F: Field>(&'a Vec<(&'static str, Expression<F>)>); struct PinnedGates<'a, F: Field>(&'a Vec<(&'static str, Expression<F>)>);