Frankie
b5d6452454
Disallow loading as metamaskNetworkId ( #5924 )
...
* transactions - throw an error if a transaction is generated while the network is loading
* add tests for failing when netId is loading
6 years ago
Dan Miller
d8e41a6aa5
Final gas customization fixes
6 years ago
Dan Miller
9b9a2cc2e0
Adds createSpeedUpTransaction to txController
6 years ago
Frankie
8198ec9ae1
Autofill gasPrice for retry attempts with either the recommended gasprice or a %10 bump ( #5786 )
...
* transactions - autofill gasPrice for retry attempts with either the recomened gasprice or a %10 bump
* lint
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
Whymarrh Whitby
af43b7d6c9
Ensure that new transactions added are using the selected address
6 years ago
brunobar79
992e7f1b5a
fix merge conflicts
6 years ago
Thomas Huang
2392e77cd8
Set metamask controller network provider to localhost
6 years ago
frankiebee
b30499886f
test - check that #setTxStatusRejected removes transaction from history
6 years ago
kumavis
fa02a6c7c6
test - unit - remove tests for obsolete methods
6 years ago
brunobar79
4b398701c1
fix unit tests
6 years ago
brunobar79
c734e486a0
fix tests
6 years ago
brunobar79
0da41263ac
fix warning for unit tests
6 years ago
brunobar79
a8f745f9fe
eslint --fix .
6 years ago
frankiebee
94a4f99115
tests - fix cancle transaction test to better fit new behavior
7 years ago
frankiebee
7b1f57e05d
woops - remove .only
...
Co-authored-by: @jennypollack
7 years ago
frankiebee
9b92ba4c47
trandsactions - remove rejected transactions from history
7 years ago
Csaba Solya
1dda0c6469
remove generating blocked accounts and use a config file instead
7 years ago
Csaba Solya
cf73581c0e
adding tests for recipient blacklist checker
7 years ago
Csaba Solya
6affd8f949
adding transaction controller tests
7 years ago
kumavis
32293a959c
test - unit - tx-controller - fix blockTracker stub
7 years ago
kumavis
31f47a7a42
test - unit - pending-tx-tracker - update method name
7 years ago
kumavis
686d5cf825
test - unit - nonce-tracker - fix blockTracker stub
7 years ago
kumavis
5be154ea20
controllers - transactions - merge @frankiebee's work with mine
7 years ago
kumavis
deab195772
test - unit - code style nitpick
7 years ago
kumavis
afdefc58e9
test - unit - tx-controller-test - add history object to txMeta when using internal calls
7 years ago
tmashuang
13ebb0b455
Moved loose some loose test files to sub folders
7 years ago