Skip to content

Commit

Permalink
Merge pull request #70 from ethpandaops/fix/genesis-values
Browse files Browse the repository at this point in the history
fix(types): slot and epoch wallclock is fine on 0
  • Loading branch information
Savid authored May 17, 2024
2 parents 67575a4 + 919349e commit 383f6f1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/forky/types/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ func (f *FrameMetadata) Validate() error {
return errors.New("invalid fetched_at")
}

if f.WallClockSlot == 0 {
return errors.New("invalid wall clock slot")
}

if f.WallClockEpoch == 0 {
return errors.New("invalid wall clock epoch")
}

return nil
}

Expand Down

0 comments on commit 383f6f1

Please sign in to comment.