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: [
|
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,
|
),
|
||||||
},
|
),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -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>)>);
|
||||||
|
|
Loading…
Reference in New Issue