1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +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]
## [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]
### Fixed
- [#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
- 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.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

View File

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

View File

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

View File

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

View File

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

View File

@ -350,7 +350,7 @@ export const computeEstimatedGasLimit = createAsyncThunk(
if (send.stage !== SEND_STAGES.EDIT) {
const gasLimit = await estimateGasLimitForSend({
gasPrice: send.gas.gasPrice,
blockGasLimit: metamask.blockGasLimit,
blockGasLimit: metamask.currentBlockGasLimit,
selectedAddress: metamask.selectedAddress,
sendToken: send.asset.details,
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
const estimatedGasLimit = await estimateGasLimitForSend({
gasPrice: getGasPriceInHexWei(basicEstimates.average),
blockGasLimit: metamask.blockGasLimit,
blockGasLimit: metamask.currentBlockGasLimit,
selectedAddress: fromAddress,
sendToken: asset.details,
to: recipient.address.toLowerCase(),