-
Notifications
You must be signed in to change notification settings - Fork 48
test(blockifier): test secp_get_point_from_x #6366
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
base: aner/snos_secp_syscalls
Are you sure you want to change the base?
test(blockifier): test secp_get_point_from_x #6366
Conversation
Artifacts upload workflows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ilyalesokhin-starkware)
crates/blockifier_test_utils/resources/feature_contracts/cairo1/test_contract.cairo
line 401 at r1 (raw file):
assert(x_coord == x && y_coord == expected_y, 'Unexpected coordinates'); let (x_coord, y_coord) = starknet::secp256k1::secp256k1_get_xy_syscall(p1).unwrap_syscall(); assert(x_coord == x && y_coord != expected_y, 'Unexpected coordinates');
why not define an expected_p1_y
value?
Code quote:
y_coord != expected_y
9a509b6
to
fdf37da
Compare
f59dde3
to
af88988
Compare
af88988
to
9f9a210
Compare
Previously, dorimedini-starkware wrote…
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @ilyalesokhin-starkware)
No description provided.