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 (sol): hash library for sha256 to field #629

Merged
merged 1 commit into from
May 19, 2023
Merged

Conversation

LHerskind
Copy link
Contributor

@LHerskind LHerskind commented May 19, 2023

Description

Adding a library for hashing structs and computing the sha256ToField to make it easier to get going. Adds functions that can be used on the message structs directly as well.

Checklist:

  • I have reviewed my diff in github, line by line.
  • Every change is related to the PR description.
  • I have linked this pull request to the issue(s) that it resolves.
  • There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
  • The branch has been merged or rebased against the head of its merge target.
  • I'm happy for the PR to be merged at the reviewer's next convenience.

@LHerskind LHerskind marked this pull request as ready for review May 19, 2023 13:35
Copy link
Member

@Maddiaa0 Maddiaa0 left a comment

Choose a reason for hiding this comment

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

very tidy

@Maddiaa0 Maddiaa0 merged commit 00b5733 into master May 19, 2023
@Maddiaa0 Maddiaa0 deleted the lh/hash-library branch May 19, 2023 14:11
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