Flow

Sablier
FoundryDeFi
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Stream State Management Risks

location: /src/abstracts/SablierFlowBase.sol

Description: The contract relies heavily on the state of streams (active, paused, voided, etc.) which may lead to inconsistent behavior if not managed properly.

  • Code Reference:

if (!_streams[streamId].isStream) {
revert Errors.SablierFlow_Null(streamId);
}

Impact:

  • If the stream states are not managed properly, it could lead to unauthorized access or interaction with streams that should be inactive.

  • Recommendations:

    • Ensure comprehensive testing of all state transitions and consider adding events for state changes to help track changes and facilitate debugging.

Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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