20,000 USDC
View results
Submission Details
Severity: gas
Valid

Unnecessary copying of storage data

Summary

Changing
Pool memory pool = pools[poolId];
to
Pool storage pool = pools[poolId];
saves about 126 gas when running the tests.

Tools Used

vscode

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.