metamask-mobile
metamask-mobile copied to clipboard
Metamask Mobile cannot process transactions with gas limit outside 20999-7920027 causing an issue for non-Ethereum networks
Describe the bug Metamask Mobile cannot process transactions with gas limit outside 20999-7920027 Exact message: "Gas limit must be greater than 20999 and less than 7290027" As a result on chains other than ETH when using a custom RPC, sometimes this limitation causes issues.
E.g. Purchasing 80 PancakeSwap lottery tickets throws this error. BSC has 60mm block gas limit, ethereum has 14?mm. As such, it does not make sense for this error/restriction/limitation to exist outside of the ethereum networks.
Screenshots

To Reproduce Steps to reproduce the behavior
- Switch to BSC network on Metamask Mobile
- Visit pancakeswap.finance/lottery in the browser
- Purchase 80 lottery tickets in one transaction
- See error
Expected behavior There would be no upper (or lower) limit to the transaction gas limit on the wallet side.
Smartphone (please complete the following information): irrelevant.
to be added after bug submission by internal support / PM Severity
- How critical is the impact of this bug on a user?
- Add stats if available on % of customers impacted
- Is this visible to all users?
- Is this tech debt?
Related #2896
This issue was closed because it has been stalled for 7 days with no activity. If you feel this was closed in error please reopen and provide evidence on the current production app. Thank you for your contributions.