Skip to content

[sdk]: improve order interface#807

Open
ddboy19912 wants to merge 8 commits intomainfrom
fix/improve-order-interface
Open

[sdk]: improve order interface#807
ddboy19912 wants to merge 8 commits intomainfrom
fix/improve-order-interface

Conversation

@ddboy19912
Copy link
Copy Markdown
Contributor

No description provided.

**Yields:** `CancelEvent`

**Throws:** If the order is same-chain and `fromDest` is `true`
**Throws:** If the order is same-chain and destination-side cancellation is requested
Copy link
Copy Markdown
Member

@Wizdave97 Wizdave97 May 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should not throw, it should just proceed with cancelling, also if from or dest is not passed and the order is same chain, it should also proceed to cancel

@ddboy19912 ddboy19912 changed the title fix: improve order interface [sdk]: improve order interface May 2, 2026
@ddboy19912 ddboy19912 linked an issue May 2, 2026 that may be closed by this pull request
@ddboy19912 ddboy19912 requested a review from Wizdave97 May 2, 2026 07:40
@ddboy19912 ddboy19912 marked this pull request as ready for review May 2, 2026 07:41
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.

Improve SDK interface for placing and cancelling orders

2 participants