Skip to content

Commit 5d8dcd7

Browse files
committed
fix(dispute-coordinator): fix failing tests
1 parent 280f216 commit 5d8dcd7

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

polkadot/node/core/dispute-coordinator/src/tests.rs

-16
Original file line numberDiff line numberDiff line change
@@ -413,13 +413,6 @@ impl TestState {
413413
)) => {
414414
tx.send(Ok(Vec::new())).unwrap();
415415
},
416-
AllMessages::RuntimeApi(RuntimeApiMessage::Request(
417-
_new_leaf,
418-
RuntimeApiRequest::Version(tx),
419-
)) => {
420-
tx.send(Ok(RuntimeApiRequest::DISABLED_VALIDATORS_RUNTIME_REQUIREMENT))
421-
.unwrap();
422-
},
423416
AllMessages::RuntimeApi(RuntimeApiMessage::Request(
424417
_new_leaf,
425418
RuntimeApiRequest::DisabledValidators(tx),
@@ -4387,15 +4380,6 @@ async fn handle_disabled_validators_queries(
43874380
virtual_overseer: &mut VirtualOverseer,
43884381
disabled_validators: Vec<ValidatorIndex>,
43894382
) {
4390-
assert_matches!(
4391-
virtual_overseer.recv().await,
4392-
AllMessages::RuntimeApi(RuntimeApiMessage::Request(
4393-
_new_leaf,
4394-
RuntimeApiRequest::Version(tx),
4395-
)) => {
4396-
tx.send(Ok(RuntimeApiRequest::DISABLED_VALIDATORS_RUNTIME_REQUIREMENT)).unwrap();
4397-
}
4398-
);
43994383
assert_matches!(
44004384
virtual_overseer.recv().await,
44014385
AllMessages::RuntimeApi(RuntimeApiMessage::Request(

prdoc/pr_7610.prdoc

+2
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ crates:
1212
bump: major
1313
- name: polkadot-statement-distribution
1414
bump: patch
15+
- name: polkadot-node-core-dispute-coordinator
16+
bump: none

0 commit comments

Comments
 (0)