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]: Error Message: getMinimumGasTotalInHexWei expects either gasPrice OR the EIP-1559 gas fields, but neither were provided #24263
Comments
I was able to consistently reproduce this issue for some time by going through the send flow on Scroll network and also on Polygon skEVM on v11.14.1 Observations (in case they are useful):
Screen.Recording.2024-04-26.at.14.40.52.mov |
Thanks @bschorchit for the helpful insights! Made a bit more progress on this with this info. I was able to reproduce the issue by adding the Scroll Sepholia Testnet (see: https://docs.scroll.io/en/user-guide/setup/), then using our test dapp > Send Eth > Send Investigation update: when the error occurs, in the selectors/confirm-transaction#transactionFeeSelector, the gasEstimateType is "fee-market" which breaks without adding any props to the gasEstimationObject. When it works in the same flow it has been "eth_gasPrice"
|
…arket" (#24287) ## **Description** See Issue #24263 for investigation details This will be a hotfix targeting v11.14.3 ## **Related issues** Fixes: #24263 ## **Manual testing steps** One way to repro is by adding the Scroll Sepholia Testnet (see: https://docs.scroll.io/en/user-guide/setup/), then using our test dapp > Send Eth > Send For other repro methods, please refer to the related issue ticket ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
…arket" (#24287) ## **Description** See Issue #24263 for investigation details This will be a hotfix targeting v11.14.3 ## **Related issues** Fixes: #24263 ## **Manual testing steps** One way to repro is by adding the Scroll Sepholia Testnet (see: https://docs.scroll.io/en/user-guide/setup/), then using our test dapp > Send Eth > Send For other repro methods, please refer to the related issue ticket ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
…arket" (#24287) ## **Description** See Issue #24263 for investigation details This will be a hotfix targeting v11.14.3 ## **Related issues** Fixes: #24263 ## **Manual testing steps** One way to repro is by adding the Scroll Sepholia Testnet (see: https://docs.scroll.io/en/user-guide/setup/), then using our test dapp > Send Eth > Send For other repro methods, please refer to the related issue ticket ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
Describe the bug
Multiple users are experiencing an error with getMinimumGasTotalInHexWei when attempting to issue a transaction from a variety of networks.
@anaamolnar
Related Links:
Current Investigation Findings:
it appears the issue is related to an incomplete formation of the gasEstimationObject created in core/transaction-controller#transactionFeeSelector
/ui/selectors/confirm-transaction.js#L293 - transactionFeeSelector:
/shared/modules/gas.utils.js#L76 - getMinimumGasTotalInHexWei:
@danjm
Expected behavior
No response
Screenshots/Recordings
Steps to reproduce
From a report:
From another report:
I tried to deposit Metis on Metis network by a use of AAVE Defi app
The URL is as follows: https://app.aave.com/?marketName=proto_metis_v3
The steps are just click on the URL above, connect MetaMask and try to deposit Metis. Click the button Supply.
However, they said they could no longer reproduce it the next day
Error messages or log output
Version
11.14.0
Build type
None
Browser
Other (please elaborate in the "Additional Context" section)
Operating system
Other (please elaborate in the "Additional Context" section)
Hardware wallet
No response
Additional context
No response
Severity
No response
The text was updated successfully, but these errors were encountered: