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

feat: xor limbs chip #26

Merged
merged 17 commits into from
May 23, 2024
Merged

feat: xor limbs chip #26

merged 17 commits into from
May 23, 2024

Conversation

OsamaAlkhodairy
Copy link
Contributor

Added two chips: XorLimbsChip and XorLookupChip (see comments above the chip struct for explanation of what they do). Also added a positive and a negative test involving them.

Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

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

Minor comments, overall LGTM

chips/src/xor_lookup/columns.rs Outdated Show resolved Hide resolved
chips/src/xor_limbs/mod.rs Show resolved Hide resolved
chips/tests/integration_test.rs Show resolved Hide resolved
Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

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

new function is very helpful!

test-utils/src/utils.rs Outdated Show resolved Hide resolved
test-utils/src/utils.rs Outdated Show resolved Hide resolved
@OsamaAlkhodairy OsamaAlkhodairy merged commit 5cc967e into main May 23, 2024
3 checks passed
@OsamaAlkhodairy OsamaAlkhodairy deleted the feat/xor_limbs_chip branch May 23, 2024 15:20
luffykai pushed a commit that referenced this pull request Dec 13, 2024
* test: added negative test for xor_chip

* chore: reordering imports

* fix: made the xor chip thread-safe and other improvements

* chore: adding Cargo.lock

* chore: pruning Cargo.lock

* fix: fixing Cargo.lock

* wip

* wip

* feat: added xor_limbs and xor_lookup chips and tests for them

* chore: adding some comments

* chore: removing Cargo.lock

* feat: added a proving helper in test_utils and used it in the xor_limbs tests

* chore: renaming function to run_simple_test

* chore: adding doc comment
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