NethermindEth / cairo-vm-go

A virtual machine for Cairo written in Go
MIT License
79 stars 49 forks source link

feat: SquashDictInnerLenAssert Hint #403

Closed TAdev0 closed 3 months ago

TAdev0 commented 3 months ago

Resolves #300

This PR implements SquashDictInnerLenAssert hint, which asserts that the length of the current access indices for a given key is zero, with current_access_indices being a reversed order list of access indices for a given key, i.e., sorted(access_indices[key])[::-1]