1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #11662 from MetaMask/Version-v9.8.4

Version v9.8.4 RC
This commit is contained in:
ryanml 2021-07-28 12:24:41 -07:00 committed by GitHub
commit f8998aed48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 6 deletions

View File

@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [9.8.4]
### Changed
- [#11652](https://github.com/MetaMask/metamask-extension/pull/11652): Allow higher precision gas prices in send flow
### Fixed
- [#11658](https://github.com/MetaMask/metamask-extension/pull/11658): Fixed incorrect gas limit estimates for send transactions
## [9.8.3] ## [9.8.3]
### Fixed ### Fixed
- [#11594](https://github.com/MetaMask/metamask-extension/pull/11594): Fixed ERC20 token maximum send - [#11594](https://github.com/MetaMask/metamask-extension/pull/11594): Fixed ERC20 token maximum send
@ -2349,7 +2356,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Uncategorized ### Uncategorized
- Added the ability to restore accounts from seed words. - Added the ability to restore accounts from seed words.
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v9.8.3...HEAD [Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v9.8.4...HEAD
[9.8.4]: https://github.com/MetaMask/metamask-extension/compare/v9.8.3...v9.8.4
[9.8.3]: https://github.com/MetaMask/metamask-extension/compare/v9.8.2...v9.8.3 [9.8.3]: https://github.com/MetaMask/metamask-extension/compare/v9.8.2...v9.8.3
[9.8.2]: https://github.com/MetaMask/metamask-extension/compare/v9.8.1...v9.8.2 [9.8.2]: https://github.com/MetaMask/metamask-extension/compare/v9.8.1...v9.8.2
[9.8.1]: https://github.com/MetaMask/metamask-extension/compare/v9.8.0...v9.8.1 [9.8.1]: https://github.com/MetaMask/metamask-extension/compare/v9.8.0...v9.8.1

View File

@ -1,6 +1,6 @@
{ {
"name": "metamask-crx", "name": "metamask-crx",
"version": "9.8.3", "version": "9.8.4",
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -95,6 +95,7 @@ export default class TransactionBreakdown extends PureComponent {
currency={nativeCurrency} currency={nativeCurrency}
denomination={GWEI} denomination={GWEI}
value={gasPrice} value={gasPrice}
numberOfDecimals={9}
hideLabel hideLabel
/> />
)} )}

View File

@ -198,7 +198,7 @@ describe('Gas Duck', () => {
{ {
type: SET_BASIC_GAS_ESTIMATE_DATA, type: SET_BASIC_GAS_ESTIMATE_DATA,
value: { value: {
average: 0.0482, average: 0.048199313,
}, },
}, },
]); ]);

View File

@ -173,7 +173,7 @@ async function fetchEthGasPriceEstimates(state) {
const gasPrice = await global.eth.gasPrice(); const gasPrice = await global.eth.gasPrice();
const averageGasPriceInDecGWEI = getValueFromWeiHex({ const averageGasPriceInDecGWEI = getValueFromWeiHex({
value: gasPrice.toString(16), value: gasPrice.toString(16),
numberOfDecimals: 4, numberOfDecimals: 9,
toDenomination: 'GWEI', toDenomination: 'GWEI',
}); });
const basicEstimates = { const basicEstimates = {

View File

@ -350,7 +350,7 @@ export const computeEstimatedGasLimit = createAsyncThunk(
if (send.stage !== SEND_STAGES.EDIT) { if (send.stage !== SEND_STAGES.EDIT) {
const gasLimit = await estimateGasLimitForSend({ const gasLimit = await estimateGasLimitForSend({
gasPrice: send.gas.gasPrice, gasPrice: send.gas.gasPrice,
blockGasLimit: metamask.blockGasLimit, blockGasLimit: metamask.currentBlockGasLimit,
selectedAddress: metamask.selectedAddress, selectedAddress: metamask.selectedAddress,
sendToken: send.asset.details, sendToken: send.asset.details,
to: send.recipient.address?.toLowerCase(), to: send.recipient.address?.toLowerCase(),
@ -425,7 +425,7 @@ export const initializeSendState = createAsyncThunk(
// required gas. If this value isn't nullish, set it as the new gasLimit // required gas. If this value isn't nullish, set it as the new gasLimit
const estimatedGasLimit = await estimateGasLimitForSend({ const estimatedGasLimit = await estimateGasLimitForSend({
gasPrice: getGasPriceInHexWei(basicEstimates.average), gasPrice: getGasPriceInHexWei(basicEstimates.average),
blockGasLimit: metamask.blockGasLimit, blockGasLimit: metamask.currentBlockGasLimit,
selectedAddress: fromAddress, selectedAddress: fromAddress,
sendToken: asset.details, sendToken: asset.details,
to: recipient.address.toLowerCase(), to: recipient.address.toLowerCase(),