Whymarrh Whitby
b7259e5d6a
Fix radix issues ( #9247 )
...
See [`radix`](https://eslint.org/docs/rules/radix ) for more information.
This change enables `radix` and fixes the issues raised by the rule.
4 years ago
Erik Marks
0470386326
Delete recent blocks controller ( #8575 )
...
* delete recent blocks controller
* delete percentile from direct dependencies
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Dan J Miller
4ed452e6ed
Fix e2e tests and gas default ( #7267 )
...
* Add extra delay after second send3eth.click() in the 'adds multiple transactions' test
* Remove use of ARBITRARY_HIGH_BLOCK_GAS_LIMIT as fallback
5 years ago
Dan J Miller
b884cd573c
Ensure correct tx category when sending to contracts without tx data ( #7252 )
...
* Ensure correct transaction category when sending to contracts but there is no txParams data
* Update gas when pasting address in send
* Gracefully fall back is send.util/estimateGas when blockGasLimit from background is falsy
* Remove network request frontend fallback for blockGasLimit
* Add some needed slow downs to e2e tests
5 years ago
Dan J Miller
1a0b0ce7c7
Fix e2e tests and gas default ( #7267 )
...
* Add extra delay after second send3eth.click() in the 'adds multiple transactions' test
* Remove use of ARBITRARY_HIGH_BLOCK_GAS_LIMIT as fallback
5 years ago
Dan J Miller
38df64783d
Ensure correct tx category when sending to contracts without tx data ( #7252 )
...
* Ensure correct transaction category when sending to contracts but there is no txParams data
* Update gas when pasting address in send
* Gracefully fall back is send.util/estimateGas when blockGasLimit from background is falsy
* Remove network request frontend fallback for blockGasLimit
* Add some needed slow downs to e2e tests
5 years ago
Chi Kei Chan
931aaeb700
Add token selection to the send screen ( #6445 )
...
* Move send to pages/
* Fix unit tests
* Finish UI
* Integrate asset dropdown to send actions
* Remove console.log
* Hide asset change during edit
* Enable switch from send token to seand eth
* Enable switching from token to eth when editing
* Fix linter
* Fixing test
* Fix unit tests
* Fix linter
* Fix react warning; remove console.log
* fix flat test
* Add metrics
* Address code review comments
* Consistent spacing between send screen form rows.
* Reduce height of gas buttons on send screen.
* Make send screen gas button height dependent on size of contents.
6 years ago
Chi Kei Chan
31175625b4
Folder restructure ( #6304 )
...
* Remove ui/app/keychains/
* Remove ui/app/img/ (unused images)
* Move conversion-util to helpers/utils/
* Move token-util to helpers/utils/
* Move /helpers/*.js inside /helpers/utils/
* Move util tests inside /helpers/utils/
* Renameand move confirm-transaction/util.js to helpers/utils/
* Move higher-order-components to helpers/higher-order-components/
* Move infura-conversion.json to helpers/constants/
* Move all utility functions to helpers/utils/
* Move pages directory to top-level
* Move all constants to helpers/constants/
* Move metametrics inside helpers/
* Move app and root inside pages/
* Move routes inside helpers/
* Re-organize ducks/
* Move reducers to ducks/
* Move selectors inside selectors/
* Move test out of test folder
* Move action, reducer, store inside store/
* Move ui components inside ui/
* Move UI components inside ui/
* Move connected components inside components/app/
* Move i18n-helper inside helpers/
* Fix unit tests
* Fix unit test
* Move pages components
* Rename routes component
* Move reducers to ducks/index
* Fix bad path in unit test
6 years ago
Jonathan Smirnoff
8dddf48904
Fixed issue #5838 ( #6001 )
...
Update changelog file
6 years ago
Esteban Miño
1d93d9a385
Prevent send to token ( #6051 )
...
* check contact metadata
* check for tokens in state
* tests
* update tests
* validation only if sending tokens
* container test
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
Dan
696d626133
Set based estimate for token sends to be updated once recipient address specified.
6 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
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
7 years ago
Dan
4a8c3194c2
Use constants for send screen errors messages.
7 years ago
Dan
8ff7806f1b
Core of the refactor complete
7 years ago
Dan
9ced63584b
Add constanst for token transfer function signature.
7 years ago
Dan Finlay
c6713e93ad
Fix bug where gas param was not a string
...
Prevented sending transactions.
Fixes #2598
7 years ago
Dan
716bbf67d7
Set gas price allows for WEI precision.
7 years ago
Dan
5a94775b3f
Lint fixes for NewUI-flat.
7 years ago
Dan
220da24f9a
Change min gas price to 0.1 GWEI
7 years ago
Dan
e737a9565a
Improve customize gas modal error handling
7 years ago
Dan
c2880c4b8f
Min and default gas price, limit, total; comments out code for gas slider.
7 years ago
Dan
59015cccef
Min and default gas price, limit, total; comments out code for gas slider.
7 years ago