Skip to content

✨ Add bytes32 to address utils #1456

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

Merged
merged 4 commits into from
Jul 21, 2025
Merged

✨ Add bytes32 to address utils #1456

merged 4 commits into from
Jul 21, 2025

Conversation

Vectorized
Copy link
Owner

Description

using LibBytes for bytes32;

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Ran forge fmt?
  • Ran forge test?

Pull requests with an incomplete checklist will be thrown out.

@Vectorized Vectorized changed the title ♻️ Add bytes32 to address utils ✨ Add bytes32 to address utils Jul 21, 2025
Copy link

github-actions bot commented Jul 21, 2025

Gas Snapshot Comparison Report

Generated at commit : de83711, Compared to commit : a5bb996

Contract Name Test Name Main Gas PR Gas Diff
LibBytesTest testBytesInCalldata() 2786 2764 -22
testCmp() 2629 2607 -22
testDirectReturn() 9260 9283 23
testDynamicStructInCalldata() 4406 4517 111
testDynamicStructInCalldata2() 38901 39077 176
testIndexOfByte() 5456 5434 -22
testSliceCalldata() 3088 3131 43
testStaticStructInCalldata() 20870 20760 -110
test__codesize() 14432 14506 74

@Vectorized Vectorized merged commit 2718072 into main Jul 21, 2025
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.

1 participant