Skip to content

[sdk]: thread relayerFee into cancel order calldata#717

Merged
Wizdave97 merged 2 commits intomainfrom
fix/relayer-fee-cancel-bug
Mar 20, 2026
Merged

[sdk]: thread relayerFee into cancel order calldata#717
Wizdave97 merged 2 commits intomainfrom
fix/relayer-fee-cancel-bug

Conversation

@ddboy19912
Copy link
Copy Markdown
Contributor

This PR fixes cross-chain cancellation in the SDK by quoting and passing the correct relayer fee during cancel submission. Before this, some cancel transactions were built with a zero relayer fee even when one was required, which could break cancellation and lead to confusing wallet fee errors. The update adds a simple cancel quote return shape with both native value and relayer fee, uses that fee in the cancel calldata, and exposes it publicly so integrators can prepare approvals and submit cancels correctly.
Screenshot 2026-03-18 at 15 40 01

@Wizdave97 Wizdave97 merged commit 90dc08a into main Mar 20, 2026
1 of 5 checks passed
@Wizdave97 Wizdave97 deleted the fix/relayer-fee-cancel-bug branch March 20, 2026 10:09
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.

3 participants