Skip to main content

prepareCircuitArrayValues variable

PrepareCircuitArrayValues padding values to size. Validate array size and throw an exception if array is bigger than size if array is bigger, circuit cannot compile because number of inputs does not match

Signature:

prepareCircuitArrayValues: (arr: bigint[], size: number) => bigint[]