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

Dapp Approve Screen - avoid showing errors of fee estimation #1457

Closed
LuizAsFight opened this issue Sep 6, 2024 · 0 comments · Fixed by #1479
Closed

Dapp Approve Screen - avoid showing errors of fee estimation #1457

LuizAsFight opened this issue Sep 6, 2024 · 0 comments · Fixed by #1479
Assignees

Comments

@LuizAsFight
Copy link
Contributor

LuizAsFight commented Sep 6, 2024

this errors mainly started to happen after we included fee calculation/customization on approval screen

one possible solution to it is to handle the estimation inside a try {} catch {} , and in case it fails, use the gasLimit / maxFee that was already in the transaction request, avoiding to break the flow


How to reproduce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants