Skip to content
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

Prevent transaction confirmation if estimated gas limit is zero #20259

Closed
onyb opened this issue Dec 29, 2021 · 1 comment · Fixed by brave/brave-core#12044
Closed

Prevent transaction confirmation if estimated gas limit is zero #20259

onyb opened this issue Dec 29, 2021 · 1 comment · Fixed by brave/brave-core#12044
Assignees
Labels
feature/web3/wallet Integrating Ethereum+ wallet support front-end-change This task is a front end task and doesn't need any C++ changes OS/Desktop QA/No release-notes/include

Comments

@onyb
Copy link
Member

onyb commented Dec 29, 2021

If the gas limit is zero, we should disable the "Confirm" button with an error that indicates the user that there's something wrong with the gas estimation and they should manually specify a value.

⚠️ This is a safety mechanism to prevent issues with signing/broadcasting transactions. Since it can occur very rarely and cannot be reproduced easily, I've added the QA/No label.

@kyoobey
Copy link

kyoobey commented Apr 26, 2023

how can i opt out ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/web3/wallet Integrating Ethereum+ wallet support front-end-change This task is a front end task and doesn't need any C++ changes OS/Desktop QA/No release-notes/include
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants