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

refactor: fix a few code base warts + create uint64 package #42

Merged
merged 6 commits into from
Feb 25, 2024

Conversation

huitseeker
Copy link
Member

TL;DR:

  • splits off the uint64 gadgets used in Keccak/Sha512, into its own crate,
  • removes superfluous dependencies on PrimeField,
  • cleans up minor Rust warts.

- Replaced the local `uint64` modules with the `bellpepper_uint64` package in the `keccak` and `sha512` crates.
- Removed `UInt64` struct and associated functions/tests from the `keccak` & `sha512` crates.
- Created a `uint64` crate with details including license (both MIT and Apache 2.0), authors, description, and dependencies.
- Updated `Cargo.toml` files for the `sha512` and `keccak` crates, adding `bellpepper-uint64` as a new dependency, and for the project, including `uint64` in the project members.
- Created comprehensive README and license files for the new `uint64` crate.
@avras
Copy link
Collaborator

avras commented Feb 24, 2024

The LICENSE file change in #36 resulted in my name in the root MIT and APACHE license files. We could replace my name with "Bellpepper Gadget Developers" and include the change in this PR. The authors of each of the crates are credited in the "authors" fields of the respective Cargo.toml files.

Copy link

@adr1anh adr1anh left a comment

Choose a reason for hiding this comment

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

LGTM

@huitseeker huitseeker merged commit 68172e9 into argumentcomputer:main Feb 25, 2024
13 checks passed
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.

3 participants