Skip to content

bug: zerokit-rln-wasm fails to run in browser #353

@adklempner

Description

@adklempner

using the published version from npm:
@waku/zerokit-rln-wasm: 0.3.0

calling __wbg_init fails with:

LinkError: WebAssembly.instantiate(): Import #5 "wbg" "__wbg_log_8cec76766b8c0e33": function import requires a callable

Seems related to drager/wasm-pack#1446

Note that when I build rln-wasm locally from master, and link the resulting pkg, I don't get the error. However, I'm using an older version of wasm-pack:

[WARN]: ⚠️   There's a newer version of wasm-pack available, the new version is: 0.13.1, you are using: 0.12.1. To update, navigate to: https://rustwasm.github.io/wasm-pack/installer/

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