Skip to content

feat: add mock score registry contract#64

Open
snkk2x-collab wants to merge 2 commits into
Zcorehub:mainfrom
snkk2x-collab:codex/mock-score-registry-39
Open

feat: add mock score registry contract#64
snkk2x-collab wants to merge 2 commits into
Zcorehub:mainfrom
snkk2x-collab:codex/mock-score-registry-39

Conversation

@snkk2x-collab

Copy link
Copy Markdown

Summary

  • add a test-only Soroban mock score registry contract with configurable score and tier responses
  • add a server test helper for swapping SCORE_REGISTRY_CONTRACT_ID during local integration tests
  • document how the mock contract fits into the local contract and interface layout

Validation

  • PATH="$HOME/.cargo/bin:$PATH" cargo test
  • pnpm --dir Server exec vitest run src/test-helpers/__tests__/mock-soroban.test.ts
  • pnpm --dir Server exec vitest run
  • pnpm --dir Server exec tsc --noEmit --declaration false

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