Skip to content

Commit

Permalink
check query against max query len
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkouv committed Nov 4, 2024
1 parent 41f2d91 commit 05e0820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commit/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func Test_maxQueryLength(t *testing.T) {

// We set twice the size, for extra safety while making breaking changes between oracle versions.
assert.Equal(t, 2*len(b), maxQueryLength)
require.Less(t, maxQueryLength, ocr3types.MaxMaxQueryLength)
}

func Test_maxObservationLength(t *testing.T) {
Expand Down

0 comments on commit 05e0820

Please sign in to comment.