Skip to content

Commit bff0240

Browse files
committed
Fix a compilation error after merge master: CandidateValidationMessage::ValidateFromExhaustive now has got named fields
1 parent c8adffe commit bff0240

File tree

1 file changed

+8
-8
lines changed
  • polkadot/node/core/backing/src/tests

1 file changed

+8
-8
lines changed

polkadot/node/core/backing/src/tests/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,15 +2216,15 @@ fn validator_ignores_statements_from_disabled_validators() {
22162216
assert_matches!(
22172217
virtual_overseer.recv().await,
22182218
AllMessages::CandidateValidation(
2219-
CandidateValidationMessage::ValidateFromExhaustive(
2220-
_pvd,
2221-
_validation_code,
2219+
CandidateValidationMessage::ValidateFromExhaustive{
2220+
validation_data: _pvd,
2221+
validation_code: _validation_code,
22222222
candidate_receipt,
2223-
_pov,
2224-
_,
2225-
timeout,
2226-
tx,
2227-
),
2223+
pov: _pov,
2224+
executor_params: _,
2225+
exec_timeout_kind: timeout,
2226+
response_sender: tx,
2227+
},
22282228
) if _pvd == pvd &&
22292229
_validation_code == validation_code &&
22302230
*_pov == pov && &candidate_receipt.descriptor == candidate.descriptor() &&

0 commit comments

Comments
 (0)