Skip to content

Latest commit

 

History

History
606 lines (361 loc) · 28.2 KB

MIGRATIONS.md

File metadata and controls

606 lines (361 loc) · 28.2 KB

Pool requests

number title createdAt mergedAt url migration
11411 make pool roles optional 2022-05-13T14:07:22Z 2022-05-15T07:25:49Z paritytech/substrate#11411 link
11357 Add Score to Bags List 2022-05-04T17:48:18Z 2022-05-19T16:40:32Z paritytech/substrate#11357 link
10821 Store validator self-vote in bags-list, and allow them to be trimmed for election 2022-02-08T15:31:33Z 2022-03-23T14:17:26Z paritytech/substrate#10821 link
10650 Remove all stale on_runtime_upgrade hooks in the runtime 2022-01-13T07:29:39Z 2022-01-19T19:58:47Z paritytech/substrate#10650 link
10649 Migration for over locked accounts in phgragmen elections 2022-01-13T01:58:10Z 2022-01-18T03:06:26Z paritytech/substrate#10649 link
10356 Preimage registrar and Scheduler integration 2021-11-23T21:13:50Z 2021-12-11T14:55:24Z paritytech/substrate#10356 link
10082 contracts: Add storage deposits 2021-10-22T09:56:54Z 2021-12-07T12:19:30Z paritytech/substrate#10082 link
9940 Add ClassAccount storage to unique pallet 2021-10-06T00:02:52Z 2021-12-18T15:41:05Z paritytech/substrate#9940 link
9878 pallet-session: Migrate the historical part to the new pallet macro 2021-09-28T07:09:08Z 2021-11-17T07:16:29Z paritytech/substrate#9878 link
9796 Migrate pallet-session to the new pallet macro 2021-09-16T04:25:04Z 2021-09-28T03:12:58Z paritytech/substrate#9796 link
9711 Migrate pallet-tips to the new pallet attribute macro 2021-09-07T03:18:53Z 2021-09-14T00:04:09Z paritytech/substrate#9711 link
9669 contracts: Remove state rent 2021-09-01T10:04:21Z 2021-09-06T16:40:59Z paritytech/substrate#9669 link
9566 Bounties Pallet to FrameV2 2021-08-14T22:22:07Z 2021-09-21T13:07:37Z paritytech/substrate#9566 link
9507 Implement pallet-bags-list and its interfaces with pallet-staking 2021-08-05T21:21:47Z 2021-09-17T02:25:22Z paritytech/substrate#9507 link
9472 Society Pallet to FrameV2 2021-08-02T05:03:37Z 2021-09-21T23:21:41Z paritytech/substrate#9472 link
9197 Migrate pallet-treasury to the new pallet attribute macro 2021-06-24T10:09:35Z 2021-07-13T07:26:58Z paritytech/substrate#9197 link
9165 Move PalletVersion away from the crate version 2021-06-21T20:48:41Z 2021-07-27T21:21:27Z paritytech/substrate#9165 link
9115 Migrate pallet-collective to the new pallet attribute macro 2021-06-15T09:05:11Z 2021-09-14T11:42:27Z paritytech/substrate#9115 link
9088 Migrate pallet-elections to pallet attribute macro 2021-06-12T03:55:23Z 2021-06-16T14:17:57Z paritytech/substrate#9088 link
9087 Migrate pallet-transaction-payment to new pallet attribute macro 2021-06-11T17:32:04Z 2021-06-25T03:23:37Z paritytech/substrate#9087 link
9083 Migrate pallet-staking to pallet attribute macro 2021-06-11T12:37:20Z 2021-06-12T00:22:40Z paritytech/substrate#9083 link
9080 Migrate pallet-membership to the new pallet attribute macro 2021-06-11T10:44:15Z 2021-09-07T12:17:26Z paritytech/substrate#9080 link
9061 Migrate pallet-randomness-collective-flip to pallet attribute macro 2021-06-10T01:59:22Z 2021-06-14T11:00:32Z paritytech/substrate#9061 link
8920 Add Control to Growth of the Staking Pallet 2021-05-27T04:26:06Z 2021-06-16T04:57:14Z paritytech/substrate#8920 link
8825 Migrate pallet-scored-pool to pallet attribute macro 2021-05-16T04:15:38Z 2021-05-31T05:57:20Z paritytech/substrate#8825 link
8824 Migrate pallet-democracy to pallet attribute macro 2021-05-16T02:34:15Z 2021-06-03T08:30:21Z paritytech/substrate#8824 link
8793 Simple MaxBoundedLen Implementations 2021-05-13T01:18:49Z 2021-05-28T18:35:15Z paritytech/substrate#8793 link
8773 contracts: Move Schedule from Storage to Config 2021-05-10T11:02:37Z 2021-05-13T19:56:12Z paritytech/substrate#8773 link
8769 Migrate pallet-scheduler to pallet attribute macro 2021-05-09T19:03:39Z 2021-05-18T08:52:17Z paritytech/substrate#8769 link
8763 Migrate pallet-offences to pallet attribute macro 2021-05-08T17:59:13Z 2021-05-12T16:38:46Z paritytech/substrate#8763 link
8762 Migrate pallet-lottery to pallet attribute macro 2021-05-08T03:39:34Z 2021-05-12T12:44:19Z paritytech/substrate#8762 link
8761 Migrate pallet-recovery to pallet attribute macro 2021-05-08T03:05:16Z 2021-05-12T12:50:22Z paritytech/substrate#8761 link
8741 Pallet-Multisig to framev2 2021-05-06T04:58:34Z 2021-05-21T06:40:19Z paritytech/substrate#8741 link
8724 Migrate pallet-grandpa to attribute macros 2021-05-04T10:16:54Z 2021-05-26T16:26:15Z paritytech/substrate#8724 link
8723 Migrate pallet-nicks to pallet attribute macro. 2021-05-04T10:10:15Z 2021-05-05T15:12:20Z paritytech/substrate#8723 link
8714 Migrate pallet-im-online to pallet attribute macro. 2021-05-03T11:21:27Z 2021-05-05T14:03:21Z paritytech/substrate#8714 link
8687 Make custom on runtime upgrade prior to pallet ones 2021-04-28T13:32:18Z 2021-05-03T08:57:26Z paritytech/substrate#8687 link
8663 Upgrade authorship pallet to Frame-v2 2021-04-24T03:42:56Z 2021-05-03T02:43:56Z paritytech/substrate#8663 link
8620 Authority Discovery to FRAME v2 2021-04-14T18:43:21Z 2021-04-18T02:23:27Z paritytech/substrate#8620 link
8465 Migrate pallet-indices to pallet! 2021-03-26T15:09:22Z 2021-03-31T18:08:29Z paritytech/substrate#8465 link
8452 Upgrade pallet atomic swap to FRAME v2 2021-03-25T10:27:03Z 2021-03-26T06:46:04Z paritytech/substrate#8452 link
8448 Migrate pallet-sudo to pallet! 2021-03-24T17:20:00Z 2021-03-26T14:54:09Z paritytech/substrate#8448 link
8440 Migrate pallet-vesting to pallet attribute macro. 2021-03-24T08:21:40Z 2021-03-24T12:29:30Z paritytech/substrate#8440 link
8414 Remove Offence delay 2021-03-22T09:00:10Z 2021-05-03T07:53:09Z paritytech/substrate#8414 link
8365 Migrate pallet-proxy to pallet attribute macro 2021-03-16T03:10:24Z 2021-03-17T08:52:42Z paritytech/substrate#8365 link
8337 Migrate node authorization pallet to FRAME v2 2021-03-12T06:23:00Z 2021-03-17T13:32:24Z paritytech/substrate#8337 link
8326 Migrate pallet-utility to pallet attribute macro. 2021-03-11T10:58:21Z 2021-03-24T10:35:39Z paritytech/substrate#8326 link
8310 Migrate pallet-babe to pallet attribute macro. 2021-03-10T11:22:32Z 2021-03-17T20:47:40Z paritytech/substrate#8310 link
8231 contracts: Expose rent parameter to contracts 2021-03-01T09:53:00Z 2021-03-12T11:21:08Z paritytech/substrate#8231 link
8221 Self-sufficient account ref-counting 2021-02-27T16:02:16Z 2021-03-03T21:28:06Z paritytech/substrate#8221 link
8220 Assets: Remove zombies, introduce approvals 2021-02-27T13:50:35Z 2021-03-09T12:38:34Z paritytech/substrate#8220 link
8113 Decouple Staking and Election - Part 2.1: Unleash Multi Phase 2021-02-13T11:58:14Z 2021-03-20T08:43:47Z paritytech/substrate#8113 link
8078 Migrate pallet-timestamp to pallet attribute macro. 2021-02-09T09:45:37Z 2021-02-10T14:00:42Z paritytech/substrate#8078 link
8072 Return babe configuration information in the babe api epoch functions 2021-02-08T14:05:28Z 2021-03-10T08:40:23Z paritytech/substrate#8072 link
8044 migrate pallet-elections-phragmen to attribute macros 2021-02-04T10:30:54Z 2021-04-23T07:12:34Z paritytech/substrate#8044 link
7984 Migrate assets pallet to new macros 2021-01-26T10:36:22Z 2021-02-04T11:23:21Z paritytech/substrate#7984 link
7936 Migrate pallet-balances to pallet attribute macro 2021-01-20T13:49:55Z 2021-02-10T12:33:26Z paritytech/substrate#7936 link
7930 Allow validators to block and kick their nominator set. 2021-01-19T07:36:04Z 2021-01-20T11:29:11Z paritytech/substrate#7930 link
7898 Migrate frame-system to pallet attribute macro 2021-01-14T11:20:54Z 2021-01-20T10:48:20Z paritytech/substrate#7898 link
7208 Implements pallet versioning 2020-09-24T19:27:35Z 2020-10-21T17:05:53Z paritytech/substrate#7208 link
7205 Move proxies migration 2020-09-24T15:55:46Z 2020-09-25T09:11:49Z paritytech/substrate#7205 link
7164 u32 Refcounts, plus migration 2020-09-21T14:38:09Z 2020-09-22T16:20:39Z paritytech/substrate#7164 link
7040 Fix elections-phragmen and proxy issue 2020-09-07T14:43:14Z 2021-01-20T14:19:50Z paritytech/substrate#7040 link
6969 Allow pallet in construct_runtime to have fixed index 2020-08-27T16:19:16Z 2020-09-22T14:54:04Z paritytech/substrate#6969 link
6770 Time-delay proxies 2020-07-30T13:08:18Z 2020-08-23T10:52:41Z paritytech/substrate#6770 link
6476 Remove lingering runtime upgrades 2020-06-22T19:54:11Z 2020-06-23T10:42:29Z paritytech/substrate#6476 link
6387 Allow specify schedule dispatch origin 2020-06-18T03:41:09Z 2020-07-02T13:05:15Z paritytech/substrate#6387 link
6334 Fix the broken weight multiplier update function 2020-06-11T14:53:46Z 2020-06-17T13:20:18Z paritytech/substrate#6334 link
6307 Introduce frozen indices. 2020-06-09T10:27:52Z 2020-06-09T14:31:19Z paritytech/substrate#6307 link
6273 Introduce stacked filtering 2020-06-06T11:35:38Z 2020-06-08T11:09:13Z paritytech/substrate#6273 link
6253 Remove pre-simple-payout code from staking 2020-06-04T14:58:03Z 2020-06-05T11:09:01Z paritytech/substrate#6253 link
5870 Remove Old Migration Code 2020-05-02T11:59:41Z 2020-05-03T08:54:21Z paritytech/substrate#5870 link
5828 Democracy weight 2020-04-29T14:35:52Z 2020-05-15T11:25:44Z paritytech/substrate#5828 link
5673 Migration for pallet-transaction-payment transitioning to u64 weights 2020-04-16T16:22:10Z 2020-04-17T07:56:18Z paritytech/substrate#5673 link
5412 Introduce scheduler and use it for the democracy dispatch queue 2020-03-26T10:10:20Z 2020-04-01T13:52:40Z paritytech/substrate#5412 link
5406 Simple Staking Payouts 2020-03-26T01:07:57Z 2020-04-04T12:50:09Z paritytech/substrate#5406 link
5346 Sensible way of selecting Prime member 2020-03-21T21:13:42Z 2020-03-23T10:52:45Z paritytech/substrate#5346 link
5294 Redesign Democracy pallet 2020-03-18T10:39:31Z 2020-03-21T15:08:49Z paritytech/substrate#5294 link
5226 Refactor away from opaque hashes 2020-03-11T15:32:28Z 2020-03-16T22:19:54Z paritytech/substrate#5226 link
5058 Introduce on_runtime_upgrade 2020-02-25T18:55:47Z 2020-03-05T12:44:19Z paritytech/substrate#5058 link
5010 Assign unique storage names to pallets. 2020-02-20T16:17:58Z 2020-03-14T11:44:48Z paritytech/substrate#5010 link
4895 Lazy reaping 2020-02-11T19:40:29Z 2020-02-24T17:04:43Z paritytech/substrate#4895 link
4820 Composite accounts 2020-02-04T12:25:58Z 2020-02-14T00:47:52Z paritytech/substrate#4820 link
4662 Make Staking pallet using a proper Time module. 2020-01-17T13:28:35Z 2020-03-26T10:04:53Z paritytech/substrate#4662 link
4649 Refactor the balances module 2020-01-16T16:27:33Z 2020-02-01T13:20:17Z paritytech/substrate#4649 link
4474 Lazy payouts 2019-12-21T14:39:40Z 2020-03-03T13:48:21Z paritytech/substrate#4474 link
3948 Storage migration of elections-phragmen 2019-10-28T18:52:02Z 2019-10-29T14:46:35Z paritytech/substrate#3948 link

