-
Notifications
You must be signed in to change notification settings - Fork 52
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
Combine RemoveParaIdsWithNoCredit
and CollatorAssignmentHook
#692
Combine RemoveParaIdsWithNoCredit
and CollatorAssignmentHook
#692
Conversation
611e197
to
ac88d40
Compare
RemoveParaIdsWithNoCredit
and CollatorAssignmentHook
RemoveParaIdsWithNoCredit
and CollatorAssignmentHook
ac88d40
to
b01541a
Compare
RemoveParaIdsWithNoCredit
and CollatorAssignmentHook
RemoveParaIdsWithNoCredit
and CollatorAssignmentHook
b01541a
to
b655d6b
Compare
Coverage Report@@ Coverage Diff @@
## master combine-remove-paraids-and-collator-assignment-hook +/- ##
=======================================================================================
+ Coverage 64.73% 64.76% +0.03%
Files 323 323
+ Lines 55578 55740 +162
=======================================================================================
+ Hits 35974 36097 +123
+ Misses 19604 19643 +39
|
916be99
to
d0ad35f
Compare
d0ad35f
to
7ccaa48
Compare
7ccaa48
to
b47f66e
Compare
WASM runtime size check:Compared to target branchdancebox runtime: 1428 KB (no changes) ✅ flashbox runtime: 824 KB (no changes) ✅ dancelight runtime: 2108 KB (+2108 KB) container chain template simple runtime: 1124 KB (-4296 KB) ✅ container chain template frontier runtime: 1400 KB (-5152 KB) ✅ |
RemoveParaIdsWithNoCredit
and CollatorAssignmentHook
RemoveParaIdsWithNoCredit
and CollatorAssignmentHook
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.
I like better the way it looks now. I am still missing some doc on what each of the lines does. If we can fix that would be great
ea4a7ec
to
95f69e6
Compare
95f69e6
to
cb070cf
Compare
Description
Combine
RemoveParaIdsWithNoCredit
andCollatorAssignmentHook
in one trait with two methods.Both method executes same logic. Only difference being
pre_assignment_*
method always rollback whilepost_assignment_*
only rollback in case it errors out.Note
Naming and tests are still remaining. Just want to get some early feedback on overall design.