Steadefi

Steadefi
DeFiHardhatFoundryOracle
35,000 USDC
View results
Submission Details
Severity: low
Valid

Events emitted when state is changed do not contain the old value

Summary

Events emitted when state is changed should contain both the old and the new value

Tools Used

Manual Review

Recommendations

Emit the old value as well

+ uint256 oldMinSlippage = _store.minSlippage;
_store.minSlippage = minSlippage;
- emit MinSlippageUpdated(minSlippage);
+ emit MinSlippageUpdated(oldMinSlippage, minSlippage);
Updates

Lead Judging Commences

hans Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Insufficient event emission

Support

FAQs

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