Skip to content

Commit

Permalink
allow 0 block in commitment state (#43)
Browse files Browse the repository at this point in the history
PR #40 broke startup because firm commitment can be 0.
  • Loading branch information
joroshiba committed Aug 27, 2024
1 parent 5d32fc5 commit e5c5013
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions grpc/execution/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,6 @@ func validateStaticBlock(block *astriaPb.Block) error {
if block.Timestamp == nil {
return fmt.Errorf("timestamp is 0")
}
if block.Number == 0 {
return fmt.Errorf("block number is 0")
}

return nil
}

0 comments on commit e5c5013

Please sign in to comment.