Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-decker committed May 5, 2021
1 parent d9d759a commit 0aac00b
Show file tree
Hide file tree
Showing 24 changed files with 800 additions and 887 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ import {
import {
hideGasButtonGroup,
updateSendErrors,
setGasLimit,
setGasPrice,
updateSendAmount,
getTokenBalance,
getSendMaxModeState,
getSendToken,
getGasLimit,
getGasPrice,
getSendAmount,
updateGasLimit,
updateGasPrice,
} from '../../../../ducks/send';
import {
conversionRateSelector as getConversionRate,
Expand Down Expand Up @@ -199,8 +199,8 @@ const mapDispatchToProps = (dispatch) => {
updateCustomGasLimit: (newLimit) =>
dispatch(setCustomGasLimit(addHexPrefix(newLimit))),
setGasData: (newLimit, newPrice) => {
dispatch(setGasLimit(newLimit));
dispatch(setGasPrice(newPrice));
dispatch(updateGasLimit(newLimit));
dispatch(updateGasPrice(newPrice));
},
updateConfirmTxGasAndCalculate: (gasLimit, gasPrice, updatedTx) => {
updateCustomGasPrice(gasPrice);
Expand Down
3 changes: 2 additions & 1 deletion ui/ducks/gas/gas.duck.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const GAS_SOURCE = {
// Actions
const BASIC_GAS_ESTIMATE_STATUS = 'metamask/gas/BASIC_GAS_ESTIMATE_STATUS';
const RESET_CUSTOM_DATA = 'metamask/gas/RESET_CUSTOM_DATA';
const SET_BASIC_GAS_ESTIMATE_DATA = 'metamask/gas/SET_BASIC_GAS_ESTIMATE_DATA';
export const SET_BASIC_GAS_ESTIMATE_DATA =
'metamask/gas/SET_BASIC_GAS_ESTIMATE_DATA';
const SET_CUSTOM_GAS_LIMIT = 'metamask/gas/SET_CUSTOM_GAS_LIMIT';
const SET_CUSTOM_GAS_PRICE = 'metamask/gas/SET_CUSTOM_GAS_PRICE';
const SET_ESTIMATE_SOURCE = 'metamask/gas/SET_ESTIMATE_SOURCE';
Expand Down
Loading

0 comments on commit 0aac00b

Please sign in to comment.