MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.17k stars 1.12k forks source link

[Bug]: Attempts to send a transaction occasionally result in an error stating 'Cannot read property chainId of undefined' #12389

Open sleepytanya opened 12 hours ago

sleepytanya commented 12 hours ago

Describe the bug

Attempts to send a transaction occasionally result in an error stating Cannot read property chainId of undefined on Android device. This error does not appear to be consistently triggered by specific actions but still can be easily reproduced, present on all Popular networks

I have seen this error in the develop on iOS as well but in RC can't reproduce it https://github.com/MetaMask/metamask-mobile/pull/12321#issuecomment-2486016571

Expected behavior

Screenshots/Recordings

https://github.com/user-attachments/assets/8bc72682-d27f-4fd9-a0e1-26da7fb61186

Steps to reproduce

  1. Start a transaction on any network

Error messages or log output

No response

Detection stage

During release testing

Version

7.36.0 (1501)

Build type

None

Device

Samsung S24+, iPhone 15

Operating system

iOS, Android

Additional context

No response

Severity

No response