Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[Deprecation] Deprecate decl_* macros #12248

Closed
KiChjang opened this issue Sep 13, 2022 · 6 comments
Closed

[Deprecation] Deprecate decl_* macros #12248

KiChjang opened this issue Sep 13, 2022 · 6 comments
Assignees
Labels
I7-refactor Code needs refactoring. T1-runtime This PR/Issue is related to the topic “runtime”. Z1-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder Z6-mentor An easy task where a mentor is available. Please indicate in the issue who the mentor could be.

Comments

@KiChjang
Copy link
Contributor

KiChjang commented Sep 13, 2022

We've now basically migrated from the previous function-like decl_* macros into the #[pallet] attribute macros, and it's time that we start deprecating/removing the old decl_ macros.

@KiChjang KiChjang added I7-refactor Code needs refactoring. Z6-mentor An easy task where a mentor is available. Please indicate in the issue who the mentor could be. Z1-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder labels Sep 13, 2022
@yourarj
Copy link

yourarj commented Sep 17, 2022

@KiChjang I would like to take it up.

@ggwpez
Copy link
Member

ggwpez commented Mar 15, 2023

There are two merge requests leading up to this #12401 and #12445 which are both stale&closed.
Maybe someone can give this another nudge? The old macros still pollute the code base.

@juangirini
Copy link
Contributor

The deprecated Module type alias for Pallet should also be removed

@juangirini juangirini added the T1-runtime This PR/Issue is related to the topic “runtime”. label Jun 7, 2023
@ggwpez
Copy link
Member

ggwpez commented Jun 15, 2023

The deprecated Module type alias for Pallet should also be removed

I am not familiar with this, but looks like it already is deprecated?! Since two years actually…

#[deprecated(note = "use `Pallet` instead")]

@juangirini
Copy link
Contributor

I am not familiar with this, but looks like it already is deprecated?! Since two years actually…

Yes, it's already time to remove it :)

@ggwpez
Copy link
Member

ggwpez commented Jun 16, 2023

Okay so closing his and creating another one for removal.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I7-refactor Code needs refactoring. T1-runtime This PR/Issue is related to the topic “runtime”. Z1-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder Z6-mentor An easy task where a mentor is available. Please indicate in the issue who the mentor could be.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants