1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Rename effective gas price field to total gas fee (#11754)

This commit is contained in:
Dan J Miller 2021-08-04 10:52:54 -02:30 committed by GitHub
parent a4dda7d79e
commit 1acbb39dff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -2539,12 +2539,12 @@
"transactionHistoryBaseFee": { "transactionHistoryBaseFee": {
"message": "Base fee (GWEI)" "message": "Base fee (GWEI)"
}, },
"transactionHistoryEffectiveGasPrice": {
"message": "Effective gas price"
},
"transactionHistoryPriorityFee": { "transactionHistoryPriorityFee": {
"message": "Priority fee (GWEI)" "message": "Priority fee (GWEI)"
}, },
"transactionHistoryTotalGasFee": {
"message": "Total Gas Fee"
},
"transactionResubmitted": { "transactionResubmitted": {
"message": "Transaction resubmitted with gas fee increased to $1 at $2" "message": "Transaction resubmitted with gas fee increased to $1 at $2"
}, },

View File

@ -149,9 +149,7 @@ export default class TransactionBreakdown extends PureComponent {
</TransactionBreakdownRow> </TransactionBreakdownRow>
)} )}
{isEIP1559Transaction && ( {isEIP1559Transaction && (
<TransactionBreakdownRow <TransactionBreakdownRow title={t('transactionHistoryTotalGasFee')}>
title={t('transactionHistoryEffectiveGasPrice')}
>
<UserPreferencedCurrencyDisplay <UserPreferencedCurrencyDisplay
className="transaction-breakdown__value" className="transaction-breakdown__value"
data-testid="transaction-breakdown__effective-gas-price" data-testid="transaction-breakdown__effective-gas-price"