Whymarrh Whitby
c9f22916dd
Rework estimateGas logic
...
The tests still pass!
6 years ago
Whymarrh Whitby
918fb71df3
Update gas when hex data changes on send screen
6 years ago
Dan
b3d78ed8a1
Remove send_ directory, revert to just having send
...
Revert accidentally changed constants.
Require defaults in ens-input, gas-fee-display and confirm screens.
6 years ago
Alexander Tseung
ea9d51e427
Refactor and redesign confirm transaction views
6 years ago
Dan
0796fc58e4
Improve send token error ux.
6 years ago
trejgun
491f2d03cf
move removeLeadingZeroes to utils, add test
6 years ago
Dan
696d626133
Set based estimate for token sends to be updated once recipient address specified.
6 years ago
Dan
ac7c0277b5
On send screen amount change, updateGas call now includes current to address.
6 years ago
Dan
70abe54c94
Send screen returns simple gas cost if no to address specified when not sending token.
6 years ago
Alexander Tseung
5685c4bafe
Estimate gas limit when the token amount changes. Fix amount input
6 years ago
Dan
e4d3bdba12
Update send.utils.js estimateGas tests.
6 years ago
Dan
b9b6cbf561
Add a buffer to new ui gas estimates
6 years ago
Alexander Tseung
1b9ed23752
Add hex-prefix to gas estimate result
6 years ago
Dan
ada59054c9
Simplify recipient code check in send.utils estimateGas
7 years ago
Dan
1b879f45bc
Fix calculation of data property for gas estimation on token transfers.
7 years ago
Dan
1bde2892ec
Improve efficiency of estimateGasPriceFromRecentBlocks
7 years ago
Dan
5a842e440f
Gas estimation uses block gas limit as fallback if query.estimateGas returns an expected error.
7 years ago
Dan
0f20fce9b7
Auto update gas estimate when to changes.
7 years ago
Dan
4f0b4eef50
Estimate gas using same algorithm as backend.
7 years ago
Dan
166fda5877
Simplify gas estimate actions and add local estimateGasPriceFromRecentBlocks method.
7 years ago
Dan
17909465f2
getParamsForGasEstimate extracts symbol from token instead of just accepting symbol.
7 years ago
Dan
6d8344d0d0
Update amount error on update of send screen.
7 years ago
Dan
5347319dff
Fix setting of token balance on account switch in send screen from field.
7 years ago
Dan
7c49009854
Unit tests for containers, utils and selectors in send_/
7 years ago
Dan
4a8c3194c2
Use constants for send screen errors messages.
7 years ago
Dan
26f965bcce
Further refactors; includes refactor of send-v2.js and associated container
7 years ago
Dan
91c201aa72
Lint fixes and alphabetization for i3725-refactor-send-component
7 years ago
Dan
8ff7806f1b
Core of the refactor complete
7 years ago
Dan
284dd85a99
first commit
7 years ago
Dan Finlay
05080d1c50
Fix UI Dev Mode for Tx Approval
...
The state object had been changed, but our mock states for tx approval were using the old keys.
Rather than try to muck about and figure out each and every change, I've re-generated a UI dev state for tx approval, which should help @zanibas on his current project.
We can continue adding new dev states as needed from here. If anyone catches a state that doesn't render correctly, it's worth checking if a new snapshot doesn't solve things.
Debugged by adding new debugging loggers, and I've left them in place for easier future debugging.
8 years ago