Update pinned verification key to account for circuit changes
This commit is contained in:
parent
d29246b49b
commit
81af4e43d1
54
src/plonk.rs
54
src/plonk.rs
|
@ -909,39 +909,37 @@ fn test_proving() {
|
|||
],
|
||||
lookups: [
|
||||
Argument {
|
||||
input_columns: [
|
||||
Column {
|
||||
index: 1,
|
||||
column_type: Advice,
|
||||
},
|
||||
input_expressions: [
|
||||
Advice(
|
||||
0,
|
||||
),
|
||||
],
|
||||
table_columns: [
|
||||
Column {
|
||||
index: 6,
|
||||
column_type: Fixed,
|
||||
},
|
||||
table_expressions: [
|
||||
Fixed(
|
||||
0,
|
||||
),
|
||||
],
|
||||
},
|
||||
Argument {
|
||||
input_columns: [
|
||||
Column {
|
||||
index: 1,
|
||||
column_type: Advice,
|
||||
},
|
||||
Column {
|
||||
index: 2,
|
||||
column_type: Advice,
|
||||
},
|
||||
input_expressions: [
|
||||
Product(
|
||||
Advice(
|
||||
0,
|
||||
),
|
||||
Advice(
|
||||
1,
|
||||
),
|
||||
),
|
||||
],
|
||||
table_columns: [
|
||||
Column {
|
||||
index: 6,
|
||||
column_type: Fixed,
|
||||
},
|
||||
Column {
|
||||
index: 7,
|
||||
column_type: Fixed,
|
||||
},
|
||||
table_expressions: [
|
||||
Product(
|
||||
Fixed(
|
||||
0,
|
||||
),
|
||||
Fixed(
|
||||
1,
|
||||
),
|
||||
),
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
@ -401,7 +401,7 @@ pub struct PinnedConstraintSystem<'a, F: Field> {
|
|||
instance_queries: &'a Vec<(Column<Instance>, Rotation)>,
|
||||
fixed_queries: &'a Vec<(Column<Fixed>, Rotation)>,
|
||||
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>)>);
|
||||
|
|
Loading…
Reference in New Issue