-
Notifications
You must be signed in to change notification settings - Fork 2.6k
frame-support-test: migrate tests from decl_*
macros to the new pallet
macros
#12445
frame-support-test: migrate tests from decl_*
macros to the new pallet
macros
#12445
Conversation
decl_*
macros to the new pallet
macros
Maybe I should use By now, I removed the |
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.
Didn't look too closely, but LGTM.
@kianenigma I think #12401 could be reviewed and merged firstly? |
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions. |
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
/// sufficient balance to cover the minimum stake for the role. | ||
/// Bonding only occurs after successful entry into a role. | ||
#[pallet::storage] | ||
#[pallet::getter(fn role_entry_requests)] |
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.
I will keep the getters in the tests as we should remove them here last IMHO as to not accidentally break them.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
bot rebase |
Rebased |
bot rebase |
Rebased |
bot merge |
/tip large (combined tip together for #12401, therefore large) |
@ggwpez Contributor did not properly post their account address. Make sure the pull request description has: "{network} address: {address}". |
showerthought: would be cool if they could just specify it in their github bio 🤔 |
…llet` macros (paritytech#12445) * frame-support: migrate some tests from decl macros to new pallet attribute macros * Remove useless type alias * Remove useless type alias * frame-support-test: migrate old decl_macros to new pallet attribute macros * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix features Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove deprecated stuff Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update UI tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix UI test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update UI tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Cleanup Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <>
What does it do?
This PR is a part of #12248 and it need #12401 to be merged firstly
In this PR, I migrate the tests of
frame/support/test
from olddecl_*
macros to the newpallet
attribute macros, and remove some useless tests.After this, I will remove the
decl_*
macros and do some other trivial things.