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

feature/default_network_editable
Dan J Miller 3 years ago committed by GitHub
parent a4dda7d79e
commit 1acbb39dff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      app/_locales/en/messages.json
  2. 4
      ui/components/app/transaction-breakdown/transaction-breakdown.component.js

@ -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"
}, },

@ -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"

Loading…
Cancel
Save