binius_core::piop::commit

Function make_oracle_commit_meta

Source
pub fn make_oracle_commit_meta<F: TowerField>(
    oracles: &MultilinearOracleSet<F>,
) -> Result<(CommitMeta, SparseIndex<usize>), Error>
Expand description

Indexes the committed oracles in a MultilinearOracleSet and returns:

  1. a CommitMeta struct that stores information about the committed polynomials
  2. a sparse index mapping oracle IDs to committed IDs in the commit metadata