Migrations

11411

skip

Pallet nomination-pools is not used in Sora

11357

skip

bags-list is new pallet, don't need migrations

10821

Pallet staking v9. Need migration

https://github.com/paritytech/substrate/blob/94038133e97f1c414aec507dd883ab14a2749b7e/frame/staking/src/migrations.rs

10650

Removed automatic migrations from some pallets including staking. Need to add migrations manually

10649

elections-phragmen v5. Need to migrate

https://github.com/paritytech/substrate/blob/d65dfa8e4b758d2244d32b31b5ac5fa7450e1a3a/frame/elections-phragmen/src/migrations/v5.rs

10356

Scheduler v3. Need to migrate

PR contains instructions paritytech/substrate#10356

10082

skip

Pallet contracts is not used in Sora

9940

skip

Pallet uniques is not used in Sora

9878

pallet-session historical update to FRAME v2. Need to rename pallet from Session to Historical

https://github.com/koushiro/substrate/blob/4b1baeb68bbfa4d4a2170afd363bf8df7484a206/frame/session/src/migrations/v1.rs

9796

skip

pallet-session update to FRAME v2. Migration is not needed, because we use Session in runtime name, same as in pallet declaration

9711

skip

Pallet tips is not used in Sora

9669

skip

Pallet contracts is not used in Sora

