HardhatFoundry
30,000 USDC
View results
Submission Details
Severity: low
Invalid

Remove `uint160` when casting to address

GitHub
https://github.com/Cyfrin/2024-07-biconomy/blob/9590f25cd63f7ad2c54feb618036984774f3879d/contracts/lib/ExecLib.sol#L40

Summary

The decodeDelegateCall function includes an unnecessary cast to uint160 before casting to address.

Impact

Redundant casting can cause confusion and does not improve functionality, potentially leading to misunderstandings.

Recommendation

Remove the unnecessary uint160 cast and directly cast bytes20 to address.

Updates

Lead Judging Commences

0xnevi Lead Judge
12 months ago
0xnevi Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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