Commit Graph

94 Commits

Author SHA1 Message Date
Dan Finlay 0e25129028 Enforce retry tx at minimum gas of previous tx 2017-12-06 23:42:47 -05:00
Kevin Serrano b3b9e16ec0
Add clarifying comment about wei conversion. 2017-10-25 11:40:07 -07:00
Kevin Serrano 7f093f67a7
Cut out intermediary wei steps. 2017-10-25 11:38:32 -07:00
Kevin Serrano dee172fb3a
Remove unneeded toString conversions. 2017-10-25 11:36:12 -07:00
Kevin Serrano cb7d07ebae
Fix mismatched decimal/hex conversion in pending-tx 2017-10-25 11:32:38 -07:00
Kevin Serrano 242456ba6a
Resolve merge conflict. 2017-10-24 16:44:25 -07:00
Kevin Serrano 98d8275743
Fix for gas price to be lowered. 2017-10-24 16:43:03 -07:00
Dan Finlay 35ca7e83bd Reduce minimum gas price to 100 MWEI
Also now representing gas price in MWEI, because our current bn inputs actually aren't tolerant of minimums less than 1 unit.
2017-10-24 15:10:03 -07:00
Kevin Serrano 27c72ee565
Revert to normal balances. 2017-10-04 12:10:01 -07:00
Dan Finlay f9d2f523c6 Merge branch 'master' into AddBalanceController 2017-09-22 14:12:41 -07:00
Dan Finlay 0ba6493175 Use computed balance for tx confirmation 2017-09-13 14:31:48 -07:00
Kevin Serrano a22a2586ab
Haha silly me, only when gas is estimated and not explicit. 2017-09-13 13:24:16 -07:00
Kevin Serrano 6e725b123b
Lower warning threshold for high tx fee to account for fluctuating blockGasLimits 2017-09-13 12:22:08 -07:00
Kevin Serrano 06153dd47d
Add warning of higher failure risk since app proposed gasLimit. 2017-09-13 12:17:42 -07:00
Kevin Serrano 27ba7f6ed3
Show reject all only when tx count is > 1 2017-09-11 14:12:35 -07:00
Kevin Serrano 41e9904d9b
Convert icon to button. 2017-09-07 15:03:25 -07:00
Kevin Serrano 3a87a30912
Fold submit and buy ether into one button slot 2017-09-07 13:55:59 -07:00
Dan Finlay 51c5bebdf5 Lowered minimum gas price to 1 gwei 2017-07-19 11:44:00 -07:00
frankiebee 5e8b4e3226 change “ACCEPT” to “SUBMIT” 2017-06-29 12:06:22 -07:00
Kevin Serrano 9962a3068b
Change disabling button as state property. 2017-06-26 15:57:46 -07:00
Kevin Serrano 615b8d05a1
Prevent users from accidentally submitting two transactions by disabling button. 2017-06-26 15:47:53 -07:00
Dan Finlay 3e1d648ec0 Merge branch 'master' into gasupdater 2017-06-12 10:26:40 -07:00
Dan Finlay c8f0802a8e Fix bug that prevented publishing contracts 2017-06-05 15:35:52 -07:00
kumavis 95d20e9b76 Merge pull request #1545 from MetaMask/inValidAddressFix
Dissallow transactions to be sent to 0x000...
2017-06-05 13:11:20 -07:00
frankiebee 0f69a09823 Fix linting error 2017-06-05 12:22:02 -07:00
frankiebee 653319be10 move address check to util.isValidAddress 2017-06-05 12:09:19 -07:00
frankiebee 37fd32025f Fix punctuation 2017-06-05 12:00:01 -07:00
frankiebee bb6e41963d Dissallow transactions to be sent to 0x0000000000000000000000000000000000000000 2017-06-05 11:48:04 -07:00
Dan Finlay 773b36b0de Move address copying into reusable component
"copyable" component allows any elements to be wrapped to include:

- a tool tip that changes/debounces its label when clicked.
- a customizable copyable value.

Fixes #1539
2017-06-04 22:22:59 -07:00
Dan Finlay ec097c8e34 Add copy links to mini tx panels 2017-06-04 22:13:28 -07:00
Kevin Serrano 2b7d842498
Update gasblocklimit params with every block. 2017-06-02 15:18:14 -07:00
Kevin Serrano 51b5e2f6e7
Add max gas limit to UI 2017-05-24 16:18:37 -07:00
Kevin Serrano 9554788c14
Minor cleanup of lint 2017-05-24 11:02:58 -07:00
Kevin Serrano 10ca3b6467
Fix bug where submit was enabled when invalid params were filled out. 2017-05-24 10:13:43 -07:00
Kevin Serrano 31d17c9e25
Fix test, create new value for precision/scale 2017-05-23 14:26:37 -07:00
Kevin Serrano 717db41d0b
Modify test, replace clone package. 2017-05-17 14:18:01 -07:00
Kevin Serrano 90bfa3cbcd
Fix merge conflicts. 2017-05-16 16:28:57 -07:00
Kevin Serrano d8130f1eff
Fix reset button. 2017-05-16 16:20:58 -07:00
Kevin Serrano 53b8d18a5f
Complete transition into BN. 2017-05-16 15:30:22 -07:00
Dan Finlay b4e6ea9db7 Fix fiat rendering
Fixes #1439.

When reorganizing fiat-value component to not use global state, had missed its necessary `currentCurrency` parameter.

This now passes it in wherever it's used.
2017-05-16 11:36:21 -07:00
Dan Finlay fc7b4cb4bc Linted 2017-05-15 15:22:49 -07:00
Dan Finlay 75d9b5619c Verify updating gas value updates 2017-05-15 15:21:28 -07:00
Dan Finlay 4b341e6a95 Got test failing nearly correctly 2017-05-15 15:07:38 -07:00
Dan Finlay 19db11856b Remove redux dependency from eth-balance and its dependent tree
For better unit testability of the conf-tx view.
2017-05-12 12:44:51 -07:00
Dan Finlay d737bd1633 Break up pending-tx component for better unit testability 2017-05-10 17:26:09 -07:00
Kevin Serrano d61b587f30
Redefine txmeta when submitting. 2017-05-08 16:02:41 -07:00
Dan Finlay c7b2f2f2e9 Cleanup 2017-05-08 13:34:01 -07:00
Dan Finlay 80d8a4e73e Input gas in gwei
Also enforces "safe low gas" minimum recommended by this article by eth-gas-station:
https://medium.com/@ethgasstation/the-safe-low-gas-price-fb44fdc85b91

Fixes #1381
2017-05-07 16:51:57 -07:00
frankiebee 9ebc5ed33c make buy button green 2017-04-24 12:36:17 +02:00
Dan Finlay 81d3658343 Improve UI gas calculation logic
- Now striping hex prefixed gas values, which may have been causing mis-estimation.
- Unified calculation logic to be entirely functional.
- Greatly simplified how the pending-tx form keeps updated form state.

Still needs a commit from @kumavis to ensure the background passes in a txMeta.txParams.gasPrice value.
2017-03-28 11:52:15 -07:00