Skip to content
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

Deprecate blockstore-processor for --block-verification-method #4728

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions validator/src/commands/run/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,18 @@ pub fn execute(
BlockVerificationMethod
)
.unwrap_or_default();
match validator_config.block_verification_method {
BlockVerificationMethod::BlockstoreProcessor => {
warn!(
"The value \"blockstore-processor\" for --block-verification-method has been \
deprecated. The value \"blockstore-processor\" is still allowed for now, but \
is planned for removal in the near future. To update, either set the value \
\"unified-scheduler\" or remove the --block-verification-method argument"
);
}
BlockVerificationMethod::UnifiedScheduler => {}
}

validator_config.block_production_method = value_t!(
matches, // comment to align formatting...
"block_production_method",
Expand Down
Loading