Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(governance): update StateWriteExt::signal_upgrade comment (#…
…4789) ## Describe your changes `StateWriteExt::signal_upgrade` is infallible and doesn't await on anything, so its function signature can be simplified to not be async and not return a `Result<()>` that's always `Ok(())`. Also fixes a comment referring to `TOTAL_HALT_COUNT`, which is now a boolean and not a count. ## Checklist before requesting a review - [X] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > No change to behavior Signed-off-by: syvb <[email protected]>
- Loading branch information