Skip to content
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

Staking Migration Tests #19

Closed
wants to merge 2 commits into from
Closed

Conversation

apopiak
Copy link
Collaborator

@apopiak apopiak commented Jul 30, 2020

This PR ports some staking migration tests from paritytech#4474 and paritytech#5406 to our migration.

@apopiak
Copy link
Collaborator Author

apopiak commented Jul 30, 2020

Sorry for all the noise, ran rustfmt in-between somewhere 😬

@@ -1970,6 +1967,20 @@ decl_module! {
<Self as Store>::UnappliedSlashes::insert(&era, &unapplied);
}

#[weight = 500_000_000]
fn payout_nominator(origin, era: EraIndex, validators: Vec<(T::AccountId, u32)>)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might not want to add this, you cannot add the migration tests then, though.

@drewstone drewstone closed this Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants