Skip to content

Align sponsor idempotency across Developer SDKs - #181

Merged
edo-chan merged 2 commits into
mainfrom
codex/sponsor-idempotency-contract
Jul 13, 2026
Merged

Align sponsor idempotency across Developer SDKs#181
edo-chan merged 2 commits into
mainfrom
codex/sponsor-idempotency-contract

Conversation

@edo-chan

Copy link
Copy Markdown
Collaborator

Summary

  • remove unsupported sponsor metadata from the TypeScript and Python public contracts
  • retain optional idempotency keys and forward the same wire field in both SDKs
  • extend the Python local E2E to retry a real sponsored Surfpool transaction and verify no balance change repeats
  • add a minor changeset for @swig-wallet/developer-sdk

Backend enforcement is merged in swig-dev-portal#674.

Verification

  • TypeScript: 79 tests, typecheck, lint, package build
  • Python: 19 tests, Ruff, Mypy, sdist and wheel build
  • local Python E2E against Tilt + Surfpool + paymaster + Redis: status: ok, paymaster_idempotency_replayed: true
  • live paymaster logs confirmed the second call replayed the original request ID
  • git diff --check

@edo-chan
edo-chan merged commit ac039aa into main Jul 13, 2026
5 checks passed
@edo-chan
edo-chan deleted the codex/sponsor-idempotency-contract branch July 13, 2026 22:50
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