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

Force the validators in the waiting list to run an authority node #546

Merged
merged 2 commits into from
Jun 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions runtime/chainx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,7 @@ impl frame_support::traits::ValidatorSet<AccountId> for Runtime {
}

fn validators() -> Vec<Self::ValidatorId> {
// TODO: return the active validator set in Staking.
Session::validators()
XStaking::active_validator_set().collect()
}
}

Expand Down
3 changes: 1 addition & 2 deletions runtime/dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,7 @@ impl frame_support::traits::ValidatorSet<AccountId> for Runtime {
}

fn validators() -> Vec<Self::ValidatorId> {
// TODO: return the active validator set in Staking.
Session::validators()
XStaking::active_validator_set().collect()
}
}

Expand Down
3 changes: 1 addition & 2 deletions runtime/malan/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,7 @@ impl frame_support::traits::ValidatorSet<AccountId> for Runtime {
}

fn validators() -> Vec<Self::ValidatorId> {
// TODO: return the active validator set in Staking.
Session::validators()
XStaking::active_validator_set().collect()
}
}

Expand Down