Kevin Serrano
4562e41d33
Fix tests until new ones to-be-written.
8 years ago
Kevin Serrano
e7e024bcdd
Refactor of code into separate reducers and actions.
8 years ago
Dan Finlay
fba7a50e1b
Fixed encoding
8 years ago
Dan Finlay
6253885e28
Remove unrelated test file
8 years ago
Dan Finlay
e78e642eef
Add gas buffer test
8 years ago
Kevin Serrano
01f2ec4823
Modify tests.'
8 years ago
Dan Finlay
99b49b11f6
Fix test name
8 years ago
Dan Finlay
70e14b8a6f
Fixed internal encoding test case
8 years ago
Dan Finlay
e66e755766
Fix normalizeMsgData function to always return hex prefixed
8 years ago
Dan Finlay
af337dfae5
Fix function names
8 years ago
Dan Finlay
9bd8c5f723
Render personal_sign messages as utf-8 text
...
Calls to `personal_sign` are now:
- When hex encoded, preserved as hex encoded, but displayed as utf-8 text.
- When not hex encoded, decoded as utf-8 text as hex for signing.
- The messages proposed for signing are displayed as UTF-8 text.
- When the message cannot be rendered as UTF-8 text, it is displayed as hexadecimal.
Fixes #1173
8 years ago
Dan Finlay
6fb33853f2
Fix test reference
8 years ago
Kevin Serrano
930dafc4b0
Fix spelling error.
8 years ago
Dan Finlay
d1bce61996
Remove irrelevant tests
8 years ago
Kevin Serrano
62854398f1
Tested against code to play nice with unit tests.
8 years ago
Dan Finlay
0584988688
Move sigUtil and keyrings to external modules
...
These external modules now have their own test coverage and build enforcement. This allowed me to somewhat more easily add good tests around our personalSign strategy (held now in [eth-sig-util](https://github.com/flyswatter/eth-sig-util ), and allow each of the keyrings to import that, etc.
8 years ago
Kevin Serrano
d0e2846eca
Complete migration tests.
8 years ago
Kevin Serrano
cd75d86187
Add migrations for removing terms of use data.
8 years ago
Dan Finlay
97b8410b30
Verify messages in a loop
8 years ago
Dan Finlay
f2486fbdd3
got hash test passing
8 years ago
Dan Finlay
b862d94209
Add failing test for signature recovery
8 years ago
Kevin Serrano
65c84ac4b2
Delete all code related to disclaimers.
8 years ago
Frankie
de6455151e
Revert old style message sighing
8 years ago
kumavis
e1719191f4
test - skip eth_sign tests until we have test data
8 years ago
kumavis
9e4ef45b6a
migration #9 - break out CurrencyController substate
8 years ago
kumavis
f08f40aee2
txManager - depend on preferencesStore
8 years ago
kumavis
0c6df24ecf
metamask - introduce networkStore
8 years ago
kumavis
99fa9ab13a
migration 7 - break off TransactionManager substate
8 years ago
kumavis
bcb86f38cb
messageManager - move view state to obs-store
8 years ago
Frankie
1b16b46241
code clan up and tests
8 years ago
kumavis
1cb730144d
metamask - adopt isInitialized from keyring controller
8 years ago
kumavis
cd5d952600
keyring - move identities into memStore
8 years ago
kumavis
c0d3db6a8c
keyring - synchronous getState
8 years ago
kumavis
2fa60cfcbf
continue rename selectedAccount to selectedAddress
8 years ago
Frankie
8be68575bb
Clean up message manger includes:
...
Provider egine bump
Remove presence of message manger in keyring controller
Change the status wording fom conf to approved
make Message manager a class
fix messages not being apart of the badge
re write message manger to better reflect controller pattern
8 years ago
kumavis
4dd6ba9c1b
migration 5 - move keyring controller state to substate
8 years ago
kumavis
3afd0ef27d
tests - remove persistence and start with initial state
8 years ago
kumavis
a14a25c423
config-manager - default to USD for currentFiat
8 years ago
kumavis
76ce348a04
obs-store - use published module
8 years ago
kumavis
463a56ff54
background controller - extract KeyringC.placeSeedWords to MetamaskC
8 years ago
Dan Finlay
7e886dff77
Wrote failing test for eth.sign
8 years ago
kumavis
4a09f856d1
test - keyring - simple - fix fixture data
8 years ago
kumavis
85634326e8
test - clear localStorage on test start
8 years ago
kumavis
91e5cc0f29
test - clear localStorage in case CI caches it (?)
8 years ago
kumavis
993daebc4e
test - txManager - add network to all txs
8 years ago
kumavis
3df9ce9809
tests - txManager - add getNetwork fn to fixture txManager
8 years ago
Frankie
87505e1742
fix for linting
8 years ago
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