Skip to content

Cannot convert sth to a BigInt #3769

@Ivan-dev-RED

Description

@Ivan-dev-RED

Check existing issues

Viem Version

2.30.0

Current Behavior

Error:

Cannot convert 0x54.f+4+3(8524861230553+b.1,b)0*a06*35b48,0*e)42a5c61*94c)2,d163f+6.b*0/1(c1e(f/5)d,6054861197805 to a BigInt

Expected Behavior

No error

Steps To Reproduce

import { generatePrivateKey } from "viem/accounts";

generatePrivateKey()

The error is here
Image

Link to Minimal Reproducible Example

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions