Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hash array fix #311

Merged
merged 4 commits into from
Aug 31, 2022
Merged

Hash array fix #311

merged 4 commits into from
Aug 31, 2022

Conversation

Orland0x
Copy link
Contributor

Missed call to finalize keccak in the hash array lib function. Added this and a test.

@@ -1,5 +1,5 @@
from starkware.cairo.common.cairo_builtins import HashBuiltin
from starkware.cairo.common.hash_state import hash_init, hash_update
from starkware.cairo.common.hash_state import hash_init, hash_update, hash_finalize
from starkware.cairo.lang.compiler.lib.registers import get_fp_and_pc
Copy link
Contributor

@pscott pscott Aug 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i believe this import can be removed :D

@Orland0x Orland0x merged commit 2a108f3 into develop Aug 31, 2022
@Orland0x Orland0x deleted the hash_array_fix branch August 31, 2022 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants