substrate
substrate copied to clipboard
frame-support: migrate some tests from `decl_*` macros to the new `pallet` macros
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.
@shawntabrizi @kianenigma @bkchr @KiChjang PTAL
Is there anyone else who can review this PR?
bot rebase
Rebased
bot merge