Closed nmammeri closed 1 week ago
Attention: Patch coverage is 30.00000%
with 28 lines
in your changes missing coverage. Please review.
Project coverage is 72%. Comparing base (
0e02876
) to head (ed21d35
). Report is 3 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
state-chain/pallets/cf-elections/src/lib.rs | 26% | 23 Missing and 5 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
Pull Request
Closes: PRO-1726
Checklist
Please conduct a thorough self-review before opening the PR.
Summary
This PR adds try-state hook checks to the Elections pallet. For these hooks to be fired up, the try-runtime-cli must be called with --checks all (or at- least try-state). The ci and troubleshooting guide were updated accordingly.
This PR implemented try-state hook only for the Elections pallet, but it was agreed that another issue will be raised to handle try-state hooks in a more generic way and enable it for all other pallets.