Skip to content

Revert: restore TdxSnapshotTradeTick in C++ SDK#237

Merged
userFRM merged 1 commit into
mainfrom
fix/restore-snapshot-trade-tick
Apr 10, 2026
Merged

Revert: restore TdxSnapshotTradeTick in C++ SDK#237
userFRM merged 1 commit into
mainfrom
fix/restore-snapshot-trade-tick

Conversation

@userFRM

@userFRM userFRM commented Apr 10, 2026

Copy link
Copy Markdown
Owner

Summary

Reverts PR #232 which incorrectly removed TdxSnapshotTradeTick from the C++ SDK header.

The struct mirrors tdbe::SnapshotTradeTick which IS used by snapshot trade endpoints. It was missing FFI array/free plumbing (tracked in #216), but the struct itself should stay. Wiring the FFI exports is a separate task.

Reopens #227 (will be closed differently — by adding FFI plumbing instead of deleting the struct).

🤖 Generated with Claude Code

Restores TdxSnapshotTradeTick to the C++ SDK. The struct is not dead —
it mirrors the Rust SnapshotTradeTick type used for snapshot trade
endpoints. It was missing FFI plumbing (array type + free function),
which should be added rather than deleting the struct.

This reverts commit $(gh pr view 232 --json mergeCommit -q .mergeCommit.oid | head -c 7).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@userFRM userFRM merged commit 4e09d86 into main Apr 10, 2026
24 checks passed
@userFRM userFRM deleted the fix/restore-snapshot-trade-tick branch April 10, 2026 12:31
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