-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Add gas control on token allowance #789
Labels
Comments
noticed this in the docs |
@stavares843 Thank you for your reply. That seems to work only for the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
The library I'm using to handle the contract interactions and token allowances does not make a correct calculation of gas in the local testnet. I noticed there's an option to set custom gas for Metamask transactions using Synpress, but not on token allowances.
Describe the solution you'd like
I'd like to be able to customize the gas to use on the
cy.confirmMetamaskPermissionToSpend()
function.Describe alternatives you've considered
I tried using the
cy.confirmMetamaskPermissionToSpend()
function to approve a token allowance, but that does not work.Another way to fix this could be by setting a global gas object for all of the transactions during the tests.
Additional context
I'm getting this error when trying to approve spending a token, and I have no way to increase the gas.
The text was updated successfully, but these errors were encountered: