Skip to content

Commit

Permalink
Merge pull request #24292 from MetaMask/Version-v11.14.3
Browse files Browse the repository at this point in the history
Version v11.14.3 - Hotfix getMinimumGasTotalInHexWei error when gasEstimateType === "fee_market"
  • Loading branch information
danjm authored Apr 29, 2024
2 parents 1101209 + e362d74 commit ee9c6a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [11.14.3]
### Fixed
- Fixed getMinimumGasTotalInHexWei error by updating the "fee_market" gasEstimateType logic ([#24287](https://github.com/MetaMask/metamask-extension/pull/24287))

## [11.14.2]
### Changed
- Update Blockaid to ensure user's have the latest protections ([#24171](https://github.com/MetaMask/metamask-extension/pull/24171))
Expand Down Expand Up @@ -4617,7 +4621,8 @@ Update styles and spacing on the critical error page ([#20350](https://github.c
- Added the ability to restore accounts from seed words.


[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v11.14.2...HEAD
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v11.14.3...HEAD
[11.14.3]: https://github.com/MetaMask/metamask-extension/compare/v11.14.2...v11.14.3
[11.14.2]: https://github.com/MetaMask/metamask-extension/compare/v11.14.1...v11.14.2
[11.14.1]: https://github.com/MetaMask/metamask-extension/compare/v11.14.0...v11.14.1
[11.14.0]: https://github.com/MetaMask/metamask-extension/compare/v11.13.3...v11.14.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metamask-crx",
"version": "11.14.2",
"version": "11.14.3",
"private": true,
"repository": {
"type": "git",
Expand Down
3 changes: 1 addition & 2 deletions ui/selectors/confirm-transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ export const transactionFeeSelector = function (state, txData) {
}
} else {
switch (gasEstimateType) {
case GasEstimateTypes.feeMarket:
case GasEstimateTypes.none:
gasEstimationObject.gasPrice = txData.txParams?.gasPrice ?? '0x0';
break;
Expand All @@ -265,8 +266,6 @@ export const transactionFeeSelector = function (state, txData) {
gasEstimationObject.gasPrice =
txData.txParams?.gasPrice ?? getAveragePriceEstimateInHexWEI(state);
break;
case GasEstimateTypes.feeMarket:
break;
default:
break;
}
Expand Down

0 comments on commit ee9c6a5

Please sign in to comment.