9566

skip

Pallet bounties is not used in Sora

9507

Pallet staking v8. Need migration

https://github.com/paritytech/substrate/blob/800223484a68a347e1ff9389dbf13018d82f004c/frame/staking/src/migrations.rs

9472

skip

Pallet society is not used in Sora

9197

skip

Pallet treasury is not used in Sora

9165

Remove PalletVersion and add StorageVersion. Need to migrate

https://github.com/paritytech/substrate/blob/37d9280b2803de850240049d5b1e794703079070/frame/support/src/migrations.rs

9115

Pallet collective update to FRAME v2. Need migration

Need to rename Instance1Collective to Council and Instance2Collective to TechnicalCommitte

9088

skip

Pallet elections is not used in Sora

9087

skip

Pallet transaction-payment update to FRAME v2. We use TransactionPayment name in runtime, migration is not needed.

9083

skip

Pallet staking update to FRAME v2. We use Staking name in runtime, migration is not needed.

9080

Pallet membership update to FRAME v2. Need migration

Need to rename Instance1Membership to TechnicalMembership

9061

skip

Pallet randomness-collective-flip update to FRAME v2. We use RandomnessCollectiveFlip name in runtime, migration is not needed.

8920

Pallet staking v7. Need migration

8825

skip

Pallet scored-pool is not used in Sora

