Closed michaelkaplan13 closed 1 month ago
Generated at commit: 23ae996b23d7f9a01a4a10ca70bce42764ad1764
🚨 Report Summary
Severity Level Results Contracts Critical High Medium Low Note Total 1 0 0 2 13 16 Dependencies Critical High Medium Low Note Total 0 0 0 0 0 0
For more details view the full report in OpenZeppelin Code Inspector
Why this should be merged
calculateNumWords
implementation to use less gasThanks to @bernard-avalabs for both of these suggestions here.
How this works
Uses bit shifting rather than division and mod.
How this was tested
Existing unit tests with
forge test --gas-report
How is this documented
N/A