-
Notifications
You must be signed in to change notification settings - Fork 48
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
Starlight collator rotation #668
Conversation
Coverage Report@@ Coverage Diff @@
## master fg-starlight-collator-rotation +/- ##
==================================================================
+ Coverage 66.52% 66.53% +0.01%
Files 261 261
+ Lines 46168 46230 +62
==================================================================
+ Hits 30710 30755 +45
+ Misses 15458 15475 +17
|
I am thinking we should have a rotation test in typescript but we dont :(. Maybe we can add one? I am not sure if the mock-proof injects any randomness, but maybe we can build it for that? |
@girazoki I've added a TS test. Let me know if I can improve it |
solo-chains/runtime/starlight/src/tests/collator_assignment_tests.rs
Outdated
Show resolved
Hide resolved
solo-chains/runtime/starlight/src/tests/collator_assignment_tests.rs
Outdated
Show resolved
Hide resolved
solo-chains/runtime/starlight/src/tests/collator_assignment_tests.rs
Outdated
Show resolved
Hide resolved
test/suites/dev-tanssi-relay/collator-assignment/test-collator-assignment.ts
Outdated
Show resolved
Hide resolved
solo-chains/runtime/starlight/src/tests/collator_assignment_tests.rs
Outdated
Show resolved
Hide resolved
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.
LGTM
Enables collator rotation in Starlight