1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/unit/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
..
021-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
022-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
023-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
024-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
025-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
026-test.js Fix migration 026 to produce the correct shape for state.identities 2018-05-17 13:35:38 -02:30
027-test.js test - fix for lint 2018-07-10 11:43:00 -07:00
028-test.js tests for migration 28 2018-08-09 16:41:16 -04:00
029-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
030-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
031-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
033-test.js Remove NoticeController (#6382) 2019-04-01 22:33:54 -02:30
034-test.js Add test cases for migration 34 (#6938) 2019-08-01 14:03:20 -02:30
035-test.js Add migration to remove seedWords state (#6937) 2019-08-02 10:28:25 -02:30
036-test.js Connections settings tab (#7013) 2019-08-15 18:37:18 -02:30
037-test.js address book entries by chainId (#7205) 2019-09-21 14:36:05 -03:00
038-test.js Add a/b test for full screen transaction confirmations (#7162) 2019-09-24 17:08:38 -04:00
039-test.js Add migration notification for users with Sai (#7450) 2019-11-18 18:16:28 -03:30
migrations-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
migrator-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
template-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00