Skip to content

Add unit tests for locked allocation get_locked_allocation returning claimed true after claim #485

Description

@Chucks1093

Summary

After a creator claims their locked allocation, get_locked_allocation should return a status with claimed: true. A unit test should confirm the field updates correctly after a successful claim and stays true if the view is called again.

Scope

  • Register a creator with a locked allocation
  • Advance ledger past the unlock ledger
  • Claim the allocation
  • Call get_locked_allocation and assert claimed is true
  • Call again and assert it is still true

Acceptance Criteria

  • claimed field is false before claim
  • claimed field is true after successful claim
  • Field remains true on subsequent reads

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

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