Skip to content

Add State Transition Validation #108

@ahmadogo

Description

@ahmadogo

Summary:

Ensure contract state changes follow an allowed sequence (e.g., Pending → Active → Settled).

Acceptance Criteria:

Define state enum stored in instance storage.
Reject transitions that skip or regress.
Add tests for valid/invalid transitions.

Notes:

State machine logic should be clean and explicit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions