Skip to content

Time-Locked Release Invariants #156

@Cedarich

Description

@Cedarich

Status: Open (Wave 3 – correctness)
Labels: Contract, Security
Complexity: High (200 points)

Summary
Harden the time-locking logic to ensure funds cannot be released before a specific ledger sequence or timestamp under any circumstances.
Tasks

  • Define strict time-lock invariants in the code comments.
  • Implement robust checks against env.ledger().timestamp() or sequence().
  • Add "fuzz tests" for time-based conditions to detect potential overflow or logic errors.
    Acceptance Criteria
  • Time-locks are strictly enforced and verified by property-based tests.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions