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
Dan Finlay
9ca3c57339
Fix vault creation bug
8 years ago
Dan Finlay
185396ff08
Fix dual vault creation bug
8 years ago
Dan Finlay
4cf1b606e4
Fix handling of migrating old vault style
...
Now old vaults are recognized as an "Initialized" MetaMask instance.
Upon logging in, when fetching the initial password-derived key, if there is no new-style vault, but there is an old style vault, it is migrated to the new format before proceeding through the usual unlocking steps.
8 years ago
Dan Finlay
18e5173f06
Now migrating old vaults to new DEN format
8 years ago
Dan Finlay
331d9c91ee
Add vault migration test
8 years ago
Dan Finlay
2690d1acfd
Added hd wallet tests
8 years ago
kumavis
3af3565000
test - fix delegate-call test
8 years ago
Dan Finlay
626b52d24a
Fix bug in new KeyringController vault restoring logic.
8 years ago
Dan Finlay
ee73e373a0
Create new vault before each keyringController unit test
8 years ago
Dan Finlay
44aa1be277
Create basic keyring-controller unit test file
8 years ago
Dan Finlay
c3e1c5c57f
Added SimpleKeyring tests
8 years ago
Frankie
d4c0a4949b
Clean up tests
8 years ago
Dan Finlay
0deed17752
Fix tests
8 years ago
Frankie
aa4746f4c7
Add test and ability for isHex to handle hex strings with hex-prefix
8 years ago
Frankie
4366f72fe1
Add unit test for isHex and add to CHANGELOG.md
8 years ago
Kevin Serrano
ad3fa24a28
Intermediary commit.
8 years ago
Dan Finlay
049705004f
Reproduced issue 743 in test case
...
This contract hex does include the value `f4`, but it was compiled from a contract with no instance of `.delegatecall`. I believe `f4` in this case is part of some other value or contract address, and `ethBinToOps` has some error in how it skips pushed data.
@kumavis
8 years ago
Dan Finlay
827d7553fc
Restore hex prefix to gas price
8 years ago
Dan Finlay
91f43fa213
Increase gas estimate by 100000 wei
...
To prevent minor gas estimation errors, probably usually related to operating on dynamic state.
Fixes #738 .
8 years ago
Dan Finlay
ea1a934c7d
Add initial KeyringController files
8 years ago
Dan Finlay
cf31e19029
Remove logs
8 years ago
Dan Finlay
c3d1404e72
Fix clearing of account cache on vault restore
8 years ago
Dan Finlay
e0e38b879f
Fix some references
8 years ago
Dan Finlay
363c2a0939
Fix account unlocking
...
SubmitPassword was not creating a new id-management
This is because I broke up the old "createIdmgmt" method to not perform as much conditional logic.
Now the pieces are reusable and do what they should do.
8 years ago
Frankie
c37c050c8a
Revert "Add new eth-lightwallet salting to vault."
8 years ago
Dan Finlay
5c1d8e299e
Select first address when restoring vault
...
Fixes #642
8 years ago
Dan Finlay
9b861b6687
Fixed caching bug
...
Fixed bug where the second new vault created in an IdStore would initially return the accounts from the original store.
Also fixed some tests that were incorrect.
8 years ago
Dan Finlay
5e60b2f0c4
Correct assertion for BIP32 compliance
...
According to [axic's work here](https://github.com/MetaMask/metamask-plugin/issues/640#issuecomment-246133672 ), MetaMask is generating the correct address, so I've corrected that assertion accordingly.
8 years ago
Dan Finlay
b1590f179e
Remove log
8 years ago