mediumLogic errorEVM-Solidity
Rubicon: Use of `block.number` leads to incorrect interest calculations
- Payout
- $0
- Protocol
- Rubicon
- Disclosed
- Feb 17, 2025
- Source
- code4rena
Rubicon's Position contract computed closing interest from the elapsed number of L2 blocks rather than wall-clock time, multiplying the borrowed amount by `borrowRatePerBlock` times `_blockDelta = block.number - _startBlock`. On Optimism, which mints a block p …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2023-04-rubicon-findings/issues/1141
- https://github.com/code-423n4/2023-04-rubicon-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.