Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ap211unitech
Copy link
Member

πŸ“ 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