Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fast-bridge: Timeouts #381

Merged
merged 4 commits into from
Aug 27, 2024
Merged

fast-bridge: Timeouts #381

merged 4 commits into from
Aug 27, 2024

Conversation

dhruvja
Copy link
Collaborator

@dhruvja dhruvja commented Aug 27, 2024

If the solver is not able to solve the intent, then the escrowed funds can be issued back to the user. In case of single domain intents, the funds just get transferred to the user from the escrow account. But for cross chain intents, a timeout message is sent to the other chain with a flag of Timeout and the user who should receive it.

The intent should store the user on source chain so that during timeout, we know whom to refund the funds to. For the memo, it is the same format and only the receiver is changed to user address instead of solver.

@dhruvja dhruvja requested review from mina86 and doradelta August 27, 2024 07:42
Copy link
Collaborator

@doradelta doradelta left a comment

Choose a reason for hiding this comment

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

ok

@dhruvja dhruvja merged commit 6126f31 into fast-bridge Aug 27, 2024
3 of 4 checks passed
@dhruvja dhruvja deleted the timeouts branch August 27, 2024 12:40
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