Skip to content

Commit

Permalink
add dummy status to vdb duties (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuccaBitfly authored Apr 10, 2024
1 parent 366612e commit 35b26dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/pkg/api/types/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ type SearchResponse struct {
}

type ValidatorHistoryEvent struct {
Status string `json:"status" tstype:"'success' | 'partial' | 'failed'"`
Status string `json:"status" tstype:"'success' | 'partial' | 'failed'" faker:"oneof: success, partial, failed"`
Income decimal.Decimal `json:"income"`
}

type ValidatorHistoryProposal struct {
Status string `json:"status" tstype:"'success' | 'partial' | 'failed' | 'orphaned'"`
Status string `json:"status" tstype:"'success' | 'partial' | 'failed' | 'orphaned'" faker:"oneof: success, partial, failed, orphaned"`
ElIncome decimal.Decimal `json:"el_income"`
ClAttestationInclusionIncome decimal.Decimal `json:"cl_attestation_inclusion_income"`
ClSyncInclusionIncome decimal.Decimal `json:"cl_sync_inclusion_income"`
Expand Down

0 comments on commit 35b26dd

Please sign in to comment.