cairo-vm-go icon indicating copy to clipboard operation
cairo-vm-go copied to clipboard

Implement Integration Tests for Cairo Zero Hints

Open TAdev0 opened this issue 1 year ago • 3 comments

Cairo Zero hints are currently being implemented. More than 2 out of 3 are now implemented. This issue summarises the state of integration tests for Cairo Zero hints.

Some hints are inter-related, and should be tested together. For example, the process of dictionaries squashing involves many hints, while integration test should ensure squashing process works properly after all hints are implemented. Same for usort where the action of sorting a list requires all usort-related hint.

Uint256 Operations

Math Operations

Usort

  • [ ] Usort operation

Elliptic Curve Operations

Signatures (ECDSA & SEC_P)

Blake Hash

Keccak

Dictionaries

Dictionaries creation, writes and reads

For dict creation , reading, writing, we dont need many hints, or even just one or two, this is why Hari could make some integration tests already for Default Dict New.

  • [x] Default Dict New
  • [ ] Dict New
  • [ ] Dict Read
  • [ ] Dict Write

Dictionaries Squashing

For dict squashing, they might all be required to start integration tests.

  • [ ] Dict squashing operation

Others

  • [x] AllocSegment: tested with alloc.cairo

TAdev0 avatar May 16 '24 09:05 TAdev0

Hello @TAdev0 I will like to be assigned this.

Osatuyi avatar May 21 '24 08:05 Osatuyi

Hi , This is not an issue that can be grabbed, but more of a reminder for us

TAdev0 avatar May 21 '24 09:05 TAdev0

oh okay

Osatuyi avatar May 21 '24 13:05 Osatuyi