Commit Graph

53 Commits

Author SHA1 Message Date
frankiebee c6dff98ee1 tests - add tests for transactions#retryTransaction and transactions#_markNonceDuplicatesDropped 2018-03-13 14:30:59 -07:00
kumavis 899e839e7c test - createTestProviderTools includes block tracker layer 2018-01-17 21:43:34 -08:00
kumavis d7c8ec22a4 test - tx controller - fix txGasUtil reference 2018-01-17 20:09:13 -08:00
kumavis d1d745eef4 test - typo - fix spelling of word stubbed 2018-01-17 19:47:35 -08:00
kumavis 3cbf2b7e3e test - remove createEthJsQueryStub 2018-01-17 19:44:11 -08:00
frankiebee 7a30950e4d test - fix to match expected behavior 2018-01-14 14:10:16 -08:00
Dora E. Mondrian 41fea44af3 newUnaprovedTx => newUnapprovedTx
This typo tripped me up when I was reading through the code and trying to understand what's going on.
2017-11-06 04:35:51 -08:00
frankiebee ac80eaca1f pending-tx - dont check the balance to rebrodcast 2017-09-29 12:54:05 -07:00
frankiebee 0a94ec41d3 pending-tx - move incrementing of the retryCount on the txMeta outside pending-tx-tracker 2017-09-26 22:42:59 -07:00
frankiebee b05a6f89cb fix tests 2017-09-26 18:19:44 -07:00
frankiebee 36ddaf220d Merge branch 'transactionControllerRefractorPt3' of https://github.com/MetaMask/metamask-extension into transactionControllerRefractorPt3 2017-09-26 18:16:00 -07:00
frankiebee 9fd5458112 transactions: lint fixes and reveal status-update event for balance controller 2017-09-26 16:54:04 -07:00
frankiebee 8ab23c713d Merge branch 'master' into transactionControllerRefractorPt3 2017-09-26 16:24:43 -07:00
tmashuang ff6f7b52e4 Clean up transactionController tests 2017-09-25 19:47:03 -07:00
tmashuang 20fea3f1de Remove pending updateAndApprovedTransaction test 2017-09-25 10:47:36 -07:00
tmashuang d4578836c9 Most of transaction controller tests 2017-09-22 16:15:18 -07:00
Dan Finlay f128240e7f Fix test references 2017-09-22 14:19:14 -07:00
frankiebee 59909601b8 add test for pendingTxCount 2017-09-13 14:07:22 -07:00
frankiebee 3ad67d1b14 match other controller patterns 2017-09-12 09:59:59 -07:00
frankiebee 9b9df41724 more tests and craete a getPendingTransactions function 2017-09-08 14:24:40 -07:00
frankiebee 15c12ca4bb add better comments 2017-09-05 21:50:36 -07:00
frankiebee fbba3a1ac8 Merge branch 'master' into transactionControllerRefractorPt3 2017-08-21 11:35:22 -07:00
frankiebee e9712a13ec Create tests for TxStateManager 2017-08-18 14:11:18 -07:00
kumavis a9e5564e8d tx controller - test - fix typo from moved test 2017-08-14 19:34:22 -07:00
kumavis fec0f2ca5e tx controller - test - test tx state history in updateTx 2017-08-14 19:15:09 -07:00
kumavis fdffb6fedc introduce tx-state-history-helper and diff-based history 2017-08-14 18:46:04 -07:00
frankiebee e761fb0ef7 use provider stub 2017-08-08 18:30:22 -04:00
frankiebee 54739cb798 test for pending tx watcher 2017-08-04 14:40:22 -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
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 5ec73c0e65 tx cont - fix test to use async api 2017-07-25 14:39:17 -07:00
frankiebee 7eccf5905a make publishTransaction and signTransaction async methods 2017-07-13 15:25:43 -04: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 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
frankiebee 243eeff7cb Fix for tests 2017-05-23 19:49:57 -04:00
Dan Finlay 6491b42266 Add test around txManager#approveTransaction 2017-05-16 18:16:18 -07:00