Paul Bouchon
daae155ce2
GABA: Integrate AddressBookController ( #5847 )
...
* gaba: integrate AddressBookController
* pin gaba version and update lockfile
6 years ago
Frankie
df3169d1c7
I#5956 fix2 dont overwrite existing rpc settings ( #6044 )
...
* mm-controller - dont overwrite existing rpc settings
* ui-networkDropdown - dont pass old network as chainId
* add methods preferencesController.updateRpc and metamaskController.updateAndSetCustomRpc
* use updateAndSetCustomRpc in settings to allow rpcs to be updated
* use new rpc as nickname if no nick name has been supplied
* fix update rpc method
6 years ago
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
Dan J Miller
4c24555545
Save recent network balances in local storage ( #5843 )
...
* Use selector for state.metamask.accounts in all cases.
* Default to cached balance when selecting metamask accounts
* Adds the cached-balances controller
* Documentation and small codes fixes for #5843
Co-Authored-By: danjm <danjm.com@gmail.com>
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
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
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
Paul Bouchon
0549782595
Update Balanc3 API ( #5744 )
...
* Update balanc3 API used in TokenRatesController
* Remove demo URL and use nativeCurrency when fetching token rates
6 years ago
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
6 years ago
Esteban Miño
4489a57f2f
Update watchAsset ERC20 validation ( #5653 )
...
* update ERC20 token valodation for watchAsset
* update ERC20 validation test descriptions
6 years ago
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
6 years ago
Esteban Miño
7c4f98ffd6
specific add and remove methods for frequentRpcList ( #5554 )
6 years ago
Esteban MIno
75661673e5
add support for wallet_watchAsset
6 years ago
Whymarrh Whitby
af43b7d6c9
Ensure that new transactions added are using the selected address
6 years ago
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
6 years ago
Whymarrh Whitby
4dd6c8168f
Add ability to whitelist a blacklisted domain at runtime
6 years ago
bitpshr
36dd0354e7
Implement latest EIP-712 protocol
6 years ago
Whymarrh Whitby
13bc46d824
Default NoticeController ctor opts to empty obj
6 years ago
Whymarrh Whitby
d60991ec88
Delete ConfigManager, replacing its usages with PreferencesController
6 years ago
Esteban MIno
3106374cc3
watchAsset small changes
6 years ago
Esteban MIno
b59a1e91b8
typo watchAsset imageUrl to image
6 years ago
Whymarrh Whitby
e803b8e047
Add test cases for MetaMaskController#_onKeyringControllerUpdate
6 years ago
Esteban MIno
6ccf2811e7
unit tests for watchAsset
6 years ago
brunobar79
54021fd90b
fix unit tests
6 years ago
brunobar79
992e7f1b5a
fix merge conflicts
6 years ago
Dan Matthews
df799d7fd6
Restores accounts until one with a zero balance is found
6 years ago
brunobar79
fdf202efb0
fixed unit tests
6 years ago
Thomas
ce645561fb
Remove commented out code for detect-token-test
6 years ago
brunobar79
b77cc3d969
fix tx tests
6 years ago
brunobar79
286bde606f
fix merge conflicts
6 years ago
Thomas Huang
2392e77cd8
Set metamask controller network provider to localhost
6 years ago
Esteban MIno
fbcba8f019
create tokens storage when setadresses
6 years ago
Thomas
fb5e357998
Detect Tokens are weird
6 years ago
Esteban MIno
dd6a725e6d
unit tests for tokens per account and network
6 years ago
Esteban MIno
f79a249bcc
modify tests according to tokens by network
6 years ago
Esteban MIno
9c95554933
fix detection on submit password
6 years ago
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
6 years ago
Esteban MIno
009b1cefbe
keyring unlocked detect and unit tests
6 years ago
Esteban MIno
3b97d816ff
detect tokens when submit password and new account selected
6 years ago
brunobar79
e89350b19f
added tests for removeAccount
6 years ago
brunobar79
de4265c629
added more unit tests
6 years ago
brunobar79
e5512c306d
added unit tests for metamaskcontroller
6 years ago
brunobar79
41879a9835
added test for preferences controller
6 years ago
Esteban MIno
2fffe09873
detect tokens through infura
6 years ago
Esteban MIno
910713c6b3
improve tests
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