Skip to content

Commit

Permalink
validator: Deprecate BlockVerificationMethod::BlockstoreProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
steviez committed Feb 13, 2025
1 parent a1ed2b1 commit 685ad90
Showing 1 changed file with 12 additions and 0 deletions.
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

0 comments on commit 685ad90

Please sign in to comment.