Dynamic arrays in o1js #4691
build-action.yml
on: pull_request
Prepare
57s
Matrix: Run unit tests parallel
Matrix: Build-And-Test-Server
Build-And-Test-Server (Unit tests)
0s
Annotations
9 errors
Prepare:
src/lib/provable/test/dynamic-array-unit-test.ts#L85
Property 'toValue' does not exist on type 'Option<UInt8>'. Did you mean 'value'?
|
Prepare:
src/lib/provable/test/dynamic-array-unit-test.ts#L90
Argument of type 'Field' is not assignable to parameter of type 'UInt8'.
|
Prepare:
src/lib/provable/test/dynamic-array-unit-test.ts#L91
Argument of type 'Field' is not assignable to parameter of type 'UInt8'.
|
Prepare:
src/lib/provable/test/dynamic-array-unit-test.ts#L93
Property 'add' does not exist on type '{ arrayGet: (array: Field[], index: Field) => Field; rangeCheck64(x: Field): [Field, Field, Field, Field]; rangeCheck32(x: Field): void; ... 19 more ...; SHA256: { ...; }; }'.
|
Prepare:
src/lib/provable/test/dynamic-array-unit-test.ts#L95
Property 'equals' does not exist on type 'UInt8'.
|
Prepare:
src/lib/provable/test/dynamic-array-unit-test.ts#L96
Property 'equals' does not exist on type 'UInt8'.
|
Prepare:
src/lib/provable/test/dynamic-array-unit-test.ts#L97
Property 'equals' does not exist on type 'UInt8'.
|
Prepare:
src/lib/provable/test/dynamic-array-unit-test.ts#L128
Argument of type '[Field]' is not assignable to parameter of type 'TupleToInstances<[typeof Field & ((x: string | number | bigint | FieldConst | FieldVar | Field) => Field), typeof Field & ((x: string | number | bigint | FieldConst | FieldVar | Field) => Field), typeof Field & ((x: string | ... 4 more ... | Field) => Field)]>'.
|
Prepare
Process completed with exit code 2.
|