kumavis
1ad8a9a0ff
network - make network controller internal network switching explicit
7 years ago
kumavis
d6ea2fa425
network - convert localhost from custom rpc to network type
7 years ago
kumavis
b88d11f86e
network controller - small refactor
7 years ago
frankiebee
ac80eaca1f
pending-tx - dont check the balance to rebrodcast
7 years ago
Dan Finlay
861bd877f3
Ensure selected account is always set if possible
...
Fixes #2218
Subscribes to keyringController, and if only one account exists, sets it as selected.
7 years ago
Sergey Ukustov
c2b8dada91
Add eth_signTypedData handler
7 years ago
frankiebee
b24e16d346
re-enabled x-metamask-origin for mascara
7 years ago
Dan Finlay
a246770866
Commit to the eth-keyring-controller module
7 years ago
Dan Finlay
aefd17ef94
Remove dead reference
7 years ago
kumavis
06b5dd2096
network controller - move _setProvider to bottom
7 years ago
kumavis
f2d9b75e94
network controller - refactor to use _setProvider
7 years ago
Dan Finlay
96ebbde634
Fix Account Selection
...
Do not select accounts on restore, only on creation and deliberate selection.
Fixes #2164
7 years ago
kumavis
7d499df8e3
account-tracker - remove unused import
7 years ago
kumavis
c781e11c7a
network - remove getter/setter
7 years ago
kumavis
7e9c6e96a1
metamask - improve comment
7 years ago
kumavis
b41aad6d1a
style - small whitespace nitpick
7 years ago
kumavis
89e690fc79
account-tracker - use new block-tracker block format
7 years ago
Dan Finlay
1983e161c6
Fix accountTracker store references
7 years ago
Dan Finlay
8d3fec42d0
Fix bug where block gas limit was incorrectly parsed.
7 years ago
frankiebee
0a94ec41d3
pending-tx - move incrementing of the retryCount on the txMeta outside pending-tx-tracker
7 years ago
frankiebee
508696f71d
transactions: reveal #getFilteredTxList from txStateManage and fix accountTracker.store reference
7 years ago
frankiebee
80c98b1653
transactions: make evnt names pretty and eaiser to read
7 years ago
frankiebee
9fd5458112
transactions: lint fixes and reveal status-update event for balance controller
7 years ago
Dan Finlay
651098c70d
Remove duplicate instantiation of account-tracker
7 years ago
Dan Finlay
2eca5455c0
Move obs store into account-tracker instead of inheriting
7 years ago
frankiebee
9d1cb0f76d
network contoller - clean up unused code
7 years ago
frankiebee
2ed8d579da
listen for the blocke event on the block tracker instead of rawBlock on the provider
7 years ago
frankiebee
b654eb9b1f
wrap block tracker in events proxy
7 years ago
Dan Finlay
3bedcd3582
Restore blockGasLimit to account-tracker
7 years ago
Dan Finlay
9e3648c668
Pass blocktracker to balances controller
7 years ago
Dan Finlay
1968d61431
Make encryptor configurable for keyring-controller
7 years ago
Dan Finlay
674aac83ce
Make blockTracker an independent param
7 years ago
Dan Finlay
8cd7329c91
Implemented feedback
7 years ago
Dan Finlay
40f1d08684
Made some requested changes
7 years ago
Dan Finlay
443b1a8eb7
Remove keyring controller from project
7 years ago
kumavis
dd45592641
metamask - use provider-engines block tracker
7 years ago
Dan Finlay
128cf40f91
Fix accont-tracker merge bug
7 years ago
Dan Finlay
f01b0a818b
Fix account-tracker references
7 years ago
Dan Finlay
d2a747e57e
Fix computed-balances controller reference
7 years ago
Dan Finlay
11c8c07bfc
Refactor eth-store into account-tracker
...
EthStore was only being used for tracking account balances and nonces now, so I removed its block-tracking duties, renamed it account-tracker, and removed it as a dependency from `KeyringController`, so that KRC can go live on without a hard dep on it.
7 years ago
Dan Finlay
977405fc7d
Remove dead code from eth-store
7 years ago
Dan Finlay
08b36b9b58
Allow metamaskController to define keyring types
7 years ago
Dan Finlay
4c971ebfd1
Define encryptor in constructor params instead of platform object
7 years ago
kumavis
0a5ae39509
bug - fix event emitter mem leak warning
7 years ago
Dan Finlay
e9043f22df
Allow custom encryptor to be passed to MetaMaskController and KeyringControllers.
7 years ago
frankiebee
14b9d16ece
platforms: put context for extension in platform extension class
7 years ago
frankiebee
bfd75107f1
add context to platform to not have X-Metamask-Origin in mascara
7 years ago
Kevin Serrano
bd8428e9ed
Comply with current currency API and add additional styling.
7 years ago
Dan Finlay
2b7b1db851
Do not mark a retry tx failed that has been broadcast successfully
...
Fixes #2115
If a tx has been braodcast, the only failures we should accept are:
- Never mined
- On chain failure
We had a section of code that would mark a tx failed during any unknown error during a retry.
Now no retry > 1 will ever mark a tx failed, since it has been broadcast, and may be mined.
7 years ago
kumavis
d7097db022
createOriginMiddleware - fix var name
7 years ago