sandbox-smart-contracts icon indicating copy to clipboard operation
sandbox-smart-contracts copied to clipboard

N-06 Gas Optimizations

Open capedcrusader21 opened this issue 1 year ago • 1 comments
trafficstars

Description

  • used ++i instead of i++.

  • require statement before actual function logic.

  • writing array length to stack except for _processERC1155Bundles() because of stack too deep error.

  • added expectedFinalResult to bundle tests. Screenshot 2024-09-17 at 6 08 06 PM Screenshot 2024-09-17 at 6 08 18 PM Screenshot 2024-09-17 at 6 08 26 PM -05

capedcrusader21 avatar Sep 17 '24 12:09 capedcrusader21

N-06 Gas Optimizations

Generated at commit: fef969be76b5697009ccccb77c36cd8f3cb65e62

🚨 Report Summary

Severity Level Results
Contracts Critical High Medium Low Note Total 3 1 0 5 30 39

For more details view the full report in OpenZeppelin Code Inspector

openzeppelin-code[bot] avatar Sep 17 '24 12:09 openzeppelin-code[bot]