mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
EIP-1559 - Provide tooltip text for all advanced gas controls (#11529)
This commit is contained in:
parent
1e1530e8e9
commit
c241d3150c
@ -650,15 +650,24 @@
|
|||||||
"editGasHigh": {
|
"editGasHigh": {
|
||||||
"message": "High"
|
"message": "High"
|
||||||
},
|
},
|
||||||
|
"editGasLimitTooltip": {
|
||||||
|
"message": "Gas limit is the maximum units of gas you are willing to use. Units of gas are a multiplier to “Max priority fee” and “Max fee”."
|
||||||
|
},
|
||||||
"editGasLow": {
|
"editGasLow": {
|
||||||
"message": "Low"
|
"message": "Low"
|
||||||
},
|
},
|
||||||
"editGasMaxFeeLow": {
|
"editGasMaxFeeLow": {
|
||||||
"message": "Max fee too low for network conditions"
|
"message": "Max fee too low for network conditions"
|
||||||
},
|
},
|
||||||
|
"editGasMaxFeeTooltip": {
|
||||||
|
"message": "The max fee is the most you’ll pay (base fee + priority fee)."
|
||||||
|
},
|
||||||
"editGasMaxPriorityFeeLow": {
|
"editGasMaxPriorityFeeLow": {
|
||||||
"message": "Max priority fee too low for network conditions"
|
"message": "Max priority fee too low for network conditions"
|
||||||
},
|
},
|
||||||
|
"editGasMaxPriorityFeeTooltip": {
|
||||||
|
"message": "Max priority fee (aka “miner tip”) goes directly to miners and incentivizes them to prioritize your transaction. You’ll most often pay your max setting"
|
||||||
|
},
|
||||||
"editGasMedium": {
|
"editGasMedium": {
|
||||||
"message": "Medium"
|
"message": "Medium"
|
||||||
},
|
},
|
||||||
|
@ -64,7 +64,7 @@ export default function AdvancedGasControls({
|
|||||||
<FormField
|
<FormField
|
||||||
titleText={t('gasLimit')}
|
titleText={t('gasLimit')}
|
||||||
onChange={setGasLimit}
|
onChange={setGasLimit}
|
||||||
tooltipText=""
|
tooltipText={t('editGasLimitTooltip')}
|
||||||
value={gasLimit}
|
value={gasLimit}
|
||||||
numeric
|
numeric
|
||||||
autoFocus
|
autoFocus
|
||||||
@ -74,7 +74,7 @@ export default function AdvancedGasControls({
|
|||||||
<FormField
|
<FormField
|
||||||
titleText={t('maxPriorityFee')}
|
titleText={t('maxPriorityFee')}
|
||||||
titleUnit="(GWEI)"
|
titleUnit="(GWEI)"
|
||||||
tooltipText=""
|
tooltipText={t('editGasMaxPriorityFeeTooltip')}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
setMaxPriorityFee(value);
|
setMaxPriorityFee(value);
|
||||||
onManualChange?.();
|
onManualChange?.();
|
||||||
@ -111,7 +111,7 @@ export default function AdvancedGasControls({
|
|||||||
<FormField
|
<FormField
|
||||||
titleText={t('maxFee')}
|
titleText={t('maxFee')}
|
||||||
titleUnit="(GWEI)"
|
titleUnit="(GWEI)"
|
||||||
tooltipText=""
|
tooltipText={t('editGasMaxFeeTooltip')}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
setMaxFee(value);
|
setMaxFee(value);
|
||||||
onManualChange?.();
|
onManualChange?.();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user