Skip to content

Add a CI job verifying testnet addresses resolve on Horizon (or are documented as synthetic-only) #44

Description

@knytcomics-ui

Problem

destinations.json explicitly states its addresses are synthetic and not real/funded — meaning they likely don't exist as funded accounts on Stellar testnet at all. That's fine for the JSON-level ground truth, but it creates ambiguity for the transactions/ XDRs: an unsigned transaction built with a synthetic, unfunded source account is still structurally decodable (which is all the decode step needs), but it's worth explicitly settling and documenting whether this repo ever intends its fixtures to be resolvable against live testnet state (e.g. for a future integration test that submits to testnet) or whether "synthetic and offline-only, forever" is a permanent design constraint.

Requirements

  • Decide (document the decision, e.g. as a follow-up to the static-stub-scores ADR) whether fixtures are permanently synthetic/offline-only or whether a future subset should be real, funded testnet accounts kept alive via a periodic friendbot top-up.
  • If synthetic-only is confirmed as permanent: add a one-time CI check (or a clearly-labelled manual script, not a blocking CI gate) that queries Horizon's testnet API for each address and asserts none of them resolve to a funded account — regression-testing the "these are definitely not real accounts" guarantee itself, since a coincidental real-world collision, however unlikely, would be worth knowing about.
  • If a live subset is instead desired: scope that as a separate, larger follow-up issue rather than folding it into this one.

Acceptance Criteria

  • A documented decision exists.
  • If synthetic-only is chosen: the collision-check script exists and passes for all current addresses.

Part of the Gryd-lock organization. This repo supplies the labelled testnet fixtures and stub scores consumed by grydlock-oracle-adapter's StubOracle and evaluated end-to-end by grydlock-research.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26advancedRequires deep domain knowledge or cross-repo contextarea: ciCI/CD and repository hygienearea: cross-repoContracts with sibling Gryd-lock reposenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions