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.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Pools] Fix issues with member migration to
DelegateStake
#4822[Pools] Fix issues with member migration to
DelegateStake
#4822Changes from 44 commits
11a0c44
efd3324
3f8d2fc
7388573
6634d25
a3901a9
462be1f
c7e9f6c
9a68720
268d0a5
000762f
a904fc8
0c776b8
699a2ec
c3fa887
3d2379e
ec9035c
a9d4595
8a27ae0
8f77ac4
7fd484a
9925a9f
4a9f35f
bc3ce11
5b91644
6ceb1ba
de48083
fd8a451
ab2317b
cfdaf90
d5634c4
0da9807
00f7e6f
1514c2b
3dee9c4
8c96add
2440303
95bf173
c6eafa5
c209d9e
cbfbf6f
acbb674
65cecb5
4081f12
8cdde30
99698d6
5e465f2
c38f83c
b3a3263
dfcdc42
5082542
bce9803
ae9a370
251ba4c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
If you want to easily reuse this code for other runtimes, should this part onward live in the pallet, generic over
<T: Runtime>
?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.
or maybe you are fine with copy-pasting it.
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.
By adding it in the westend runtime, I get a runtime configuration closer to mainnets (kusama/polkadot). For example: The nomination pool pallet test runtime config does not even include pallet-staking.
I have been generally reusing this by just pointing to the polkadot or kusama node with ED the only thing that differs between the runtimes relevant for this test. The most accurate test though would be by copy pasting. Does that make sense?