kumavis
b33c51c0a6
migrations - introduce promise-based migrator
8 years ago
kumavis
3bc996878b
background - move pojo migrator to outside of metamask controller
8 years ago
kumavis
8012ede126
background - introduce ObservableStore
8 years ago
kumavis
65ba9fc39e
bugfix - portstream - dont wrap cb in try catch
8 years ago
Frankie
576e2ad64d
Fix wording and icon of failed txs
8 years ago
Dan Finlay
d87a7b2a76
Send update to UI when changing selected account
...
Fixes #981
8 years ago
kumavis
89a5eff270
currency conversion - less noisy error
8 years ago
Frankie
bbd2f2738b
Add to CHANGELOG
8 years ago
Frankie
0fae263a9a
Take some of the tx Logic out of the UI and create a visble state for pending and unaproved transactions
8 years ago
kumavis
26e4ff40e1
rpc - fix sync account cache setting
8 years ago
kumavis
61637c738b
web3 provider - override eth_syncing and web3_clientVersion
8 years ago
Dan Finlay
21e2e4efd8
Remove erroneous OOG estimation logic.
8 years ago
kumavis
b301c0fb48
deps - replace promise-request with fetch
8 years ago
Frankie
e62f70660d
MetaMask Controller - Convert to EventEmitter
8 years ago
Dan Finlay
7659f5894a
Combine two identical then blocks
8 years ago
Frankie
cf6817092b
remove unnecessary try statments
8 years ago
Dan Finlay
6c99d09404
Fixed bugs with sanity-checking
...
- Was incorrectly calling some eth-query methods (left over from old local eth-query)
- Was still passing block to getAccount in addAccount
- Now emitting update only after all account balances are loaded, reducing UI update traffic.
8 years ago
Dan Finlay
ead8a05034
Fix dependency reference
8 years ago
Dan Finlay
a107b66854
Caught typo
8 years ago
Dan Finlay
18e6d266c1
Add descriptive comment
8 years ago
Dan Finlay
381a60695d
Linted
8 years ago
Dan Finlay
3588aabdf2
Removed reliance on eth-store internal custom eth-query
8 years ago
Dan Finlay
08351f801a
Move eth-store@1.1.0 into local repo.
8 years ago
Frankie
32e8063a77
clean up
8 years ago
Frankie
e6da8e2762
Fix signing of transactions
8 years ago
Dan Finlay
33b4d213f1
Fix sendUpdate for new promisified getState method
8 years ago
Dan Finlay
1b9906372b
Update UI state on ethStore updates
...
UI was remarkably not relying on ethStore for updates, so things like account balances were frozen until user activity.
Fixes #963
8 years ago
Dan Finlay
305cda4265
Use chainId parameter instead of second argument
8 years ago
Dan Finlay
af2c7004b0
Make single letter variables more verbose
8 years ago
Dan Finlay
7320095079
Linted
8 years ago
Dan Finlay
9c6c277b8b
Add replay protection to Transaction Manager
...
Fixes #897
Needs tests.
8 years ago
Dan Finlay
edc5f9e821
Add tolerance for hex prefixed private keys to simple keychain
8 years ago
kumavis
616721f47d
inpage-provider - add isMetaMask
...
adds `metamaskInpageProvider.isMetaMask === true`
Fixes #727
8 years ago
Dan Finlay
e95c937569
Add additional migration test
8 years ago
Frankie
fde69ea0ba
fix some minor spelling mistakes and clean up code
8 years ago
Dan Finlay
a10fe6b6f4
Return keyring metadata on metamask state object
...
Required making the getState methods for both keyringController and metamaskController async.
They both now return promises, and the main metamask-controller.getState method is now nodeified.
Will allow the UI to render loose keys differently than persisted keys.
8 years ago
Dan Finlay
1861bf8e2b
Remove log
8 years ago
Dan Finlay
98527c1c25
Fix account injection bug
...
It seems `selectedAddress` was removed from the keyring-controller’s state, and is used to populate the injected current account.
I couldn't help myself, I dug around, I found a PR named [changed all instances of selectedAddress to selectedAccount](f5b0795ac5
) by @Zanibas . Sorry, Kevin! Had you actually changed all instances, this bug would not have happened.
Fixes #908
8 years ago
Dan Finlay
9e54e3baa0
Break up migration function
8 years ago
Dan Finlay
291403c13f
Don't bother changing selected accounts since accounts are recovered
8 years ago
Dan Finlay
cf3951c9df
Remove logs
8 years ago
Dan Finlay
0df656850d
Linted
8 years ago
Dan Finlay
ebeaf3b3d6
Restructured migration
...
Migrator now returns a lostAccount array that includes objects
these objects include keys of address and privateKey,
this allows the MetamaskController to restore the lost accounts
even without customizing the idStore or the KeyringController.
Also includes a patch that allows idStore to synchronously export private keys.
8 years ago
Dan Finlay
a3a64afdd5
Return undefined when vault is uninitialized
8 years ago
Dan Finlay
05ce7086f7
Added error when trying to unlock uninitialized vault
8 years ago
Frances Pangilinan
9e1c90eafc
fix merge
8 years ago
Frances Pangilinan
a85c691b71
Remove txManager in keyring controller
8 years ago
Frances Pangilinan
1ebcbe296b
Migrate all tx mutation code out of keyring controller and
...
Fix up txManager to reflect code review requests
8 years ago
Frances Pangilinan
6e78494846
First pass at revision requests
8 years ago
Dan Finlay
48f2ae2154
Move old keystore migration code to metamask controller
...
Allows keyring controller to be more generic, less opinionated, and who knows, maybe sooner publishable as its own thing.
8 years ago