Dan Finlay
a10a600cce
Linted
7 years ago
Dan Finlay
d89394a7c9
Make account tracking much more reactive
7 years ago
kumavis
8da0d0b28a
Revert "NetworkController refactor for new EthClient interface"
7 years ago
Dan Finlay
75177ce34c
Make account tracking more reactive
...
We were doing a lot of conditional observation & updating.
Pulled out a bunch of that for generic observer/syncers.
7 years ago
kumavis
dcf10f3d75
nonce-tracker - use blockTracker directly
7 years ago
kumavis
7d50a56198
util - add obj-proxy
7 years ago
kumavis
e32d75965f
events-proxy - clean up
7 years ago
Sergey Ukustov
a1696f89a8
Validate data format for eth_signTypedData
7 years ago
kumavis
bc396a7417
lint fix - nodeify
7 years ago
Dan Finlay
a417fab0eb
When checking pending txs, check for successful txs with same nonce.
...
If a successful tx with the same nonce exists, transition tx to the failed state.
Fixes #2294
7 years ago
Dan Finlay
94513cae7b
Provide method for tx tracker to refer to all txs
7 years ago
kumavis
be4f7b33f4
nodeify - allow callback to be optional
7 years ago
Dan Finlay
0146b55d6d
Check status of pending transactions on startup
...
Fixes #1531
7 years ago
Dan Finlay
9bc80d998e
Add signTypedData input validations
7 years ago
frankiebee
3cb9da2ae5
"fix" hours for message
7 years ago
frankiebee
ec9c528313
pending-tx - check time stamp instead of block number for resubmit
7 years ago
kumavis
062eaa6a82
pending tx tracker - on tx:warn append error message instead of error obj
7 years ago
kumavis
ed77304e73
pending tx tracker - tx:warning event includes err obj
7 years ago
kumavis
22eaf92ec2
pending tx tracker - resubmit - warn dont error on unknown error
7 years ago
kumavis
7af696bfbe
pending tx tracker - dont throw on load failure
7 years ago
kumavis
df59ef9942
tx state history - append note to first op of diff
7 years ago
frankiebee
833da191c3
transaction - provide notes for history
7 years ago
kumavis
d29b5f10ef
tx state history - fix bug where initial snapshot was mutated on updateTx
7 years ago
frankiebee
ac80eaca1f
pending-tx - dont check the balance to rebrodcast
7 years ago
Sergey Ukustov
c2b8dada91
Add eth_signTypedData handler
7 years ago
kumavis
7d499df8e3
account-tracker - remove unused import
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
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
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
2eca5455c0
Move obs store into account-tracker instead of inheriting
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
8cd7329c91
Implemented feedback
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
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
kumavis
245c0f0c27
metamask controller - move middleware into seperate files
7 years ago
Dan Finlay
a01921758b
Add computed balance to account detail view
7 years ago
frankiebee
77a48fb0b1
ensure that values written to txParams are hex strings
7 years ago
frankiebee
9e0c0745ab
linting && format fixing
7 years ago
frankiebee
3ad67d1b14
match other controller patterns
7 years ago
frankiebee
62f26c5ba8
fix miss type
7 years ago
frankiebee
9b9df41724
more tests and craete a getPendingTransactions function
7 years ago
kumavis
d03b0547bb
inpage provider - define sendAsync on the prototype
7 years ago
kumavis
ef3bf810bf
inpage - use obj-multiplex module
7 years ago
kumavis
70401626e2
lint - remove dead code
7 years ago