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

feat: update zevm connector to accept zeta in onreceive #143

Conversation

andresaiello
Copy link
Collaborator

Summary

Right now the logic in zevm connector for onReceive and onRevert is:
1- Send ZETA from fungible module to connector
2- Call onReceive (or onRevert) from fungible module

The problem with this approach is if onReceive call fail, the tokens are already in connector and we can't get it back.
To solve this both method should be payable and will be only one tx.

@andresaiello andresaiello merged commit 211e1d1 into main Apr 22, 2024
9 checks passed
@andresaiello andresaiello deleted the andy/pd-6027-feat-update-zevm-connector-to-accept-zeta-in-onreceive-and branch April 22, 2024 16:26
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.

3 participants