Skip to content

feat(client): support for multiple position merges#123

Open
cesarenaldi wants to merge 9 commits into
mainfrom
feature/dev-344-execute-transaction
Open

feat(client): support for multiple position merges#123
cesarenaldi wants to merge 9 commits into
mainfrom
feature/dev-344-execute-transaction

Conversation

@cesarenaldi

@cesarenaldi cesarenaldi commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add public sync/async execute_transaction(...) methods for custom transaction call batches.
  • Add public sync/async merge_multiple_positions(...) helpers for batch market-position or combo-position merges with per-position amount support.
  • Reject mixed market/combo merge batches and export typed request shapes for each supported request form.
  • Document custom transaction calls and market/combo batch merge usage in the README.

Linear: DEV-344

Verification

  • uv run ruff format --check .
  • uv run ruff check .
  • uv run pyright
  • uv run pytest tests/unit/test_sync_relayer_workflows.py tests/unit/test_relayer_position_workflows.py
  • uv run pytest currently fails 4 existing wallet-default derivation tests outside this change area: test_secure_client_defaults_wallet_to_current_deposit_wallet, test_secure_client_wallet_defaults_to_current_deposit_wallet_when_omitted, test_async_secure_client_wallet_defaults_to_current_deposit_wallet_when_omitted, test_create_defaults_wallet_to_current_deposit_wallet.

@cesarenaldi cesarenaldi changed the title feat(client): add custom transaction execution feat(client): support for multiple position merges Jun 26, 2026
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