You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does the swap page consider those assets invalid to trade? The protocol allows it, and indeed this is useful to permit, because it lets people exit delegation early if there is a counterparty willing to take on the slashing risk.
i agree that the correct action may be to simply not filter assets for swap input. i think filtering was implemented before the priority system existed, so the intent was to declutter the asset selection menu.
i think it may also make sense to not show delegation tokens in the normal asset list, but provide a trade button next to the appropriate validator on the stake page.
I disagree with not showing delegation assets in the normal asset list. One of the key differentiators of Penumbra is that delegation tokens are ordinary tokens, with all that this entails. This fact, imo, should not be occluded by the UI.
Describe the bug
A 'trade' button appears next to tokens that cannot be swapped
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The asset list should not invite the user to trade a token that is considered invalid by the swap page.
Screenshots
asset list
swap page
Additional context
I examined this problem on a local devnet
The text was updated successfully, but these errors were encountered: