substrate icon indicating copy to clipboard operation
substrate copied to clipboard

frame-support: migrate some tests from `decl_*` macros to the new `pallet` macros

Open koushiro opened this issue 3 years ago • 1 comments

What does it do?

This PR is a part of #12248.

After some discussion in #12326, most developers prefer to just remove the old decl_* macros. But there is a lot of code changes involved, so I split it into multiple smaller PRs to be reviewed and merged as quickly as possible into the master branch.

In this PR, I migrate the some tests of frame-support from old decl_* macros to the new pallet attribute macros.

After this, I will migrate the frame-support-test from decl_* macros to pallet macros and finally remove the decl_* macros and do some other trivial things.

koushiro avatar Oct 03 '22 07:10 koushiro

@shawntabrizi @kianenigma @bkchr @KiChjang PTAL

koushiro avatar Oct 03 '22 07:10 koushiro

Is there anyone else who can review this PR?

koushiro avatar Oct 25 '22 07:10 koushiro

bot rebase

ggwpez avatar Apr 25 '23 11:04 ggwpez

Rebased

bot merge

ggwpez avatar Apr 25 '23 11:04 ggwpez