kumavis
8a9d0073b1
Merge pull request #1848 from MetaMask/transactionControllerRefractor
...
Transaction controller refractor part 1: promises for everyone and more tests!
2017-08-02 19:57:16 -07:00
frankiebee
5ac4c2de6f
remove unused sinon
2017-08-02 19:11:51 -04:00
frankiebee
0808eb2256
fix test
2017-08-02 19:07:18 -04:00
frankiebee
b80c7e417b
move newUnapprovedTransaction to transactions.js
2017-08-02 18:59:34 -04:00
kumavis
8c6f01b910
blacklist controller - breakout from metamask and infura controllers
2017-08-02 15:54:59 -07:00
kumavis
ecaa235b5e
phishing detection - move phishing detection into contentscript and metamask controller
2017-08-02 14:26:10 -07:00
frankiebee
25cffd21f8
Merge branch 'master' into transactionControllerRefractor
2017-08-02 11:41:29 -04:00
frankiebee
21e76484d6
add test for addTxDefaults
2017-08-02 11:34:45 -04:00
frankiebee
432f516ab0
make addUnapprovedTransaction async function and use promise based ethQuery
2017-08-02 10:26:25 -04:00
kumavis
9eb13aee00
blacklist - add tests for metamask subdomains
2017-08-01 17:05:36 -07:00
kumavis
9d345e744d
blacklist - clearer test format
2017-08-01 16:58:40 -07:00
Dan Finlay
6675241fa9
Merge branch 'master' into i1805-LiveBlacklistUpdating
2017-07-26 16:46:59 -07:00
Kevin Serrano
6a9d40c558
Add test for blacklister.
2017-07-26 15:24:57 -07:00
kumavis
55a55141d0
nonce-tracker - fix test
2017-07-26 11:43:37 -07:00
kumavis
5ec73c0e65
tx cont - fix test to use async api
2017-07-25 14:39:17 -07:00
kumavis
4445ba1569
tx cont - add argument for provider constructor
2017-07-25 14:36:19 -07:00
Dan Finlay
614501e743
Fix transaction confirmation ordering
...
Newest tx or message will now always appear last, and a new tx proposed after the user has a confirmation box open will never change the confirmation to a different tx proposed.
Fixes #1637
2017-07-17 14:18:00 -07:00
tmashuang
a4c7d95d0d
Sinon stub infura network status
2017-07-14 13:06:42 -07:00
tmashuang
02cf65d513
Use Let instead of var
2017-07-14 11:50:41 -07:00
tmashuang
bda52f7cba
Infura Network response tests
2017-07-14 10:34:03 -07:00
frankiebee
7eccf5905a
make publishTransaction and signTransaction async methods
2017-07-13 15:25:43 -04:00
frankiebee
751103d948
Merge branch 'master' into nonce-tracker
2017-07-12 15:10:58 -07:00
frankiebee
aeefcbd75b
Fix test to match behavior
2017-07-12 15:10:52 -07:00
kumavis
23d44e5399
tests - disable infura test
2017-07-11 15:30:36 -07:00
frankiebee
971d25a8ab
Merge branch 'master' into nonce-tracker
2017-07-11 12:41:03 -07:00
Dan Finlay
c7b9e3fb18
Improve insufficient balance checking in retry loop
2017-07-11 12:19:01 -07:00
kumavis
f5de16c911
test - tx controller - fix promise handling
2017-07-07 14:32:03 -07:00
kumavis
ab8bae421e
test - tx-controller - stub block-tracker method
2017-07-07 14:26:52 -07:00
kumavis
d228f46254
Merge branch 'master' into nonce-tracker
2017-07-07 14:21:43 -07:00
Dan Finlay
07d4e4fe6f
Fix failing test
2017-07-05 23:24:33 -07:00
Dan Finlay
96df7ad8d3
Add missing done
2017-07-05 23:04:51 -07:00
Dan Finlay
ef1282b556
Typo fix
2017-07-05 22:48:11 -07:00
Dan Finlay
a915dfdeaa
Add failing test for retrying an over-spending tx
2017-07-05 22:36:52 -07:00
frankiebee
847a4282a2
Merge branch 'master' into nonce-tracker
2017-06-27 13:10:56 -07:00
frankiebee
42a2bcb132
remove option fetch
2017-06-22 14:06:20 -07:00
frankiebee
1ddcbaad5b
add done
and stub fetch
2017-06-22 13:47:20 -07:00
Kevin Serrano
199663c0a4
Add test for infura controller.
2017-06-22 12:51:53 -07:00
frankiebee
abbbe1156c
Merge branch 'master' into nonce-tracker
2017-06-21 19:52:28 -07:00
frankiebee
92df9965eb
fix nonceTracker
2017-06-21 19:51:00 -07:00
frankiebee
fa8c74fe9b
add a test for #getNonceLock
2017-06-21 17:28:19 -07:00
Thomas Huang
88844946fe
Remove second linting script for tests
2017-06-17 12:14:35 -07:00
frankiebee
e672f2da0d
remove irrelevant test
2017-06-16 17:04:56 -07:00
frankiebee
b67bc7043e
Fix test to call done
2017-06-15 15:25:22 -07:00
kumavis
b3492d9c17
transaction controller - use nonce-tracker
2017-06-14 23:44:02 -07:00
frankiebee
a10740af7e
add a check for weather a tx is included in a block when jumping blocks
2017-06-14 20:17:59 -07:00
Thomas Huang
c0f07844af
Finish async when failing async test
2017-06-12 17:52:37 -07:00
Thomas Huang
dbc48c3992
Make test Async
2017-06-12 17:42:54 -07:00
Thomas Huang
13e6672028
Linting
2017-06-12 11:08:32 -07:00
Kevin Serrano
f7773538eb
Modify tests for new api mock.'
2017-06-05 16:24:32 -07:00
Kevin Serrano
5e19a4a833
Modfiy test to ether standards.
2017-05-24 10:51:44 -07:00