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
kumavis
0e8e655fdb
inpage - distinguish pump vs pipe
7 years ago
kumavis
57e4805c62
streams - use pump and published obj-multiplex
7 years ago
Dan Finlay
d4d7c6d89e
Linted
7 years ago
Dan Finlay
fadc0617df
Make tx calculations account for gas prices
7 years ago
Dan Finlay
c616581001
Remove logs
7 years ago
Dan Finlay
a95a3c7e4f
Fix balance calc test
7 years ago
Dan Finlay
74c6de7d23
Add constructor comment
7 years ago
Dan Finlay
7b92268428
Fix valueFor test
7 years ago
Dan Finlay
4058574436
Add basic test for valueFor
7 years ago
Dan Finlay
b6e8791bc2
test not passing
7 years ago
kumavis
440a42bbc3
inpage - add idRemapMiddleware
7 years ago
frankiebee
00fca4f1f2
remove unused variable
7 years ago
Dan Finlay
74f7fc4613
Check balances in parallel
7 years ago
Dan Finlay
f9a052deed
Add first passing balance calc test
7 years ago
frankiebee
a73aecc796
fix merge and errors disaperaing on update
7 years ago
frankiebee
15c12ca4bb
add better comments
7 years ago
frankiebee
00bd5b143f
rename tx-utils.js -> tx-gas-utils.js
7 years ago
frankiebee
4c554f32ec
remove #buildEthTxFromParams
7 years ago
kumavis
ea7e46ed38
inpage - bug fix
...
prevents mutation of original message object which causes problems with web3 1.0
7 years ago
Dan Finlay
70a61f8712
Make web3 deprecation notice more useful
...
Linking to a descriptive & precriptive article on a path forward.
7 years ago
kumavis
e294aa7e0d
inpage - lint fix
7 years ago
kumavis
cc56d0d2f6
inpage - use json-rpc-engine for inpage-provider
7 years ago
frankiebee
c2624dd1a0
fall back to `latest` if blockNumber is null
7 years ago
Dan Finlay
0ad310e096
Fail transactions after a day of retries
7 years ago
Dan Finlay
c620123fab
Enforce nonces as type string
7 years ago
Dan Finlay
a122ec1f8b
Use toNumber method
7 years ago
Dan Finlay
55c1a259b1
Fix network nonce parsing
7 years ago
Dan Finlay
855f4eeacb
Pass nonce tests
7 years ago
Dan Finlay
04d40b114d
Got all tests but one passing
7 years ago
Dan Finlay
221575a191
Fix new test, break an older maybe wrong one
7 years ago
Dan Finlay
c4ab7a5779
Linted
7 years ago
Dan Finlay
1f0223d0a0
Simplify nonce calculation
7 years ago