Skip to content

Add tests for claim_default + appeal_default score restoration #491

Description

@Levi-Ojukwu

Description:

The appeal flow needs tests for score restoration logic.

Why it matters: Incorrect score restoration could permanently damage payer reputation.

Acceptance Criteria:

  • Test payer score is saved before default
  • Test appeal upheld restores score
  • Test appeal rejected preserves penalty
  • Test appeal window expiration

Relevant Files: contracts/invoice_liquidity/src/tests_appeal.rs


Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions