Skip to content

Commit

Permalink
Merge branch 'zkvm/keccak/pattern' into zkvm/keccak/generic-cols
Browse files Browse the repository at this point in the history
  • Loading branch information
querolita committed Oct 30, 2023
2 parents ceee254 + f3bc909 commit 01312b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion kimchi/src/circuits/berkeley_columns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,12 @@ impl<F: Copy, const COLUMNS: usize> ColumnEvaluations<F>
LookupKindIndex(LookupPattern::ForeignFieldMul) => self
.foreign_field_mul_lookup_selector
.ok_or(ExprError::MissingIndexEvaluation(col)),
LookupKindIndex(LookupPattern::KeccakRound) => todo!(),
LookupKindIndex(LookupPattern::KeccakSponge) => todo!(),
LookupRuntimeSelector => self
.runtime_lookup_table_selector
.ok_or(ExprError::MissingIndexEvaluation(col)),
Index(_) => Err(ExprError::MissingIndexEvaluation(col)),
LookupKindIndex(_) => Err(ExprError::MissingIndexEvaluation(col)),
}
}
}
3 changes: 2 additions & 1 deletion kimchi/src/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ impl<F, const COLUMNS: usize> ProofEvaluations<F, COLUMNS> {
Column::LookupKindIndex(LookupPattern::ForeignFieldMul) => {
self.foreign_field_mul_lookup_selector.as_ref()
}
Column::LookupKindIndex(_) => None,
Column::LookupKindIndex(LookupPattern::KeccakRound) => todo!(),
Column::LookupKindIndex(LookupPattern::KeccakSponge) => todo!(),
Column::LookupRuntimeSelector => self.runtime_lookup_table_selector.as_ref(),
Column::LookupRuntimeTable => self.runtime_lookup_table.as_ref(),
Column::Index(GateType::Generic) => Some(&self.generic_selector),
Expand Down

0 comments on commit 01312b7

Please sign in to comment.