Jared Pereira
4916331c53
change BN.mul to BN.muln
8 years ago
Jared Pereira
de44cd9ba4
add gas buffer multiply test
8 years ago
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
a97cfffe15
Fixed reference
8 years ago
Dan Finlay
8f87bacc1b
Fix references in tests
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
Dan Finlay
2baedc56ea
Add log global to test suite
8 years ago
Kevin Serrano
736637363b
Integration tests play nice with new disabled buttons.
8 years ago
Kevin Serrano
bf9d1f405f
add waits between notices.
8 years ago
Kevin Serrano
d0e2846eca
Complete migration tests.
8 years ago
Kevin Serrano
6ddd613a15
Adding additional migration state to account for moving data.
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
092ec9096b
Fix integration tests.
8 years ago
Kevin Serrano
65c84ac4b2
Delete all code related to disclaimers.
8 years ago
mapachurro
5c9202b2d2
Update first-time.js
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
kumavis
dacbf16fe2
test - first-time - re-add terms header check
8 years ago
kumavis
d8a12c2ad0
tests - mockDev - fix first-time flow
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