aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/app/controllers/transactions/tx-controller-test.js
Commit message (Collapse)AuthorAgeFilesLines
* Set a default value for code in _determineTransactionCategory (#6604)Dan J Miller2019-05-151-0/+87
| | | | | | | | | | * Set a default value for code in _determineTransactionCategory * Adds e2e tests that fail when token txs without gas param are not properly handled. * Adds unit tests for _determineTransactionCategory * Base error throwing and simple gas setting in estimateTxGas on transactionCategory
* Disallow loading as metamaskNetworkId (#5924)Frankie2018-12-141-2/+11
| | | | | | * transactions - throw an error if a transaction is generated while the network is loading * add tests for failing when netId is loading
* Final gas customization fixesDan Miller2018-12-041-1/+1
|
* Adds createSpeedUpTransaction to txControllerDan Miller2018-12-041-0/+67
|
* Autofill gasPrice for retry attempts with either the recommended gasprice or ↵Frankie2018-11-271-1/+4
| | | | | | | | a %10 bump (#5786) * transactions - autofill gasPrice for retry attempts with either the recomened gasprice or a %10 bump * lint
* Tx controller now uses safe event emitter (#5769)Frankie2018-11-171-24/+24
| | | | | | | | | | | | * 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
* Resubmit approved transactions on new block (#5752)Dan Finlay2018-11-151-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Ensure that new transactions added are using the selected addressWhymarrh Whitby2018-10-111-4/+26
|
* Set metamask controller network provider to localhostThomas Huang2018-07-311-1/+2
|
* Merge branch 'develop' into network-remove-provider-engineThomas2018-07-261-3/+10
|\
| * Merge branch 'develop' of https://github.com/MetaMask/metamask-extension ↵frankiebee2018-07-111-6/+2
| |\ | | | | | | | | | into i#3896
| * | tests - fix cancle transaction test to better fit new behaviorfrankiebee2018-06-271-3/+10
| | |
* | | Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-07-041-6/+2
|\ \ \ | | |/ | |/| | | | network-remove-provider-engine
| * | fix warning for unit testsbrunobar792018-07-031-5/+1
| | |
| * | eslint --fix .brunobar792018-07-031-1/+1
| |/
* | Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-06-071-0/+17
|\| | | | | | | network-remove-provider-engine
| * adding transaction controller testsCsaba Solya2018-05-301-0/+17
| |
* | test - unit - tx-controller - fix blockTracker stubkumavis2018-05-291-0/+1
| |
* | controllers - transactions - merge @frankiebee's work with minekumavis2018-05-291-2/+4
| |
* | test - unit - tx-controller-test - add history object to txMeta when using ↵kumavis2018-05-251-31/+29
|/ | | | internal calls
* Merge branch 'develop' into testingtmashuang2018-05-221-30/+0
|
* Moved loose some loose test files to sub folderstmashuang2018-05-211-0/+463