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
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
kumavis
440a42bbc3
inpage - add idRemapMiddleware
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
kumavis
4019f318fe
inpage provider - autoreload - improve readability
7 years ago
kumavis
44dc2ba712
inpage provider - only warn web3 usage once per session
7 years ago
kumavis
53e410167b
inpage provider - sync rpc - default to null values
7 years ago
kumavis
247965ebbe
nonce-tracker - more debugging numbers for nonceDetails
7 years ago
kumavis
0a93b65a3d
remove unused code
7 years ago
kumavis
fb2c6cc8ac
nonce-tracker - use ethjs-query
7 years ago
kumavis
dc3e8d60ef
nonce-tracker - fix var name
7 years ago
kumavis
6d596bd9e6
nonce-tracker - getlocalNextNonce - add entry to nonceDetails
7 years ago
kumavis
a7e3dc8327
nonce-tracker - simplify _getlocalNextNonce
7 years ago
kumavis
e43da3e4aa
nonce-tracker - simplify getHighestNonce
7 years ago
kumavis
b191649ef5
nonce-tracker - getHighestNonce doesnt need uniqued input
7 years ago
kumavis
98bc9b6656
nonce-tracker - make nonce strategy api and naming more symmetical
7 years ago
frankiebee
604c91f7b2
nonce-tracker - pass tests
7 years ago
frankiebee
7d34b22d78
clean up code
7 years ago
frankiebee
5c74f316a8
nonce-tracker - pass tests
7 years ago
frankiebee
1ffb406480
break out network nonce calc.
7 years ago
frankiebee
37f86e874f
fix 0x0 nonce calc.
7 years ago
frankiebee
f8eca95ca5
include pendingTxs in localNonce
7 years ago
frankiebee
a5a32f3d57
use "localNonce" when the network returns a nonce that is lower then a known confirmed tx
7 years ago
kumavis
1af797b1b3
tx controller - tx state history various small fixes
7 years ago
kumavis
fdffb6fedc
introduce tx-state-history-helper and diff-based history
7 years ago
frankiebee
66a012550e
fix wording
7 years ago
frankiebee
ac9e84ff40
add deprecation warning for web3
7 years ago
kumavis
b4052cd5e6
tx utils - detect estimateGas err and set simulationFailed
7 years ago
kumavis
5418813ed1
util - sufficientBalance - validate input
7 years ago
frankiebee
5bb84f6e21
fix getPendingTransactions function for pendingTxTracker
7 years ago
frankiebee
a13643bdb5
fix class names
7 years ago