Skip to content

feat(clob): centralize fast order execution path#8

Merged
SebastianBoehler merged 1 commit into
mainfrom
codex/fast-order-execution
May 11, 2026
Merged

feat(clob): centralize fast order execution path#8
SebastianBoehler merged 1 commit into
mainfrom
codex/fast-order-execution

Conversation

@SebastianBoehler
Copy link
Copy Markdown
Owner

Summary

  • move order creation/post/cancel methods into a focused clob_order_execution.cpp module
  • add an internal OrderExecutionContext plus shared V2 order payload serialization helpers
  • add deterministic tests for limit-order amount math, signer/funder context behavior, and batch payload serialization

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 force-pushed the codex/fast-order-execution branch from 865e562 to 9721a3d Compare May 11, 2026 14:25
@SebastianBoehler SebastianBoehler merged commit ffeab72 into main May 11, 2026
2 checks passed
@SebastianBoehler SebastianBoehler deleted the codex/fast-order-execution branch May 11, 2026 14:25
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