mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 07:11:53 +03:00
e5ae160d1a
* refactor hash -> hash_to_field * refactor commit -> commit_to_field * implement commit_to_address * implement hash_to_address * update hash and commit examples * implement hash_to_scalar * update tests * implement bhp hash to integer variants * implement bhp pedersen and poseidon integer variants * Update compiler/passes/src/type_checking/checker.rs Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com> * Update compiler/passes/src/type_checking/checker.rs Co-authored-by: Alessandro Coglio <coglio@kestrel.edu> Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com> * fix pedersen hash type checks --------- Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com> Co-authored-by: Alessandro Coglio <coglio@kestrel.edu> |
||
---|---|---|
.. | ||
main.leo |