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

WarpCore shouldn't allow for recipients to be the remote router or remote collateral token #4964

Open
tkporter opened this issue Dec 7, 2024 · 0 comments

Comments

@tkporter
Copy link
Collaborator

tkporter commented Dec 7, 2024

Problem

Sadly recently someone used the UI to do a Stride -> Eclipse transfer, and they set the recipient as the mint address on the Eclipse side

Solution

In validateTransfer, we should require the recipient is not the destination router or token address

Nice to Have

Describe non-essential extensions to the solution
Additional features which should be implemented if they are easy to accommodate but otherwise can be skipped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants