This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Couldn't load subscription status.
- Fork 2.7k
frame-support: migrate some tests from decl_* macros to the new pallet macros
#12401
Merged
paritytech-processbot
merged 12 commits into
paritytech:master
from
koushiro:remove-decl-macros-part1
Apr 25, 2023
Merged
frame-support: migrate some tests from decl_* macros to the new pallet macros
#12401
paritytech-processbot
merged 12 commits into
paritytech:master
from
koushiro:remove-decl-macros-part1
Apr 25, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
decl_* macros to the new pallet macros
KiChjang
reviewed
Oct 3, 2022
KiChjang
reviewed
Oct 3, 2022
|
Is there anyone else who can review this PR? |
kianenigma
reviewed
Oct 25, 2022
kianenigma
approved these changes
Nov 17, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks broadly good, just a bit confused about naming details.
…part1 Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
ggwpez
reviewed
Apr 12, 2023
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
ggwpez
reviewed
Apr 17, 2023
|
bot rebase |
|
Rebased |
ggwpez
approved these changes
Apr 25, 2023
|
bot merge |
gpestana
pushed a commit
that referenced
this pull request
May 4, 2023
…llet` macros (#12401) * frame-support: migrate some tests from decl macros to new pallet attribute macros * Remove useless type alias * Remove useless type alias * Work around for rust issue 52234 Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Use polkadot-compatible paste version Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix crate access and add tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Typo Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
15 tasks
nathanwhit
pushed a commit
to nathanwhit/substrate
that referenced
this pull request
Jul 19, 2023
…llet` macros (paritytech#12401) * frame-support: migrate some tests from decl macros to new pallet attribute macros * Remove useless type alias * Remove useless type alias * Work around for rust issue 52234 Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Use polkadot-compatible paste version Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix crate access and add tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Typo Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A0-please_review
Pull request needs code review.
B0-silent
Changes should not be mentioned in any release notes
C1-low
PR touches the given topic and has a low impact on builders.
D3-trivial 🧸
PR contains trivial changes in a runtime directory that do not require an audit
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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-supportfrom olddecl_*macros to the new pallet attribute macros.After this, I will migrate the
frame-support-testfromdecl_*macros to pallet macros and finally remove thedecl_*macros and do some other trivial things.