mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
EIP-1559 - Ensure gas limit is of minimum value (#11702)
This commit is contained in:
parent
39823b3800
commit
9c0e34b264
@ -35,8 +35,8 @@ export default function AdvancedGasControls({
|
||||
maxPriorityFeeFiat,
|
||||
maxFeeFiat,
|
||||
gasErrors,
|
||||
minimumGasLimit = 21000,
|
||||
networkSupportsEIP1559,
|
||||
minimumGasLimit,
|
||||
}) {
|
||||
const t = useContext(I18nContext);
|
||||
const networkSupports1559 = useSelector(isEIP1559Network);
|
||||
|
@ -5,7 +5,7 @@ import { isEIP1559Network } from '../../../ducks/metamask/metamask';
|
||||
import { useGasFeeInputs } from '../../../hooks/useGasFeeInputs';
|
||||
import { useShouldAnimateGasEstimations } from '../../../hooks/useShouldAnimateGasEstimations';
|
||||
|
||||
import { EDIT_GAS_MODES } from '../../../../shared/constants/gas';
|
||||
import { EDIT_GAS_MODES, GAS_LIMITS } from '../../../../shared/constants/gas';
|
||||
|
||||
import {
|
||||
decGWEIToHexWEI,
|
||||
@ -37,7 +37,7 @@ export default function EditGasPopover({
|
||||
transaction,
|
||||
mode,
|
||||
onClose,
|
||||
minimumGasLimit,
|
||||
minimumGasLimit = GAS_LIMITS.SIMPLE,
|
||||
}) {
|
||||
const t = useContext(I18nContext);
|
||||
const dispatch = useDispatch();
|
||||
|
Loading…
Reference in New Issue
Block a user