Skip to content

Commit b12907a

Browse files
committed
make cancellation fee zero
1 parent 47c245e commit b12907a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/pages/developers/evm/intent-gateway-sdk.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,9 @@ const finalizedHeight = step.value.data.proof.height;
330330
### Submit cancel transaction and continue
331331

332332
```typescript
333-
import { parseUnits } from "viem";
334-
335333
// 4. Submit cancel transaction on the source chain
336334
const cancelOptions = {
337-
relayerFee: parseUnits("0.05", 18),
335+
relayerFee: 0n,
338336
height: finalizedHeight,
339337
};
340338

@@ -601,7 +599,7 @@ async function cancelExpiredOrder(order: Order) {
601599
});
602600

603601
const cancelOptions = {
604-
relayerFee: parseUnits("0.05", 18),
602+
relayerFee: 0n,
605603
height: finalizedHeight,
606604
};
607605

0 commit comments

Comments
 (0)