Brad Decker
a49a4a066c
expand transaction constants coverage ( #9790 )
...
* expand transaction constants coverage
* touchups
* dont import inside of e2e
* Update app/scripts/controllers/transactions/tx-state-manager.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Update test/unit/app/controllers/transactions/tx-controller-test.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
4 years ago
Whymarrh Whitby
b6ccd22d6c
Update ESLint shared config to v3 ( #9274 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Whymarrh Whitby
6ab12001e3
Fix prefer-destructuring issues ( #9263 )
...
See [`prefer-destructuring`](https://eslint.org/docs/rules/prefer-destructuring ) for more information.
This change enables `prefer-destructuring` and fixes the issues raised by the rule.
4 years ago
Mark Stacey
9a624dd24c
Revert the revert of "LoginPerSite"
...
This reverts commit 466ece4588
, which has
the message:
"Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648 )"
This effectively re-introduces the changes from the "LoginPerSite" PR.
5 years ago
Mark Stacey
398a45bfdd
Replace `clone` dependency with `cloneDeep` from lodash ( #7926 )
...
This was done to reduce the number of direct dependencies we have. It
should be functionally equivalent. The bundle size should not change,
as we use `clone` as a transitive dependency in a number of places.
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Mark Stacey
466ece4588
Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" ( #7648 )
...
This reverts commit 1110287fe1
, reversing
changes made to 72eb233ee9
.
5 years ago
Whymarrh Whitby
aa41057628
Update ESLint rules for curly braces style ( #7477 )
...
* eslint: Enable curly and brace-style
* yarn lint --fix
5 years ago
Whymarrh Whitby
4d88e1cf86
Enable indent linting via ESLint ( #6936 )
...
* Enable indent linting via ESLint
* yarn run lint:fix
5 years ago
Whymarrh Whitby
094e4cf555
Check for unused function arguments ( #6583 )
...
* eslint: Check for unused function arguments
* eslint: Ignore unused '_' in argument list
Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly
* Remove and rename unused arguments
6 years ago
kumavis
2b880dd4e0
migrations - report migrations errors to sentry with vault structure
7 years ago
frankiebee
4efc718074
make migration-24 compat with first-time-state
7 years ago
frankiebee
8243824c6a
hot-fix - migrate unaproved txParams so that the from is lowercase
7 years ago
kumavis
512b6cae81
migration 16 - move resubmit warning back to submitted state
8 years ago
frankiebee
4e0ec74bb7
Create a migration for setting tx's with the message 'Gave up submitting tx.' as failed
8 years ago
Thomas Huang
6bdb4c8728
Fix linting warnings
8 years ago
Kevin Serrano
16c76d5229
Create migration to erase body in read notices.
8 years ago
Kevin Serrano
177f2dc948
Fix description of some migrations.
8 years ago
Kevin Serrano
75f7c1244a
Made migrations non-destructive; fixed currency migration.
8 years ago
Kevin Serrano
cd75d86187
Add migrations for removing terms of use data.
8 years ago
Dan Finlay
4dc71ed57b
Got ShapeShiftController back to working
8 years ago
kumavis
77f8995568
migrations - fix migration #9 and add safety checks to migrator
8 years ago
kumavis
9e4ef45b6a
migration #9 - break out CurrencyController substate
8 years ago
kumavis
8b5e3aa287
migration #8 - break out NoticeController substate
8 years ago
kumavis
99fa9ab13a
migration 7 - break off TransactionManager substate
8 years ago
kumavis
0b9d37c6c8
migration #6 - fix selectedAddress data source
8 years ago
kumavis
f9b31fe2c3
rename selectedAccount to selectedAddress
8 years ago
kumavis
7a0acb2333
migration #6 - move selectedAccount from keyringController to preferencesController
8 years ago