-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Gas - gasLimit
value passed from a dapp cannot be changed and if small, no UI feedback but button disabled
#21003
Comments
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions. |
This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions. |
This issue is still present |
gasLimit
value passed from a dapp cannot be changed and if small, no UI feedback but button disabledgasLimit
value passed from a dapp cannot be changed and if small, no UI feedback but button disabled
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions. |
We should make sure this warning is shown in this case and make sure the user is able to edit it. Maybe in the future we could automatically increase the gas limit to 21000? And just show a warning to tell the user that? |
The issue in not present in 12.10.0: Screen.Recording.2024-12-20.at.11.13.38.mov |
Describe the bug
Problem: whenever a dapp passes a
gasLimit
value, we can see 2 issues:gasLimit
is smaller than21000
the transaction is triggered but the Confirm button is always disabled. No warning is showed.gasLimit
will not be edited, instead the dapp value is preserved. Meaning that the Confirm button will continue to be disabled in the case of (1)Expected behavior
gasLimit
smaller than21000
(the smallest amount allowed) we should expect some feedback from the UI instead of just disable the Confirm button, so the user can understand what's going onScreenshots
gas-limit-dapp.mp4
Steps to reproduce
transferTokens
gas value to the following values:Error messages or log output
No response
Version
11.0.0 production
Build type
None
Browser
Chrome
Operating system
Linux
Hardware wallet
No response
Additional context
No response
Severity
No response
The text was updated successfully, but these errors were encountered: