1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +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
003.js
004.js
005.js
006.js
007.js
008.js
009.js
010.js
011.js
012.js
013.js eslint --fix . 2018-07-02 18:49:33 -04:00
014.js
015.js
016.js
017.js
018.js
019.js
020.js
021.js
022.js
023.js eslint --fix . 2018-07-02 18:49:33 -04:00
024.js
025.js
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
template.js

Migrations

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

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