Skip to content

Commit 0480a9e

Browse files
committed
remove todos
1 parent 2b0b39c commit 0480a9e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib/provable/dynamic-array.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@ class DynamicArrayBase<ProvableValue = any, Value = any> {
440440
let newArr = new (<any>this.constructor)();
441441
newArr.array = this.array.slice();
442442
newArr.length = this.length;
443-
// TODO: assert equality of the two arrays?
444443
return newArr;
445444
}
446445

@@ -510,9 +509,6 @@ class DynamicArrayBase<ProvableValue = any, Value = any> {
510509
}
511510
}
512511

513-
// TODO: when we can check .equals on arrays eleemnts we can implement:
514-
// - includes
515-
516512
// cached variables to not duplicate constraints if we do something like
517513
// array.get(i), array.set(i, ..) on the same index
518514
#indexMasks: Map<Field, Bool[]> = new Map();

0 commit comments

Comments
 (0)