Skip to content

Release: ABI / contract-interface snapshot tests to catch breaking spec changes #805

Description

@joelpeace48-cell

Context

Frontend, backend, and partner SDKs depend on the contract interface. A silent signature/spec change
breaks integrators. There is no snapshot test pinning the contract spec.

Scope

  • Export the contract spec (env meta / interface) and snapshot it in CI.
  • Fail the build on any unintended interface change; require an explicit version bump + changelog.
  • Generate typed bindings from the pinned spec.

Acceptance criteria

  • Any interface change requires updating the snapshot + bumping the documented version.

Verification

  • Changing a function signature without updating the snapshot fails CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: smart-contractSoroban Rust contractsciContinuous Integration / workflowsdifficulty: mediumModerate complexitytestingTests and test tooling

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions