Skip to content

Commit

Permalink
worker-spec: add lookup_tables param and add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Jul 27, 2023
1 parent 405d4c6 commit 3dfadad
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions js/web/worker-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,34 @@ function workerSpec(wasm) {
return {
caml_pasta_fp_plonk_index_create: {
args: [
// gates
wasm.WasmFpGateVector,
// public_
undefined /* number */,
// lookup_tables
undefined /*Uint32Array*/,
// runtime_table_cfgs
undefined /*Uint32Array*/,
// prev_challenges
undefined /* number */,
// srs
wasm.WasmFpSrs,
],
res: wasm.WasmPastaFpPlonkIndex,
},
caml_pasta_fq_plonk_index_create: {
args: [
// gates
wasm.WasmFqGateVector,
// public_
undefined /* number */,
// lookup_tables
undefined /*Uint32Array*/,
// runtime_table_cfgs
undefined /*Uint32Array*/,
// prev_challenges
undefined /* number */,
// srs
wasm.WasmFqSrs,
],
res: wasm.WasmPastaFqPlonkIndex,
Expand Down

0 comments on commit 3dfadad

Please sign in to comment.