Skip to content

Feat/delta simplify cancel and withdraw#235

Open
andriy-shymkiv wants to merge 3 commits intomasterfrom
feat/delta_simplify-cancelAndWithdraw
Open

Feat/delta simplify cancel and withdraw#235
andriy-shymkiv wants to merge 3 commits intomasterfrom
feat/delta_simplify-cancelAndWithdraw

Conversation

@andriy-shymkiv
Copy link
Copy Markdown
Member

@andriy-shymkiv andriy-shymkiv commented Apr 15, 2026

Simplified cancelAndWithdraw following the changes on the contracts side

closes FRNT-1310


Note

Medium Risk
Medium risk because it’s a breaking API/ABI change that alters how on-chain cancelAndWithdraw is encoded; mismatches with deployed contract versions or downstream callers will cause transaction failures or compile-time breaks.

Overview
Updates Delta cancelAndWithdraw to match the latest contract interface by removing signature/cosignature/bridgeOverride handling and passing a sanitized Order struct directly.

This changes the DeltaTokenModuleAbi definition and the cancelAndWithdrawDeltaOrder API (drops the signature param), eliminating the previous OrderWithSig wrapper and default bridge override logic.

Reviewed by Cursor Bugbot for commit 33d1e3f. Bugbot is set up for automated code reviews on this repo. Configure here.

@linear
Copy link
Copy Markdown

linear bot commented Apr 15, 2026

FRNT-1310

@andriy-shymkiv andriy-shymkiv requested a review from Velenir April 15, 2026 06:05
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 15, 2026

size-limit report 📦

Path Size
dist/sdk.cjs.production.min.js 17.87 KB (-0.7% 🔽)
dist/sdk.esm.js 17.72 KB (-0.96% 🔽)

Copy link
Copy Markdown
Member

@Velenir Velenir left a comment

Choose a reason for hiding this comment

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

Looks good

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.

2 participants