mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Fix typo: ambigious -> ambiguous (#4380)
* Do not log PVF prunning every hour This lowers the level of the PVF pruning. Closes https://github.com/paritytech/polkadot/issues/4361 * Fix typo: ambigious -> ambiguous The correct spelling is ambiguous ([dictionary](https://dictionary.cambridge.org/dictionary/english/ambiguous))
This commit is contained in:
@@ -455,9 +455,9 @@ async fn validate_candidate_exhaustive(
|
||||
Ok(ValidationResult::Invalid(InvalidCandidate::Timeout)),
|
||||
Err(ValidationError::InvalidCandidate(WasmInvalidCandidate::WorkerReportedError(e))) =>
|
||||
Ok(ValidationResult::Invalid(InvalidCandidate::ExecutionError(e))),
|
||||
Err(ValidationError::InvalidCandidate(WasmInvalidCandidate::AmbigiousWorkerDeath)) =>
|
||||
Err(ValidationError::InvalidCandidate(WasmInvalidCandidate::AmbiguousWorkerDeath)) =>
|
||||
Ok(ValidationResult::Invalid(InvalidCandidate::ExecutionError(
|
||||
"ambigious worker death".to_string(),
|
||||
"ambiguous worker death".to_string(),
|
||||
))),
|
||||
|
||||
Ok(res) =>
|
||||
|
||||
@@ -422,7 +422,7 @@ fn candidate_validation_bad_return_is_invalid() {
|
||||
|
||||
let v = executor::block_on(validate_candidate_exhaustive(
|
||||
MockValidatorBackend::with_hardcoded_result(Err(ValidationError::InvalidCandidate(
|
||||
WasmInvalidCandidate::AmbigiousWorkerDeath,
|
||||
WasmInvalidCandidate::AmbiguousWorkerDeath,
|
||||
))),
|
||||
validation_data,
|
||||
validation_code,
|
||||
|
||||
Reference in New Issue
Block a user