-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[tracking] Migrate pallets to FRAME umbrella crate #6504
Copy link
Copy link
Closed
Labels
C2-good-first-issueA task for a first time contributor to become familiar with the Polkadot-SDK.A task for a first time contributor to become familiar with the Polkadot-SDK.D0-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder.Can be fixed primarily by duplicating and adapting code by an intermediate coder.I4-refactorCode needs refactoring.Code needs refactoring.R0-no-crate-publish-requiredThe change does not require any crates to be re-published.The change does not require any crates to be re-published.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.This PR/Issue is related to core FRAME, the framework.
Metadata
Metadata
Assignees
Labels
C2-good-first-issueA task for a first time contributor to become familiar with the Polkadot-SDK.A task for a first time contributor to become familiar with the Polkadot-SDK.D0-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder.Can be fixed primarily by duplicating and adapting code by an intermediate coder.I4-refactorCode needs refactoring.Code needs refactoring.R0-no-crate-publish-requiredThe change does not require any crates to be re-published.The change does not require any crates to be re-published.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.This PR/Issue is related to core FRAME, the framework.
The goal is to stabilize the FRAME umbrella crate, so that its use within an average pallet is relatively straightforward.
We intend to achieve this goal by migrating some pallets to
polkadot-sdk-frame, adding types and preludes to it when necessary. As a reference, you can look into #5995.The guidelines of the umbrella crate are as follows:
polkadot-sdk/substrate/frame/src/lib.rs
Lines 134 to 150 in 06a68be
✅ Checklist:
polkadot-sdk-frameto theCargo.tomlframe_support,sp_runtimeand similar, and replace with the appropriateprelude::*depsCargo.tomlto remove all unneeded dependencies.👉 If you want to work on this: Please check that there is not already a merge request for the pallet that you want to work on (here or in the comments below). Please pick only one or a small set of pallets - not all at once. This keeps review times low. Add a comment below to announce the pallets you're working on.
Pallet list
pallet-allianceto umbrella crate #6541pallet-assets-freezerto umbrella crate #6599pallet-atomic-swapto umbrella crate #6601pallet-aurato umbrella crate #6622pallet-authority-discoveryto umbrella crate #6619pallet-authorshipto umbrella crate #6620pallet-babe&pallet-staking-reward-curve#6412pallet-im-onlineto umbrella crate #6736pallet-indicesto umbrella crate #6737pallet-insecure-randomness-collective-flipto umbrella crate #6738pallet-lotteryto umbrella crate #6740pallet-proxyandpallet-multisig#5995pallet-proxyandpallet-multisig#5995pallet-babe&pallet-staking-reward-curve#6412pallet-timestampto umbrella crate #6523pallet-tipsto umbrella crate #6532pallet-tx-pauseto umbrella crate #6630pallet-verify-signatureto umbrella crate #6515pallet-whitelistto umbrella crate #6514