Skip to content

Error when attempting to use buildPoseidon #2

@connorbode

Description

@connorbode

I'm currently encountering an error when building for the browser. The issue is present in 0.1.0 and 0.1.1, but downgrading to version 0.0.8 resolves the issue. Since I only need to generate a poseidon hash for the moment, I won't debug further but will log the issue in case others encounter something similar.

I am building circomlibjs for web using create-react-app. Unfortunately I do not know what underlying system bundles the JS for web.

I am using circomlibjs as follows:

const circomlibjs = require('circomlibjs')
circomlibjs.buildPoseidon()

The result is the following error:

image

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