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
2018-11-14 11:34:07 -10:00
Paul Bouchon
0549782595
Update Balanc3 API ( #5744 )
...
* Update balanc3 API used in TokenRatesController
* Remove demo URL and use nativeCurrency when fetching token rates
2018-11-13 14:57:43 -05:00
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
2018-11-05 15:07:09 -08:00
Esteban Miño
4489a57f2f
Update watchAsset ERC20 validation ( #5653 )
...
* update ERC20 token valodation for watchAsset
* update ERC20 validation test descriptions
2018-11-05 15:36:34 -03:30
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
2018-10-26 10:26:43 +02:00
kumavis
b0c649a4e3
Merge pull request #5555 from MetaMask/support-wallet-watch-asset
...
Support for prefix wallet_watchAsset
2018-10-21 01:27:08 -04:00
Esteban Miño
7c4f98ffd6
specific add and remove methods for frequentRpcList ( #5554 )
2018-10-19 17:50:54 -02:30
Esteban MIno
75661673e5
add support for wallet_watchAsset
2018-10-19 13:57:11 -03:00
Whymarrh Whitby
af43b7d6c9
Ensure that new transactions added are using the selected address
2018-10-10 16:16:20 -02:30
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
2018-10-04 18:38:05 -02:30
Whymarrh Whitby
4dd6c8168f
Add ability to whitelist a blacklisted domain at runtime
2018-10-02 10:43:46 -02:30
bitpshr
36dd0354e7
Implement latest EIP-712 protocol
2018-09-13 15:40:57 -04:00
Whymarrh Whitby
13bc46d824
Default NoticeController ctor opts to empty obj
2018-09-11 12:12:35 -07:00
Whymarrh Whitby
d60991ec88
Delete ConfigManager, replacing its usages with PreferencesController
2018-09-11 09:39:16 -07:00
Esteban MIno
e743f44150
fix conflicts
2018-08-28 15:20:30 -03:00
Esteban MIno
3106374cc3
watchAsset small changes
2018-08-27 22:10:14 -03:00
Esteban MIno
b59a1e91b8
typo watchAsset imageUrl to image
2018-08-23 15:54:40 -03:00
Whymarrh Whitby
e803b8e047
Add test cases for MetaMaskController#_onKeyringControllerUpdate
2018-08-22 15:38:34 -02:30
Esteban MIno
4e6c71e969
Merge branch 'develop' into WatchTokenFeature
2018-08-21 20:14:49 -03:00
Esteban MIno
6ccf2811e7
unit tests for watchAsset
2018-08-21 19:17:57 -03:00
brunobar79
54021fd90b
fix unit tests
2018-08-21 00:09:54 -04:00
Bruno Barbieri
bd904c86f6
Merge branch 'develop' into ledger-support
2018-08-17 13:45:46 -04:00
brunobar79
992e7f1b5a
fix merge conflicts
2018-08-17 12:56:07 -04:00
Dan Matthews
df799d7fd6
Restores accounts until one with a zero balance is found
2018-08-17 10:26:47 -04:00
brunobar79
fdf202efb0
fixed unit tests
2018-08-14 21:19:01 -04:00
Thomas
ce645561fb
Remove commented out code for detect-token-test
2018-08-14 12:29:57 -07:00
Thomas
96d789d2cf
Merge branch 'develop' into network-remove-provider-engine
...
Override package-lock and fix merge conflicts
2018-08-14 10:44:42 -07:00
brunobar79
b77cc3d969
fix tx tests
2018-08-14 03:42:23 -04:00
Thomas Huang
2392e77cd8
Set metamask controller network provider to localhost
2018-07-30 20:18:01 -07:00
Esteban MIno
fbcba8f019
create tokens storage when setadresses
2018-07-30 19:09:17 -04:00
Thomas
fb5e357998
Detect Tokens are weird
2018-07-30 06:26:34 -07:00
Esteban MIno
dd6a725e6d
unit tests for tokens per account and network
2018-07-27 17:41:47 -04:00
Esteban MIno
f79a249bcc
modify tests according to tokens by network
2018-07-26 20:04:57 -04:00
Thomas
138858647e
Merge branch 'develop' into network-remove-provider-engine
2018-07-25 22:38:44 -07:00
Esteban Miño
110efa9ec1
Merge branch 'develop' into detectTokenFeature
2018-07-20 20:09:37 -04:00
Esteban MIno
9c95554933
fix detection on submit password
2018-07-20 19:58:03 -04:00
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
2018-07-20 12:36:24 -04:00
Esteban MIno
009b1cefbe
keyring unlocked detect and unit tests
2018-07-19 19:46:46 -04:00
Esteban MIno
3b97d816ff
detect tokens when submit password and new account selected
2018-07-19 15:56:38 -04:00
brunobar79
e89350b19f
added tests for removeAccount
2018-07-17 01:44:28 -04:00
brunobar79
de4265c629
added more unit tests
2018-07-17 01:17:18 -04:00
brunobar79
e5512c306d
added unit tests for metamaskcontroller
2018-07-16 19:36:08 -04:00
brunobar79
41879a9835
added test for preferences controller
2018-07-16 16:08:19 -04:00
Esteban MIno
2fffe09873
detect tokens through infura
2018-07-12 20:43:43 -04:00
Esteban MIno
910713c6b3
improve tests
2018-07-11 15:59:05 -04:00
frankiebee
b30499886f
test - check that #setTxStatusRejected removes transaction from history
2018-07-10 15:35:27 -07:00
frankiebee
28c509914b
Merge branch 'develop' of https://github.com/MetaMask/metamask-extension into i#3896
2018-07-10 11:32:05 -07:00
kumavis
fa02a6c7c6
test - unit - remove tests for obsolete methods
2018-07-03 13:56:18 -07:00
kumavis
77daed5c74
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-07-03 12:42:14 -07:00
Esteban MIno
63b9c8796b
fix lint
2018-07-03 15:24:23 -04:00
Esteban MIno
0494b2fc8a
Merge branch 'develop' into detectTokenFeature
2018-07-03 13:23:15 -04:00
brunobar79
4b398701c1
fix unit tests
2018-07-02 21:03:34 -04:00
brunobar79
c734e486a0
fix tests
2018-07-02 20:21:27 -04:00
brunobar79
0da41263ac
fix warning for unit tests
2018-07-02 20:12:50 -04:00
brunobar79
a8f745f9fe
eslint --fix .
2018-07-02 18:49:33 -04:00
kumavis
a89902c170
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-07-02 13:54:05 -07:00
Esteban MIno
6284e66481
tests for spec
2018-06-27 22:18:06 -04:00
frankiebee
94a4f99115
tests - fix cancle transaction test to better fit new behavior
2018-06-26 12:21:50 -07:00
frankiebee
7b1f57e05d
woops - remove .only
...
Co-authored-by: @jennypollack
2018-06-25 15:18:01 -07:00
frankiebee
9b92ba4c47
trandsactions - remove rejected transactions from history
2018-06-25 15:07:54 -07:00
kumavis
44a8e48a04
notices - replace getLatestNotice with getNextNotice
2018-06-13 23:30:31 -07:00
kumavis
2198276bd5
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-06-06 12:05:38 -07:00
Thomas Huang
1fb408f62e
Merge pull request #4512 from MetaMask/test-metamask-no-diagnostics
...
test - metamask-controller - disable diagnostics
2018-06-06 11:54:59 -07:00
kumavis
d30f03dcbf
Merge pull request #4414 from scsaba/recipient-blacklist
...
Disallow sending to ganache default accounts on main net
2018-06-06 11:54:01 -07:00
kumavis
9d77b0a196
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-06-06 11:08:29 -07:00
kumavis
da938ded5c
test - metamask-controller - disable diagnostics
2018-06-05 13:31:34 -07:00
kumavis
20bdba3d17
diagnostics - rewrite bug-notifier as diagnostics-reporter
2018-06-05 11:51:27 -07:00
Dan Finlay
ae156e1087
Mock notifier in test
2018-06-04 15:26:01 -07:00
Dan Finlay
797e63b37b
Add failing test for unknown identity entry
2018-06-04 13:28:46 -07:00
Csaba Solya
1dda0c6469
remove generating blocked accounts and use a config file instead
2018-05-30 21:15:59 +02:00
Csaba Solya
cf73581c0e
adding tests for recipient blacklist checker
2018-05-30 17:38:27 +02:00
Csaba Solya
6affd8f949
adding transaction controller tests
2018-05-30 16:24:40 +02:00
kumavis
32293a959c
test - unit - tx-controller - fix blockTracker stub
2018-05-29 01:08:55 -07:00
kumavis
31f47a7a42
test - unit - pending-tx-tracker - update method name
2018-05-28 16:00:35 -07:00
kumavis
686d5cf825
test - unit - nonce-tracker - fix blockTracker stub
2018-05-28 15:59:34 -07:00
kumavis
5be154ea20
controllers - transactions - merge @frankiebee's work with mine
2018-05-28 14:29:31 -07:00
kumavis
a0fe5b9190
test - unit - metamask-controller - remove log
2018-05-25 11:09:19 -07:00
kumavis
deab195772
test - unit - code style nitpick
2018-05-24 23:19:54 -07:00
kumavis
da5be0812a
test - unit - metamask-controller - fix many bugs in tests
2018-05-24 23:19:39 -07:00
kumavis
afdefc58e9
test - unit - tx-controller-test - add history object to txMeta when using internal calls
2018-05-24 22:41:09 -07:00
kumavis
630e2300f4
test - unit - move fetch polyfill to helper
2018-05-24 22:10:17 -07:00
kumavis
380964a687
test - unit - metamask-controller - polyfill global.fetch
2018-05-24 21:17:56 -07:00
kumavis
2b54d948da
test - remove .only from unit tests
2018-05-24 15:53:06 -07:00
frankiebee
61caee9d94
Merge branch 'network-remove-provider-engine' of https://github.com/MetaMask/metamask-extension into transactions-use-new-block-tracker
2018-05-22 16:45:20 -07:00
kumavis
3a80f3dd83
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-05-22 13:20:04 -07:00
tmashuang
238f2eb179
Merge branch 'develop' into testing
2018-05-21 16:36:48 -07:00
tmashuang
58b9afff4f
Merge branch 'develop' into testing
2018-05-21 14:57:57 -07:00
tmashuang
13ebb0b455
Moved loose some loose test files to sub folders
2018-05-21 05:59:26 -07:00