Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Unify SyncMode data structures under one #14465

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

nazar-pc
Copy link
Contributor

There were two of the same, but slightly different enums. For some other changes I'm planning to do it is helpful if they are the same.

Light sync mode was removed as it is not used for some time. SyncMode::Fast is SyncMode::LightState now the way it was in one of the data structures (and is a better name IMHO).

When creating this PR I noticed there is a third SyncMode in sc-cli, I didn't touch it.

@nazar-pc nazar-pc marked this pull request as draft June 26, 2023 20:53
@nazar-pc
Copy link
Contributor Author

Initial change was a bit incorrect, after which I noticed even more things can be removed with light sync mode gone

@nazar-pc nazar-pc marked this pull request as ready for review June 26, 2023 21:01
@altonen altonen requested a review from a team June 29, 2023 09:04
@altonen altonen added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jun 29, 2023
@bkchr bkchr merged commit 5d0fd14 into paritytech:master Jun 29, 2023
15 of 16 checks passed
@nazar-pc nazar-pc deleted the unify-sync-mode branch June 29, 2023 18:13
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants