Skip to content

Commit

Permalink
Simplify v2 assignment cert
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
  • Loading branch information
sandreim committed Feb 28, 2023
1 parent 0c31d61 commit dcfcbc8
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 163 deletions.
2 changes: 2 additions & 0 deletions node/core/approval-voting/src/approval_db/v1/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ pub struct OurAssignment {
pub validator_index: ValidatorIndex,
// Whether the assignment has been triggered already.
pub triggered: bool,
// Claimed core indices.
pub claimed_core_indices: Vec<CoreIndex>,
}

/// Metadata regarding a specific tranche of assignments for a specific candidate.
Expand Down
Loading

0 comments on commit dcfcbc8

Please sign in to comment.