Skip to content

Commit

Permalink
Remove CoreIndex from Guarantee
Browse files Browse the repository at this point in the history
  • Loading branch information
bamzedev committed Aug 5, 2024
1 parent 358d76f commit 6704ac8
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions internal/block/guarantee.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,9 @@ type GuaranteesExtrinsic struct {

// Guarantee represents a single guarantee within the E_G extrinsic
type Guarantee struct {
CoreIndex uint32 // Index of the core this guarantee is for
WorkReport WorkReport // The work report being guaranteed
Credential Credential // The credential proving the guarantee's validity
Timeslot time.Timeslot // The timeslot when this guarantee was made
}

// Credential represents the credential a in the document
type Credential struct {
Signatures []CredentialSignature
WorkReport WorkReport // The work report being guaranteed
Credentials []CredentialSignature // The credentials proving the guarantee's validity
Timeslot time.Timeslot // The timeslot when this guarantee was made
}

// CredentialSignature represents a single signature within the credential
Expand Down

0 comments on commit 6704ac8

Please sign in to comment.