Skip to content

Commit

Permalink
fix(sequencer): added HistoricalEntries param validation (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsitrin authored Apr 8, 2024
1 parent 6ecadd8 commit 8e4b891
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/sequencers/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ func (p Params) Validate() error {
return err
}

if err := validateHistoricalEntries(p.HistoricalEntries); err != nil {
return err
}

return nil
}

Expand Down

0 comments on commit 8e4b891

Please sign in to comment.