Skip to content

config: mark block_sync key as deprecated - #414

Merged
hvanz merged 16 commits into
v0.37.xfrom
hernan/409-deprecate-blocksyncmode
Mar 6, 2023
Merged

hvanz merged 16 commits into
v0.37.xfrom
hernan/409-deprecate-blocksyncmode

Conversation

@hvanz

@hvanz hvanz commented Feb 28, 2023 •

Copy link
Copy Markdown
Collaborator

Part of #409


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@hvanz hvanz changed the title Mark BlockSyncMode config as deprecated Mark BlockSyncMode config as deprecated in v0.37.x Feb 28, 2023
@hvanz hvanz self-assigned this Feb 28, 2023
@hvanz
hvanz marked this pull request as ready for review March 1, 2023 09:47
@hvanz
hvanz requested a review from a team as a code owner March 1, 2023 09:47
@hvanz hvanz changed the title Mark BlockSyncMode config as deprecated in v0.37.x config: mark block_sync key as deprecated Mar 1, 2023
Comment thread test/e2e/pkg/manifest.go Resolved
Comment thread config/config.go Resolved
Comment thread config/config.go Resolved
Comment thread config/toml.go Resolved
Comment thread docs/core/configuration.md Resolved
@hvanz

hvanz commented Mar 1, 2023

Copy link
Copy Markdown
Collaborator Author

@sergio-mena Thanks for the suggestions!

@cason

cason commented Mar 1, 2023

Copy link
Copy Markdown

As a general comment here, do you think most users will understand what we mean with this messages? Maybe we should make clear that the flag (and section) about blocksync will be removed...

@hvanz

hvanz commented Mar 2, 2023

Copy link
Copy Markdown
Collaborator Author

@cason We decided not to remove the BlockSync section and the version field because we will add more versions in the future. We are just removing the flag, for which there enough messages for the users as log warnings, comments, and in the changelog. I agree though that is not the best to rename a flag and remove it all in the same release.

@cason

cason commented Mar 2, 2023

Copy link
Copy Markdown

Hey, I was more considering the wording of the message. I would be for a more direct message, such as: "Block Sync cannot be disabled", instead of "BlockSync will be enabled unconditionally".

@hvanz

hvanz commented Mar 2, 2023

Copy link
Copy Markdown
Collaborator Author

@cason I made it more explicit in the messages that we are removing the key.

Comment thread test/e2e/pkg/manifest.go Resolved
@hvanz
hvanz merged commit 2dd008d into v0.37.x Mar 6, 2023
@hvanz
hvanz deleted the hernan/409-deprecate-blocksyncmode branch March 6, 2023 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants