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: nuking log_traits.nr #8797

Merged
merged 6 commits into from
Sep 26, 2024
Merged

refactor: nuking log_traits.nr #8797

merged 6 commits into from
Sep 26, 2024

Conversation

benesjan
Copy link
Contributor

Fixes #8548

Copy link
Contributor Author

benesjan commented Sep 25, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @benesjan and the rest of your teammates on Graphite Graphite

@benesjan benesjan changed the title refactor: nuking log_traits.nr refactor: nuking log_traits.nr Sep 25, 2024
@@ -0,0 +1,25 @@
pub fn arr_to_be_bytes_arr<let L: u32>(fields: [Field; L]) -> [u8; L * 32] {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved these functions from log_traits.nr + refactored them such that they work with arrays instead of slices (we no longer need slices here with arithmetic over generics).

@benesjan benesjan marked this pull request as ready for review September 25, 2024 19:49
@benesjan benesjan marked this pull request as draft September 26, 2024 06:25
Base automatically changed from 09-25-feat_encryption_cleanup to master September 26, 2024 07:23
@benesjan benesjan marked this pull request as ready for review September 26, 2024 08:15
Copy link
Contributor

@sklppy88 sklppy88 left a comment

Choose a reason for hiding this comment

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

This looks so satisfying 🤧

@benesjan benesjan merged commit 5d4accf into master Sep 26, 2024
84 of 86 checks passed
@benesjan benesjan deleted the 09-25-refactor_nuking branch September 26, 2024 08:51
Rumata888 pushed a commit that referenced this pull request Sep 27, 2024
Rumata888 pushed a commit that referenced this pull request Sep 27, 2024
Rumata888 pushed a commit that referenced this pull request Sep 27, 2024
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.

Nuke log_traits.nr
2 participants