1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/app/scripts/migrations
Dan Finlay fdea642e6d
Auto fail transactions that have been approved for over 12 hours (#5765)
* Auto fail transactions that have been approved for over 12 hours

Converts txs using a migration.

This migration uses a new helper function that generates tx-failing
migrations, and only requires a version, error message, and condition to
run on each transaction.

* Linted

* Only migrate approved txs to failed

* Cleanup

* Cleanup

* Small lint fixes
2018-11-16 21:27:01 -08:00
..
002.js Fix linting warnings 2017-04-26 21:05:45 -07:00
003.js Fix linting warnings 2017-04-26 21:05:45 -07:00
004.js Fix linting warnings 2017-04-26 21:05:45 -07:00
005.js Fix linting warnings 2017-04-26 21:05:45 -07:00
006.js Fix linting warnings 2017-04-26 21:05:45 -07:00
007.js Fix linting warnings 2017-04-26 21:05:45 -07:00
008.js Fix linting warnings 2017-04-26 21:05:45 -07:00
009.js Fix linting warnings 2017-04-26 21:05:45 -07:00
010.js Fix linting warnings 2017-04-26 21:05:45 -07:00
011.js Fix linting warnings 2017-04-26 21:05:45 -07:00
012.js Fix linting warnings 2017-04-26 21:05:45 -07:00
013.js eslint --fix . 2018-07-02 18:49:33 -04:00
014.js Add a migration for the network controller 2017-05-23 01:55:20 -04:00
015.js migrations - back fixes 2018-04-05 19:33:10 -07:00
016.js migrations - back fixes 2018-04-05 19:33:10 -07:00
017.js migrations - back fixes 2018-04-05 19:33:10 -07:00
018.js meta - transactions - create a transactions dir in controller and move relevant files into it 2018-04-10 14:28:05 -07:00
019.js migrations - back fixes 2018-04-05 19:33:10 -07:00
020.js Fix migration comment 2017-11-29 11:51:27 -08:00
021.js remove RecentBlocks from disk 2018-01-31 10:49:58 -08:00
022.js migrations - back fixes 2018-04-05 19:33:10 -07:00
023.js eslint --fix . 2018-07-02 18:49:33 -04:00
024.js Merge pull request #3900 from MetaMask/migration-error-report 2018-04-05 15:03:53 -07:00
025.js create migration 25 2018-04-05 18:05:03 -07:00
026.js Fix return value of migration 26 when missing KC or PC 2018-06-01 15:46:31 -07:00
027.js migration 27 - remove rejected transactions from state 2018-06-25 11:45:00 -07:00
028.js fix migration 28 2018-08-09 16:15:56 -04:00
029.js Auto fail transactions that have been approved for over 12 hours (#5765) 2018-11-16 21:27:01 -08:00
fail-tx.js Auto fail transactions that have been approved for over 12 hours (#5765) 2018-11-16 21:27:01 -08:00
index.js Auto fail transactions that have been approved for over 12 hours (#5765) 2018-11-16 21:27:01 -08:00
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
template.js meta - create a migration template 2018-04-05 16:25:13 -07:00

Migrations

Data (user data, config files etc.) is migrated from one version to another.

Migrations are called by {} from {} during {}.