MetaMask / MetaMask/eth-sig-util

Cannot convert a BigInt value to a number

Open
#298 9 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
583
Forks
228
Avg merge
11h 22m
Merged PRs (30d)
7

Description

When I loaded the library I just got this error in a react app

```
import { recoverTypedSignature } from '@metamask/eth-sig-util';
```

I got this error when loading the page, the method is not even executed yet. any idea?

React version `18.2.0`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported recoverTypedSignature import in a minimal React 18.2.0 app and capture the full error and package version. Trace the library's published entry point and runtime assumptions; done means the import loads without the BigInt conversion error before the method is called.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.