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

Maximum transfer value while teleport #11332

Merged
merged 1 commit into from
Feb 25, 2025
Merged

Conversation

ap211unitech
Copy link
Contributor

📝 Description

Currently, users can input any value when teleporting assets, which can lead to unexpected errors if the amount exceeds the allowable limit or if it doesn't leave existential deposit behind. This PR addresses the issue by fetching the maximum transferable value for Teleport and enforcing this limit to ensure users cannot exceed it.

This update improves reliability and provides a smoother user experience by preventing invalid transfers and unexpected errors.

Image Image

@ap211unitech ap211unitech self-assigned this Feb 25, 2025
@ap211unitech ap211unitech linked an issue Feb 25, 2025 that may be closed by this pull request
Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

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

👍

@TarikGul TarikGul merged commit d1a0977 into master Feb 25, 2025
5 checks passed
@TarikGul TarikGul deleted the feat/max-transfer-teleport branch February 25, 2025 13:37
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Feb 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add keep alive check for teleporting to the Asset Hub
3 participants