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
kumavis
765ef64061
metamask controller - destroy filter polyfill on disconnect
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
Dan Finlay
86cd4e4fed
Got pending balance updating correctly
7 years ago
frankiebee
77a48fb0b1
ensure that values written to txParams are hex strings
7 years ago
Dan Finlay
e4d7fb2447
Add state-labeled events to allow subscribing to any transaction's state change
7 years ago
kumavis
96d1175834
debug - prefer logger over console
7 years ago
kumavis
a265144176
metamask cont - standardize multiplex stream naming
7 years ago
Dan Finlay
53a467cd1e
Some progress
7 years ago
frankiebee
9e0c0745ab
linting && format fixing
7 years ago
frankiebee
3ad67d1b14
match other controller patterns
7 years ago
kumavis
8545453a9d
contentscript - fix obj-multiplex instantiation and use pump for streams
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
9d4c02e57f
metamask - add jsonrpc filter middleware on per-connection engine
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
50075c6df5
fix messy merge
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
Kevin Serrano
b5f48730cd
Properly update keyring state on new account addition.
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
Kevin Serrano
056276af02
integrate infura currency
7 years ago