code-423n4 / 2022-10-paladin-findings

2 stars 0 forks source link

QA Report #276

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

*Actually a Gas report sent a QA Report as Gas report, sorry.

1 Cache storage values in memory to minimize SLOADs

The code can be optimized by minimising the number of SLOADs. SLOADs are expensive 100 gas compared to MLOADs/MSTOREs(3gas) Storage value should get cached in memory

c4-judge commented 1 year ago

kirk-baird changed the severity to G (Gas Optimization)

c4-judge commented 1 year ago

kirk-baird marked the issue as grade-b