-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add ValidatorSubgroupRotated
event
#618
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
We should add an entry to the changelog as well
let mut current_subgroups: Vec<Vec<<T as pallet_session::Config>::ValidatorId>> = vec![]; | ||
for signing_group in 0..SIGNING_PARTY_SIZE { | ||
let current_subgroup = SigningGroups::<T>::get(signing_group as u8).unwrap(); | ||
current_subgroups.push(current_subgroup) | ||
}; |
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.
Why do we need to update the benches in this case?
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.
2 reasons, one is we test events in benchmarks but the second and worse reason is that john wrote these tests in python and the rust test is gone, imma rewrite the test in rust but that I wanna get this in fast to fix testnet things so made an issue #620
ValidatorSubgroupRotated
event
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
CHANGELOG.md
Outdated
@@ -83,6 +83,7 @@ algorithms are also supported. | |||
- Add --version flag and about field to TSS ([#590](https://github.com/entropyxyz/entropy-core/pull/590/)) | |||
- Program config storage ([#593](https://github.com/entropyxyz/entropy-core/pull/593)) | |||
- Add a hashes endpoint ([#600](https://github.com/entropyxyz/entropy-core/pull/600)) | |||
- Add ValidatorSubgroupRotated event ([#618](https://github.com/entropyxyz/entropy-core/pull/618)) |
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.
@JesseAbram this needs to go under the [Unreleased]
header, no the v0.0.10
one
add an event to be triggered on session that shows the old subgroup validator groups and the new ones