Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

BigNumber undefined #104

@saugion

Description

@saugion

I receive the following error when I build my application:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'from')

It comes from
exports.DEFAULT_VERIFICATION_GAS_LIMIT = ethers_1.ethers.BigNumber.from(70000);
in builder.js

userop version is 0.3.3, ethers is 6.7.1, the latest.

Also constants like ethers.constants.ZeroAddress, ethers.constants.Zero, ethers.utils.hexlify , ethers_1.ethers.providers.JsonRpcProvider are not present in the latest ethers version.

I've also tried different versions but the issue persists. Could it be a conflict with other libraries? Thanks

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