Skip to content

Commit 2cc8acf

Browse files
committed
feat: add avg, max, min to allowed functions
1 parent 685b9d9 commit 2cc8acf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/common/utils.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ func SliceToChunks[T any](values []T, chunkSize int) [][]T {
2525
var allowedFunctions = map[string]struct{}{
2626
"sum": {},
2727
"count": {},
28+
"avg": {},
29+
"max": {},
30+
"min": {},
2831
"reinterpretasuint256": {},
2932
"reverse": {},
3033
"unhex": {},

0 commit comments

Comments
 (0)