Skip to content

Add comprehensive contract integration tests for Soroban-backend interaction #559

Description

@Wilfred007

What

No tests verify the interaction between Soroban contracts and the backend event indexer. Add integration tests that deploy contracts, execute operations, and verify backend indexes events correctly.

Why

Contract events and backend indexing are separate systems that must work together. Currently tested in isolation.

Scope

In scope: Deploy contracts to local Soroban, execute operations, verify events indexed, verify API returns data
Out of scope: Testnet testing

Acceptance Criteria

  • Tests deploy each contract to local Soroban
  • Execute bulk payment, verify events indexed
  • Execute vesting, verify events indexed
  • API returns contract event data

Technical Context

  • contracts/ — Soroban contracts
  • backend/src/services/contractEventIndexerService.ts — indexer
  • backend/src/__tests__/ — test directory

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third CampaigncontractSmart Contract developmenthardComplex tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions