Gas optimization #34
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
0x1f8b
Vulnerability details
Impact
Gas saving.
Proof of Concept
The method initializeRepayment inside the contract Repayments has multipe storage access, it's better to get a pointer of the
RepaymentConstants
with thestorage
keyword in order to avoid seeking and storage access.Tools Used
Manual review
Recommended Mitigation Steps
Use storage keyword in order to save gas
The text was updated successfully, but these errors were encountered: