You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
basically any thing after --use_poseidon flag, will route it to hash in poseidon. And I could not even use this flag without some value ( which is pretty confusing ).
Would like to have , simply, if I pass --use_poseidon , will consider as true ( use poseidon hash for compute program hash ) if i don't pass that flag, use pedersen as before.
parser.add_argument(
"--use_poseidon",
action="store_true", # Automatically stores True if --use_poseidon is exist, otherwise False.help="Use Poseidon hash.",
)
The text was updated successfully, but these errors were encountered:
rkdud007
changed the title
non working --use_poseidon flag on cairo-hash-program v0.13.1
non working intuitively --use_poseidon flag on cairo-hash-program v0.13.1
Mar 7, 2024
rkdud007
changed the title
non working intuitively --use_poseidon flag on cairo-hash-program v0.13.1
non working --use_poseidon flag on cairo-hash-program v0.13.1
Mar 7, 2024
rkdud007
changed the title
non working --use_poseidon flag on cairo-hash-program v0.13.1
non working --use_poseidon flag on cairo-hash-program cli arg v0.13.1
Mar 7, 2024
Context
cairo-lang/src/starkware/cairo/bootloaders/hash_program.py
Line 41 in efa9648
--use_poseidon
flag is not working properly in this cli argumentbasically any thing after
--use_poseidon
flag, will route it to hash in poseidon. And I could not even use this flag without some value ( which is pretty confusing ).Suggested change
Would like to have , simply, if I pass
--use_poseidon
, will consider as true ( use poseidon hash for compute program hash ) if i don't pass that flag, use pedersen as before.The text was updated successfully, but these errors were encountered: