Use solidity version 0.8.19 to gain some gas boost
It is better to upgrade to the latest solidity version 0.8.19
to get additional gas savings.
See the latest release for reference: https://soliditylang.org/blog/2023/02/22/solidity-0.8.19-release-announcement/
Instances:
https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L24
pragma solidity ^0.8.18;
pragma solidity ^0.8.18;
https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/libraries/OracleLib.sol#L3
pragma solidity ^0.8.18;
Use of the above-mentioned solidity version helps save some gas.
Manual review
Change the solidity version to 0.8.19
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.