code-423n4 / 2021-08-yield-findings

1 stars 0 forks source link

Gas: `TimeLock.setDelay` reads storage variable for event #33

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

cmichel

Vulnerability details

TimeLock.setDelay reads storage variable for event which produces an SLOAD. It should use emit DelaySet(_delay) instead of emit DelaySet(delay)

alcueca commented 3 years ago

Fix