Dan J Miller
4c24555545
Save recent network balances in local storage ( #5843 )
...
* Use selector for state.metamask.accounts in all cases.
* Default to cached balance when selecting metamask accounts
* Adds the cached-balances controller
* Documentation and small codes fixes for #5843
Co-Authored-By: danjm <danjm.com@gmail.com>
6 years ago
Frankie
8198ec9ae1
Autofill gasPrice for retry attempts with either the recommended gasprice or a %10 bump ( #5786 )
...
* transactions - autofill gasPrice for retry attempts with either the recomened gasprice or a %10 bump
* lint
6 years ago
Dan Finlay
5956f8d260
Version 5.0.3 ( #5785 )
...
* Version 5.0.3
Includes a fix to the `version:bump` script that now correctly updates
the changelog header.
* Include inpage provider events
6 years ago
Alexander Tseung
4c87c05a02
Fix rounding issue when sending max tokens ( #5695 )
...
* Fix rounding issue when sending max tokens
* Ensure amount row shows exact amount of max tokens on send screen (#2 )
* Fix tests
* Change stored redux value from BigNumber to hex string. Fix TokenInput default value
6 years ago
Dan Finlay
fdea642e6d
Auto fail transactions that have been approved for over 12 hours ( #5765 )
...
* Auto fail transactions that have been approved for over 12 hours
Converts txs using a migration.
This migration uses a new helper function that generates tx-failing
migrations, and only requires a version, error message, and condition to
run on each transaction.
* Linted
* Only migrate approved txs to failed
* Cleanup
* Cleanup
* Small lint fixes
6 years ago
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
6 years ago
Frankie
ce147bf6d8
Tx controller now uses safe event emitter ( #5769 )
...
* transactions - use safe-event-emitter over events
* tests - pass a platform object on init with a noop showTransactionNotification
* test - fix for tx-state-history-helper trying to reduce an empty array
* deps - safe-event-emitter
* lint
6 years ago
Dan Finlay
22ba0b0c2d
Resubmit approved transactions on new block ( #5752 )
...
* Add beginning of test
* Resubmit approved transactions on new block
May fix #4343 and related issues, where an error could leave
transactions stranded in the approved state.
* Remove unused test
* Re-approve transactions when retrying approved
* Add retry approved test
* Include approved in pending tx count
* Fix getPendingTxs()
* Linted
* Only throw hash error in submitted state
* Only check submitted txs for block inclusion
* Fix test expectations
6 years ago
Paul Bouchon
0549782595
Update Balanc3 API ( #5744 )
...
* Update balanc3 API used in TokenRatesController
* Remove demo URL and use nativeCurrency when fetching token rates
6 years ago
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
6 years ago
Esteban Miño
4489a57f2f
Update watchAsset ERC20 validation ( #5653 )
...
* update ERC20 token valodation for watchAsset
* update ERC20 validation test descriptions
6 years ago
Thomas
f2fea8043e
Remove .only
6 years ago
Thomas
7607794851
Readable tests, and set nextUnreadNotice to null when CLEAR_NOTICES is dispatched
6 years ago
Thomas
611a61b7bc
Isolate variables to individual tests
6 years ago
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
6 years ago
Alexander Tseung
554f79c0e2
Fix blockies icons overriding contract map icons. Refactor Identicon component ( #5599 )
6 years ago
Esteban Miño
7c4f98ffd6
specific add and remove methods for frequentRpcList ( #5554 )
6 years ago
Esteban MIno
75661673e5
add support for wallet_watchAsset
6 years ago
Alexander Tseung
badebe017f
Adds toggle for primary currency ( #5421 )
...
* Add UnitInput component
* Add CurrencyInput component
* Add UserPreferencedCurrencyInput component
* Add UserPreferencedCurrencyDisplay component
* Add updatePreferences action
* Add styles for CurrencyInput, CurrencyDisplay, and UnitInput
* Update SettingsTab page with Primary Currency toggle
* Refactor currency displays and inputs to use UserPreferenced displays and inputs
* Add TokenInput component
* Add UserPreferencedTokenInput component
* Use TokenInput in the send screen
* Fix unit tests
* Fix e2e and integration tests
* Remove send/CurrencyDisplay component
* Replace diamond unicode character with Eth logo. Fix typos
6 years ago
Whymarrh Whitby
af43b7d6c9
Ensure that new transactions added are using the selected address
6 years ago
Thomas Huang
b45479934d
test - add actions unit tests ( #5369 )
...
* Actions.spec.js
* Error handling tests
* Lint
6 years ago
Thomas
be3f411a60
Reducers
6 years ago
Noel Yoo
ebdefe81a1
Refactor buffer constructor ( #5468 )
6 years ago
Noel Yoo
012f7ddd72
Fix typos ( #5471 )
6 years ago
Dan Finlay
c49d854b55
Increase suggested gas percentile to 65 ( #5359 )
...
* Increase suggested gas percentile to 65
I keep submitting transactions then waiting a long time. Apparently 50th percentile isn't enough.
* Update test for getGasPrice
6 years ago
Whymarrh Whitby
4dd6c8168f
Add ability to whitelist a blacklisted domain at runtime
6 years ago
tmashuang
a0a57c24fd
Some Ui tests
6 years ago
bitpshr
36dd0354e7
Implement latest EIP-712 protocol
6 years ago
Whymarrh Whitby
13bc46d824
Default NoticeController ctor opts to empty obj
6 years ago
Whymarrh Whitby
d60991ec88
Delete ConfigManager, replacing its usages with PreferencesController
6 years ago
Esteban MIno
3106374cc3
watchAsset small changes
6 years ago
Esteban MIno
b59a1e91b8
typo watchAsset imageUrl to image
6 years ago
Whymarrh Whitby
e803b8e047
Add test cases for MetaMaskController#_onKeyringControllerUpdate
6 years ago
Esteban MIno
6ccf2811e7
unit tests for watchAsset
6 years ago
brunobar79
54021fd90b
fix unit tests
6 years ago
brunobar79
992e7f1b5a
fix merge conflicts
6 years ago
Dan Matthews
df799d7fd6
Restores accounts until one with a zero balance is found
6 years ago
brunobar79
fdf202efb0
fixed unit tests
6 years ago
Thomas
ce645561fb
Remove commented out code for detect-token-test
6 years ago
brunobar79
b77cc3d969
fix tx tests
6 years ago
Esteban MIno
d263d60b4c
tests for migration 28
6 years ago
brunobar79
286bde606f
fix merge conflicts
6 years ago
Thomas Huang
5b3927fe5b
Lint
6 years ago
Thomas Huang
2392e77cd8
Set metamask controller network provider to localhost
6 years ago
Esteban MIno
fbcba8f019
create tokens storage when setadresses
6 years ago
Thomas
fb5e357998
Detect Tokens are weird
6 years ago
Esteban MIno
dd6a725e6d
unit tests for tokens per account and network
6 years ago
Esteban MIno
f79a249bcc
modify tests according to tokens by network
6 years ago
Esteban MIno
9c95554933
fix detection on submit password
6 years ago
Esteban Miño
cb045fd8fe
Auto-detect tokens #3034 ( #4683 )
...
* detect tokens polling
* network store to detect token
* tests for spec
* passtest-lint
* fix lint
* improve tests
* detect tokens through infura
* detect tokens when submit password and new account selected
* keyring unlocked detect and unit tests
* add changelog
6 years ago