Skip to content

[Bug]: Crash Metamask App when call (token) Approve/Enable Function #11129

@ZkSwapFinance

Description

@ZkSwapFinance

Describe the bug

After recent updates, the metamask application on the phone encountered a crash or error message: "Internal JSON-RPC error" when approving or enabling the function

Reproduce #1:

  1. Access to staking page: https://zkswap.finance/earn/staking
  2. Click the enable button on any staking pool
  3. After confirmation, Metamask shows an error or crash

Reproduce #2:

  1. Access to zkSwap Finance Swap page: https://zkswap.finance/swap)
  2. Choose a token and click enable button
  3. After confirmation, Metamask shows an error or crash

bug1

bug2.mov

Expected behavior

The function works normally like in the past

Screenshots/Recordings

bug1

bug2.mov

Steps to reproduce

Reproduce #1:

  1. Access to staking page: https://zkswap.finance/earn/staking
  2. Click the enable button on any staking pool
  3. After confirmation, Metamask shows an error or crash

Error messages or log output

Error message: "Internal JSON-RPC error"
Or Crash App

Detection stage

In production (default)

Version

7.29.2

Build type

None

Device

Mobile Both Android and Ios

Operating system

iOS, Android

Additional context

No response

Severity

It is highly critical because the app cannot be used.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions