mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 19:31:02 +00:00
remove retry from backers on failed candidate validation (#2182)
Hey guys, as discussed I've changed the name to a more general one `PvfExecKind`, is this good or too general? Creating this as a draft, I still have to fix the tests. Closes #1585 Kusama address: FkB6QEo8VnV3oifugNj5NeVG3Mvq1zFbrUu4P5YwRoe5mQN --------- Co-authored-by: command-bot <> Co-authored-by: Marcin S <marcin@realemail.net>
This commit is contained in:
@@ -30,7 +30,7 @@ use polkadot_node_subsystem_types::messages::{
|
||||
};
|
||||
use polkadot_primitives::{
|
||||
CandidateHash, CandidateReceipt, CollatorPair, Id as ParaId, InvalidDisputeStatementKind,
|
||||
PvfExecTimeoutKind, SessionIndex, ValidDisputeStatementKind, ValidatorIndex,
|
||||
PvfExecKind, SessionIndex, ValidDisputeStatementKind, ValidatorIndex,
|
||||
};
|
||||
|
||||
use crate::{
|
||||
@@ -106,7 +106,7 @@ where
|
||||
candidate_receipt,
|
||||
pov: PoV { block_data: BlockData(Vec::new()) }.into(),
|
||||
executor_params: Default::default(),
|
||||
exec_timeout_kind: PvfExecTimeoutKind::Backing,
|
||||
exec_kind: PvfExecKind::Backing,
|
||||
response_sender: tx,
|
||||
})
|
||||
.await;
|
||||
@@ -804,7 +804,7 @@ fn test_candidate_validation_msg() -> CandidateValidationMessage {
|
||||
candidate_receipt,
|
||||
pov,
|
||||
executor_params: Default::default(),
|
||||
exec_timeout_kind: PvfExecTimeoutKind::Backing,
|
||||
exec_kind: PvfExecKind::Backing,
|
||||
response_sender,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user