Skip to content

Contracts: Add a test suite for lumenpulse-curation #1222

Description

@Cedarich

Complexity: Medium (150)

Description
apps/onchain/contracts/lumenpulse-curation has no tests. Curation decisions affect what surfaces to users through the backend moderation module, so incorrect state transitions have a direct product impact.

Acceptance Criteria

  • Tests cover every curation state transition, including invalid transitions that must revert.
  • Authorization is asserted for curator-only and admin-only entry points.
  • Events emitted on each transition are asserted, including payload contents.
  • Idempotent re-submission of the same decision is handled deterministically.
  • Test coverage for the crate is reported in the PR.

Wave 8 · source: contract.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

SorobanStellar WaveIssues in the Stellar wave programgovernanceGovernance featuresmoderationContent moderationsmart-contractsSoroban smart contract issuestestingTesting infrastructure

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions