Skip to content

feat(sdk): classify POLY_1271 setup errors#12

Merged
SebastianBoehler merged 1 commit into
mainfrom
codex/poly1271-error-diagnostics
May 21, 2026
Merged

feat(sdk): classify POLY_1271 setup errors#12
SebastianBoehler merged 1 commit into
mainfrom
codex/poly1271-error-diagnostics

Conversation

@SebastianBoehler
Copy link
Copy Markdown
Owner

Summary

  • add a dedicated SdkErrorCode::DepositWalletSetup classification for the known POLY_1271 signer/API-key rejection
  • replace the raw CLOB error with guidance to check the deployed funder wallet, approvals, balance, and balance sync
  • document the classification in the CLOB V2 migration notes

Validation

  • cmake -S . -B /tmp/polymarket-cpp-client-verify -DPOLYMARKET_CLIENT_BUILD_EXAMPLES=ON -DPOLYMARKET_CLIENT_BUILD_TESTS=ON
  • cmake --build /tmp/polymarket-cpp-client-verify -- -j4
  • ctest --test-dir /tmp/polymarket-cpp-client-verify --output-on-failure
  • git diff --check

@SebastianBoehler SebastianBoehler merged commit 6551e9c into main May 21, 2026
8 checks passed
@SebastianBoehler SebastianBoehler deleted the codex/poly1271-error-diagnostics branch May 21, 2026 06:39
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