aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate rawtestrpc.metamask.ioDan Finlay2016-04-231-3/+11
| | | | This migration will move users who have their clients configured to point at `rawtestrpc.metamask.io` to point at our new test-net RPC, `testrpc.metamask.io`.
* Store metamaskId on metaTx instead of getTxWithParams method.Dan Finlay2016-04-211-26/+0
|
* Fix floating point input bugDan Finlay2016-04-201-27/+41
| | | | | | When sending a transaction, we were converting to BN before handling decimals, which meant we were losing any precision past a decimal point, since BN does not handle decimals! Put this numeric normalization into a utility function with a test around it and got it working.
* Add extra tx methods to configManagerDan Finlay2016-04-201-0/+36
|
* Persist transactions to config-managerDan Finlay2016-04-191-0/+79
| | | | | | | | Transactions are now stored, and are never deleted, they only have their status updated. We can add deleting later if we'd like. I've hacked on emitting the new unconfirmedTx key to the UI in the format it received before, I want Aaron's opinion on where I should actually do that.
* Unify test suitesDan Finlay2016-04-198-1/+454
|
* Fix plugin testsDan Finlay2016-04-191-5/+8
|
* Migrate etherscan providers to our RPCDan Finlay2016-04-131-0/+14
|
* Made configuration migrateableDan Finlay2016-03-311-0/+71
| | | | | | | | | | | | | | Abstract all configuration data into a singleton called `configManager`, who is responsible for reading and writing to the persisted storage (localStorage, in our case). Uses my new module [pojo-migrator](https://www.npmjs.com/package/pojo-migrator), and wraps it with the `ConfigManager` class, which we can hang any state setting or getting methods we need. By keeping all the persisted state in one place, we can stabilize its outward-facing API, making the interactions increasingly atomic, which will allow us to add features that require restructuring the persisted data in the long term without having to rewrite UI or even `background.js` code. All the restructuring and data-type management is kept in one neat little place. This should make it very easy to add new configuration options like user-configured providers, per-domain vaults, and more! I know this doesn't seem like a big user-facing feature, but we have a big laundry list of features that I think this will really help streamline.
* Correct the bip44 test accountDan Finlay2016-03-261-5/+5
|
* Implemented BIP44 compliance test.Dan Finlay2016-03-261-0/+81
Also added the hdPath that Christian had told me to our calls to the LightWallet, but this does not seem to have made us generate the same accounts as `testrpc` yet.