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

add bits_to_target #15

Merged
merged 11 commits into from
Aug 8, 2024

Conversation

harsh-ps-2003
Copy link
Contributor

@harsh-ps-2003 harsh-ps-2003 commented Aug 1, 2024

Adds bits_to_target with a custom power method of u256, and uses it to validate_target

Copy link

vercel bot commented Aug 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
raito ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2024 1:42am

Copy link
Collaborator

@maciejka maciejka left a comment

Choose a reason for hiding this comment

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

Where are the test cases?

@maciejka maciejka mentioned this pull request Aug 2, 2024
3 tasks
@harsh-ps-2003
Copy link
Contributor Author

harsh-ps-2003 commented Aug 2, 2024

Where are the test cases?

Will be adding them later today most probably! Suddenly got busy with some work! Thanks for the patience

Edit: Sorry, will try finishing this weekend @maciejka

@maciejka
Copy link
Collaborator

maciejka commented Aug 2, 2024

Where are the test cases?

Will be adding them later today most probably! Suddenly got busy with some work! Thanks for the patience

Edit: Sorry, will try finishing this weekend @maciejka Need a relaxation break from OSS, mental health stuff. But don't worry, I will finish things up!

No problem, I am not trying to push you. Just thought, since you requested a review, that maybe you have forgotten to add test files to the commit.

Definitely get some rest.

Copy link
Collaborator

@maciejka maciejka left a comment

Choose a reason for hiding this comment

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

Please squash prs #15 and #16.

src/engine.cairo Outdated Show resolved Hide resolved
src/engine.cairo Outdated Show resolved Hide resolved
tests/tests.cairo Outdated Show resolved Hide resolved
@maciejka maciejka mentioned this pull request Aug 6, 2024
3 tasks
@maciejka
Copy link
Collaborator

maciejka commented Aug 6, 2024

How are you? Is there any progress? There are other issues waiting for this one to finish...

Copy link
Collaborator

@maciejka maciejka left a comment

Choose a reason for hiding this comment

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

Resolve conflicts, please.

@maciejka
Copy link
Collaborator

maciejka commented Aug 7, 2024

Fix fmt and tests, please.

@maciejka
Copy link
Collaborator

maciejka commented Aug 7, 2024

@maciejka suddenly I get error

Error: `scarb metadata` exited with error

stdout:
error: failed to lookup for `cairo_test ^2.7.0` in registry: registry+https://there-is-no-default-registry-yet.com/

when trying to run scarb test locally!

Please ask on scarb tg channel: https://t.me/+1pMLtrNj5NthZWJk

src/utils.cairo Outdated Show resolved Hide resolved
src/utils.cairo Outdated Show resolved Hide resolved
@maciejka
Copy link
Collaborator

maciejka commented Aug 7, 2024

@harsh-ps-2003 please fix conflicts

@harsh-ps-2003
Copy link
Contributor Author

harsh-ps-2003 commented Aug 8, 2024

Thanks for the patience! @maciejka

@maciejka maciejka merged commit 9f1e27c into keep-starknet-strange:main Aug 8, 2024
5 checks passed
@harsh-ps-2003 harsh-ps-2003 deleted the bits_to_target branch August 8, 2024 08:56
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