kumavis
29e83d71a8
background - handle tx finalization in controllers instead of provider-engine
8 years ago
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
2019c02fc0
test - fix tests from obs-store
8 years ago
kumavis
bd382f4705
tests - add fetch polyfill
8 years ago
Dan Finlay
5e8a344f97
Correct getState test to be async
8 years ago
Frankie
fde69ea0ba
fix some minor spelling mistakes and clean up code
8 years ago
Frances Pangilinan
6e78494846
First pass at revision requests
8 years ago
Dan Finlay
afcad53ef9
Refine a lostAccount test
8 years ago
Frances Pangilinan
4910e2f9bd
remove network Id 2 from explorer link and Add network Id 3
8 years ago
Dan Finlay
20d2204ce6
Made changes according to feedback.
8 years ago
kumavis
73998feeb2
move notice code from metamask-controller + config-manager, in to notice-controller
8 years ago
kumavis
4c390a6221
clean - code style
8 years ago
Kevin Serrano
8819475a2e
Add ability to show notices to user & get confirmation.
...
Implement generation of markdown for notice files.
Create npm command. Enhance notice generation.
Add test files to test multiple notices.
Add basic markdown support to notices.
Interval checks for updates.
Add extensionizer and linker
Add terms and conditions state file
Add link support to disclaimer.
Changelog addition.
8 years ago
Frances Pangilinan
5aba096bd1
add Test for txManager. As well as fix tests to account for txManager.
8 years ago
Dan Finlay
ab9e15b782
Mostly added bad account detection
...
Currently riddled with logs, because the migrator is inexplicably returning before generating the new style accounts for comparison.
8 years ago
Dan Finlay
fe01ceb857
Remove .only from unit test suite
8 years ago
Dan Finlay
9e764b1935
Fix nodeify
8 years ago
Dan Finlay
80e76b45ee
Denodeify most of KeyringController
...
Mostly Fixes #893
A couple methods cache callbacks, and will require a larger refactor to fully denodeify.
Specifically, our methods involving web3 requests to sign a tx, sign a message, and approve or cancel either of those.
I think we should postpone those until the TxManager refactor, since it will likely handle this response caching itself.
8 years ago
Dan Finlay
9f67974133
Fix last async keyring test
8 years ago
Dan Finlay
230a0ab876
Fix more keyring asyncifying tests
8 years ago
Dan Finlay
600f5c31db
Mostly got async keyringController tests passing
8 years ago
Dan Finlay
822face7a3
Fix password reference
8 years ago
Dan Finlay
358440384c
Fix vault migration unit test
8 years ago
Dan Finlay
607a474c3f
Improve vault migration unit test
8 years ago
Dan Finlay
de8da9ddf6
Simplify Encryptor API Surface
...
At least, the portion of it that we use.
Moved salting within the encryptor, so it does not need to be managed externally.
KeyringController now caches the password instead of a passwordDerivedKey, since it is ignorant of the salt.
Encryptor payload is now in a JSON format, so its portions are both base64 encoded *and* labeled appropriately. The format is `{ "data": "0x0", "iv": "0x0", "salt": "string" }`.
Fixes #843
Fixes #859
8 years ago
Dan Finlay
a67b4d7131
Fix etherscan link generation test
8 years ago
kumavis
fa2f0dee28
idStore - fix estimateGas calculation
8 years ago
Dan Finlay
60afc41bb6
Fix keyring test
8 years ago
Dan Finlay
e2a9e1cd4a
Unify test wording
8 years ago
Dan Finlay
694f34ae9a
Add temporary morden explorer link support
8 years ago
Dan Finlay
ced36eb201
Improve Keyring organization
...
Separated public & private methods. (Fixes #845 )
Made class method `type()` into a simple property. (Fixes #846 )
8 years ago
Dan Finlay
ecfda5bcc5
Revert premature link test fix
8 years ago
Dan Finlay
daec4d5c36
Fix ropsten link test
8 years ago
Dan Finlay
be6b7b496a
Fixed account link test for ropsten network
8 years ago
Kevin Serrano
f5b0795ac5
change all instances of selectedAddress to selectedAccount.
8 years ago
Kevin Serrano
9123e70434
Remove entropy from encryption and project.
8 years ago
Kevin Serrano
a4666de0ce
Minimize repeated code.
8 years ago
Kevin Serrano
7de6b12aad
Re-enable disclaimer screen. Rename variables to reflect role more clearly.
8 years ago
Kevin Serrano
92edc63d6e
Add idStore tests again.
8 years ago
Kevin Serrano
eea3bfb0b3
Rename n variables to numberOfAccounts inside of test suite. Remove idStore tests.
8 years ago
Dan Finlay
7068d2e71c
Adjust gas buffer to be 20% over estimate
8 years ago
Dan Finlay
6f39924e60
Increase gas buffer
...
Fixes #795
8 years ago
Dan Finlay
798e057854
Fix nickname test
8 years ago
Dan Finlay
7b420c6e15
Fix BN reference
8 years ago
Dan Finlay
553a6da011
Fix 787 gas buffer bug
8 years ago
Dan Finlay
1896928562
Fix gas price buffering
...
Our gas price buffering logic had a bug, because bn.js has inconsistent behavior when using hex-prefixed output. The issue has been opened with them here:
https://github.com/indutny/bn.js/issues/151
We've corrected our usage in the mean time.
8 years ago
Dan Finlay
fff5a6765e
Added failing test for #787
8 years ago
Dan Finlay
e0246975a7
Finish fixing nicknaming bug
8 years ago
Dan Finlay
bd2a429a85
Fix account nicknaming bug
...
When nicknaming, we weren't normalizing the input, and so we were retrieving with differently formatted addresses than we were persisting.
8 years ago