solmate
solmate copied to clipboard
✨ LibString tests and toHexString functions
Description
This is for #245.
Added some to hex functions.
Added some minor optimizations.
Added some tests.
Checklist
Ensure you completed all of the steps below before submitting your pull request:
- [x] Ran
forge snapshot? - [x] Ran
npm run lint? - [x] Ran
forge test?
Pull requests with an incomplete checklist will be thrown out.
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3573/files
is this version more optimized?
@transmissions11 nope.
chad
Can this be merged? 👀
Lemme copy in the latest version.
lgtm
Updated with latest Solady implementations.
Feel free to copy or delete anything directly from Solady anytime.
Tests may be harder to be ported fully, cuz Solady uses a different brutalizer and brutalized tests.