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

Invalid rent exempt check for Solana SPL withdraws #3372

Closed
lumtis opened this issue Jan 17, 2025 · 1 comment
Closed

Invalid rent exempt check for Solana SPL withdraws #3372

lumtis opened this issue Jan 17, 2025 · 1 comment
Assignees
Labels
bug Something isn't working m:crosschain priority:1

Comments

@lumtis
Copy link
Member

lumtis commented Jan 17, 2025

Describe the Bug

At the line x/crosschain/keeper/evm_hooks.go:333

We check cctx value so it's greater than the rent amount, we check this value if chain is Solana even we're using a SPL token and not SOL.

The value checked is 0.001SOL (1000000), this makes withdraws for some SPL not usable if decimal is too low. For example the minimum for BTC would be 0.01BTC.

We should determine if this check is still relevant, remove or update it.

@lumtis
Copy link
Member Author

lumtis commented Jan 21, 2025

Closed by #3374

@ws4charlie please attach issues to PR

@lumtis lumtis closed this as completed Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working m:crosschain priority:1
Projects
None yet
Development

No branches or pull requests

2 participants