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

Fix queueMessage draining all funds in sendNative on bridge #2181

Merged
merged 9 commits into from
Dec 5, 2024

Conversation

StefanIliev545
Copy link
Contributor

Why this change is needed

queueMessage is an internal function that sends all the msg.value to the msg bus; Doing it beforehand the sendNative drains all the funds that are to be bridged.

What changes were made as part of this PR

Please provide a high level list of the changes made

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

Copy link
Collaborator

@tudor-malene tudor-malene left a comment

Choose a reason for hiding this comment

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

lgtm

@StefanIliev545 StefanIliev545 merged commit 3ef0813 into main Dec 5, 2024
3 checks passed
@StefanIliev545 StefanIliev545 deleted the siliev/fix-fees branch December 5, 2024 17:57
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