Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions crates/lean_compiler/snark_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,6 @@ def __len__(self):
return


# DynArray - dynamic array with push/pop (compile-time construct)
class DynArray:
def __init__(self, initial: list):
self._data = list(initial)

def __getitem__(self, idx):
return self._data[idx]

def __len__(self):
return len(self._data)

def push(self, value):
self._data.append(value)

def pop(self):
self._data.pop()


def poseidon16_compress(left, right, output):
_ = left, right, output

Expand Down
Loading
Loading