8824

skip

Pallet democracy update to FRAME v2. We use Democracy name in runtime, migration is not needed.

8793

skip

in asset pallet: we now use a BoundedVec in the type AssetMetadata which is stored in Metadata storage. If a value in Metadata storage contains a value with a name or a symbol of length more than Config::StringLimit::get(), then the value must be migrated in some way (removed, or updated with a name and symbol of length less or equal to Config::StringLimit::get(). This can happen if the runtime has set a limit for StringLimit and then decreased the limit in another runtime upgrade, while keeping some value which were accepted by the previous limit in storage.

in proxy pallet: we now use a BoundedVec in the storage Proxies. if a value in Proxries contains more a vec of length more than Config::MaxProxies::get() then it must be migrated. This can happen if the runtime has set a limit for MaxProxies and then decreased the limit in another runtime upgrade, while keeping some value which were accepted by the previous limit in storage.

Migration is not needed

8773

skip

Pallet contracts is not used in Sora

8769

skip

Pallet scheduler update to FRAME v2. We use Scheduler name in runtime, migration is not needed.

8763

skip

Pallet offences update to FRAME v2. We use Offences name in runtime, migration is not needed.

8762

skip

Pallet lottery is not used in Sora

8761

skip

Pallet recovery is not used in Sora

8741

skip

Pallet multisig update to FRAME v2. We use Multisig name in runtime, migration is not needed.

8724

Pallet grandpa update to FRAME v2. Need migration

Need to rename GrandpaFinality to Grandpa

8723

skip

Pallet nicks is not used in Sora

8714

skip

Pallet im-online update to FRAME v2. We use ImOnline name in runtime, migration is not needed.

8687

skip

Make custom on runtime upgrade prior to pallet ones. Migration is not needed.

8663

skip

Pallet authorship update to FRAME v2. We use Authorship name in runtime, migration is not needed.

8620

skip

Pallet authority-discovery is not used in Sora

8465

skip

Pallet indices is not used in Sora

8452

skip

Pallet atomic-swap is not used in Sora

8448

skip

Pallet sudo update to FRAME v2. We use Sudo name in runtime, migration is not needed. Also sudo is not used in mainnet

8440

skip

Pallet vesting is not used in Sora

8414

Pallet offences update. Need migration

https://github.com/Lohann/substrate/blob/f53b79832ffa5c19f00c710c992bc7becd37c09a/frame/offences/src/migration.rs

8365

skip

Pallet proxy is not used in Sora

8337

skip

Pallet node-authorization is not used in Sora

8326

skip

Pallet utility update to FRAME v2. We use Utility name in runtime, migration is not needed 10649

8310

skip

Pallet babe update to FRAME v2. We use Babe name in runtime, migration is not needed

8231

skip

Pallet contracts is not used in Sora

8221

Pallet system update. Need migration

https://github.com/paritytech/substrate/blob/8568e79f88eeddddd8eba58f9f9485a0e7c6fdca/frame/system/src/lib.rs

Need to migrate from dual ref count to triple ref count

8220

skip

Pallet assets(substrate version) is not used in Sora

8113

Pallet staking v6. Need migration

8078

skip

Already applied

8072

babe config information. Need migration

https://github.com/paritytech/substrate/blob/35ff1cfe1e68623368f88052a6a77b70721915e9/frame/babe/src/lib.rs

8044

Pallet elections-phragmen update to FRAME v2. Need migration

Need to rename PhragmenElection to ElectionsPhragmen

7984

skip

Pallet assets(substrate version) is not used in Sora

7936

skip

Already applied

7930

skip

Already applied

7898

skip

Already applied

7208

skip

Already applied

7205

skip

Already applied. Also proxy pallet is not used in Sora.

7164

skip

Already applied

7040

skip

Already applied

6969

skip

Already applied

6770

6476

6387

6334

6307

6273

6253

5870

5828

5673

5412

5406

5346

5294

5226

5058

5010

4895

4820

4662

4649

4474

3948

skip

Too old. Not checked, because current substrate version contains much later commits

New pallets

Bags list

TODO: Check proper pallet initialization

Need migration

10821

Pallet staking v9. Need migration

https://github.com/paritytech/substrate/blob/94038133e97f1c414aec507dd883ab14a2749b7e/frame/staking/src/migrations.rs

10650

Removed automatic migrations from some pallets including staking. Need to add migrations manually

10649

elections-phragmen v5. Need to migrate

https://github.com/paritytech/substrate/blob/d65dfa8e4b758d2244d32b31b5ac5fa7450e1a3a/frame/elections-phragmen/src/migrations/v5.rs

10356

Scheduler v3. Need to migrate

PR contains instructions paritytech/substrate#10356

9878

pallet-session historical update to FRAME v2. Need to rename pallet from Session to Historical

https://github.com/koushiro/substrate/blob/4b1baeb68bbfa4d4a2170afd363bf8df7484a206/frame/session/src/migrations/v1.rs

9507

Pallet staking v8. Need migration

https://github.com/paritytech/substrate/blob/800223484a68a347e1ff9389dbf13018d82f004c/frame/staking/src/migrations.rs

9165

Remove PalletVersion and add StorageVersion. Need to migrate

https://github.com/paritytech/substrate/blob/37d9280b2803de850240049d5b1e794703079070/frame/support/src/migrations.rs

9115

Pallet collective update to FRAME v2. Need migration

Need to rename Instance1Collective to Council and Instance2Collective to TechnicalCommitte

9080

Pallet membership update to FRAME v2. Need migration

Need to rename Instance1Membership to TechnicalMembership

8920

Pallet staking v7. Need migration

8724

Pallet grandpa update to FRAME v2. Need migration

Need to rename GrandpaFinality to Grandpa

8414

Pallet offences update. Need migration

https://github.com/Lohann/substrate/blob/f53b79832ffa5c19f00c710c992bc7becd37c09a/frame/offences/src/migration.rs

8221

Pallet system update. Need migration

https://github.com/paritytech/substrate/blob/8568e79f88eeddddd8eba58f9f9485a0e7c6fdca/frame/system/src/lib.rs

Need to migrate from dual ref count to triple ref count

8113

Pallet staking v6. Need migration

8072

babe config information. Need migration

https://github.com/paritytech/substrate/blob/35ff1cfe1e68623368f88052a6a77b70721915e9/frame/babe/src/lib.rs

8044

Pallet elections-phragmen update to FRAME v2. Need migration

Need to rename PhragmenElection to ElectionsPhragmen