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
Whymarrh Whitby 86b165ea83
Add migration notification for users with Sai (#7450)
Maker has upgraded its Dai token to "Multi-Collateral Dai" (MCD) and requires
all users interacting with Dai migrate their tokens to the new version. Dai
now exclusively refers to Multi-Collateral Dai and what was previouly called
Dai is now Sai (Single Collateral Dai).

In this description, Sai refers to what was (prior to the 2019-11-18) known as Dai.
Dai is the _new_ token.

This changeset:

1. Only affects users who had non-zero Sai at the old contract address
2. Displays a persistent notification for users with Sai
3. Updates the token symbol for users already tracking the Sai token
4. Bumps our direct and indirect eth-contract-metadata dependencies

The notification copy:

> A message from Maker: The new Multi-Collateral Dai token has been released. Your old tokens are now called Sai. Please upgrade your Sai tokens to the new Dai.

The copy is from the Maker team.
2019-11-18 18:16:28 -03:30
..
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 Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
019.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10: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 Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
025.js Check for unused function arguments (#6583) 2019-05-08 15:51:33 -04: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
030.js fix - migration 30 undefinds (#6079) 2019-01-31 10:09:28 -08:00
031.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
032.js Remove betaUI preference state, replace with completedUiMigration 2019-02-05 08:49:55 -03:30
033.js Remove NoticeController (#6382) 2019-04-01 22:33:54 -02:30
034.js Default Privacy Mode to ON, allow force sharing address (#6904) 2019-08-01 10:54:33 -02:30
035.js Add migration to remove seedWords state (#6937) 2019-08-02 10:28:25 -02:30
036.js Connections settings tab (#7013) 2019-08-15 18:37:18 -02:30
037.js address book entries by chainId (#7205) 2019-09-21 14:36:05 -03:00
038.js Add a/b test for full screen transaction confirmations (#7162) 2019-09-24 17:08:38 -04:00
039.js Add migration notification for users with Sai (#7450) 2019-11-18 18:16:28 -03:30
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 Add migration notification for users with Sai (#7450) 2019-11-18 18:16:28 -03:30
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 {}.