Closed TAdev0 closed 2 months ago
Sweep is currently reviewing your pr...
@rodrigo-pino ready for review
i'm basically converting fields to int in order to be able to sort in reverse order, then back to fp.element. I guess this is not the right way to do it as the values stores might be bigger than what int can store. Should i use uint256? or perhaps Big Int to be able to sort it ?
@TAdev0 you can sort fp.Element
. eg: https://github.com/NethermindEth/cairo-vm-go/blob/e8faf6769bdf3ed01549b19471e3436178d99162/pkg/hintrunner/zero/zerohint_dictionaries.go#L92
Oooh nice great :) thanks !
@har777 addressed your comment, its way better like this, thanks!
PR updated, comments addressed.
@har777 @cicr99 ready for final review
Resolves #296
This PR implements
SquashDictInnerFirstIteration
Hint, which extractscurrent_access_index
from thecurrent_access_indices
descending list, and write it at offsetids.range_check_ptr
in the execution segment of memory