mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 18:11:03 +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:
@@ -47,7 +47,7 @@ use polkadot_primitives::{
|
||||
CommittedCandidateReceipt, CoreState, DisputeState, ExecutorParams, GroupIndex,
|
||||
GroupRotationInfo, Hash, Header as BlockHeader, Id as ParaId, InboundDownwardMessage,
|
||||
InboundHrmpMessage, MultiDisputeStatementSet, OccupiedCoreAssumption, PersistedValidationData,
|
||||
PvfCheckStatement, PvfExecTimeoutKind, SessionIndex, SessionInfo, SignedAvailabilityBitfield,
|
||||
PvfCheckStatement, PvfExecKind, SessionIndex, SessionInfo, SignedAvailabilityBitfield,
|
||||
SignedAvailabilityBitfields, ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex,
|
||||
ValidatorSignature,
|
||||
};
|
||||
@@ -150,8 +150,8 @@ pub enum CandidateValidationMessage {
|
||||
pov: Arc<PoV>,
|
||||
/// Session's executor parameters
|
||||
executor_params: ExecutorParams,
|
||||
/// Execution timeout kind (backing/approvals)
|
||||
exec_timeout_kind: PvfExecTimeoutKind,
|
||||
/// Execution kind, used for timeouts and retries (backing/approvals)
|
||||
exec_kind: PvfExecKind,
|
||||
/// The sending side of the response channel
|
||||
response_sender: oneshot::Sender<Result<ValidationResult, ValidationFailed>>,
|
||||
},
|
||||
@@ -175,8 +175,8 @@ pub enum CandidateValidationMessage {
|
||||
pov: Arc<PoV>,
|
||||
/// Session's executor parameters
|
||||
executor_params: ExecutorParams,
|
||||
/// Execution timeout kind (backing/approvals)
|
||||
exec_timeout_kind: PvfExecTimeoutKind,
|
||||
/// Execution kind, used for timeouts and retries (backing/approvals)
|
||||
exec_kind: PvfExecKind,
|
||||
/// The sending side of the response channel
|
||||
response_sender: oneshot::Sender<Result<ValidationResult, ValidationFailed>>,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user