Skip to content

getLagrangeBasis crashes in Web Workers when writable Cache is used #2865

Description

@mellowcroc
  • caml_fp_srs_get_lagrange_basis is disabled in the web worker spec (returns WasmVector which can't pass through the SharedArrayBuffer channel)
  • When a writable Cache is used in the browser worker context, the call crashes
  • Fix: wrap the two call sites in try-catch with fallback to lagrangeCommitment() for in-memory computation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions