Skip to content

Commit 3ee9252

Browse files
committed
docs: clarify fees collection process in technical flow diagrams
Updated the technical flow diagrams to specify that fees are collected on the origin chain from any remaining balance during the fallback refund path, even if the transaction fails. This change enhances the understanding of the fee structure in failure scenarios.
1 parent 1cdb0e6 commit 3ee9252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/technical-flow-diagrams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ sequenceDiagram
431431

432432
- **errorFlag:** The Calls module sets this when a call reverts with `behaviorOnError = IGNORE`
433433
- **onlyFallback logic:** These calls only run if the previous call reverted
434-
- **Fees on failure:** Yeah, we still collect fees even when things go wrong
434+
- **Fees on failure:** Fees are collected on the origin chain from any remaining balance during the fallback refund path, even if the transaction fails.
435435
- **Partial refunds:** If there's not enough balance for the full refund, we send what's there and emit `ActualRefund`
436436
- **Atomicity:** Everything happens in one transaction—no way to double-spend
437437

0 commit comments

Comments
 (0)