From 685ad906db012705023c5c0dd2098ce85db1909a Mon Sep 17 00:00:00 2001 From: steviez Date: Thu, 13 Feb 2025 15:10:20 -0600 Subject: [PATCH] validator: Deprecate BlockVerificationMethod::BlockstoreProcessor --- validator/src/commands/run/execute.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/validator/src/commands/run/execute.rs b/validator/src/commands/run/execute.rs index ec3b8ef89b7021..de7df171967d53 100644 --- a/validator/src/commands/run/execute.rs +++ b/validator/src/commands/run/execute.rs @@ -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",