Skip to content

feat: implement Stellar Wave issues — turbo test, codegen guard, token/faucet and fee/referral mapping tests#1

Closed
goldandrew wants to merge 1 commit into
mainfrom
any/stellar-wave-indexer-and-turbo-test-enhance
Closed

feat: implement Stellar Wave issues — turbo test, codegen guard, token/faucet and fee/referral mapping tests#1
goldandrew wants to merge 1 commit into
mainfrom
any/stellar-wave-indexer-and-turbo-test-enhance

Conversation

@goldandrew

Copy link
Copy Markdown
Owner

Summary

Implements four issues assigned to the Stellar Wave track:

SO4-Markets#270 — Turbo: root test task integration

  • Added test task to turbo.json with ^build dependency and cache inputs
  • Added "test": "turbo test" script to root package.json
  • Updated CI to use the root bun run test instead of hardcoded path

SO4-Markets#269 — Indexer: GraphQL schema codegen guard

  • Added codegen validation test (tests/codegen.test.ts) that verifies generated types import cleanly
  • Added failure notes for common schema mistakes at the top of schema.graphql

SO4-Markets#268 — Indexer: token and faucet mapping tests

  • Added mapping tests for: mint (zero-address from), burn, approve, claim, faucet_claim
  • Added Token entity creation assertion and contract address reference test

SO4-Markets#267 — Indexer: fee and referral mapping tests

  • Added mapping tests for: funding fee claim (fnd_clm), UI fee accrual (ui_fee_acc), UI fee claim (ui_fee_clm), and referral ownership transfer (ref_xfr)
  • Added deterministic ID assertion for fee claims

Testing

  • bun run test at root runs all workspace tests via turbo
  • bun run --cwd apps/s03-indexer test runs subql build then mapping tests

… fee and referral mapping tests

Implements the four Stellar Wave issues:

- SO4-Markets#270: Add root test task to turbo.json and root package.json, update CI to use turbo test
- SO4-Markets#269: Add codegen validation test and document common GraphQL schema mistakes
- SO4-Markets#268: Add mapping tests for token mint, burn, approve, claim, and faucet_claim events
- SO4-Markets#267: Add mapping tests for funding fee claim, UI fee accrual/claim, and referral ownership transfer
@goldandrew

Copy link
Copy Markdown
Owner Author

Closing — will reopen against upstream

@goldandrew goldandrew closed this Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant