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
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
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
Whymarrh Whitby
af43b7d6c9
Ensure that new transactions added are using the selected address
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
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
brunobar79
286bde606f
fix merge conflicts
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
Esteban MIno
009b1cefbe
keyring unlocked detect and unit tests
6 years ago
Esteban MIno
3b97d816ff
detect tokens when submit password and new account selected
6 years ago
brunobar79
e89350b19f
added tests for removeAccount
6 years ago
brunobar79
de4265c629
added more unit tests
6 years ago
brunobar79
e5512c306d
added unit tests for metamaskcontroller
6 years ago
brunobar79
41879a9835
added test for preferences controller
6 years ago
Esteban MIno
2fffe09873
detect tokens through infura
6 years ago
Esteban MIno
910713c6b3
improve tests
6 years ago
frankiebee
b30499886f
test - check that #setTxStatusRejected removes transaction from history
7 years ago
kumavis
fa02a6c7c6
test - unit - remove tests for obsolete methods
7 years ago
Esteban MIno
63b9c8796b
fix lint
7 years ago
brunobar79
4b398701c1
fix unit tests
7 years ago
brunobar79
c734e486a0
fix tests
7 years ago
brunobar79
0da41263ac
fix warning for unit tests
7 years ago
brunobar79
a8f745f9fe
eslint --fix .
7 years ago
Esteban MIno
6284e66481
tests for spec
7 years ago
frankiebee
94a4f99115
tests - fix cancle transaction test to better fit new behavior
7 years ago