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
Initially (un)bond xcm calls were intended to be executed for each deposit/withdrawal. However this has several downsides:
it's inefficient with high Tx volume to execute a single xcm for each trade.
especially unbonding is limited to 32 concurrent unlocked chunks before funds have to be withdrawn with withdraw_unbonded. Also incoming DOT deposits (bond) and DOT redemptions (unbond) would cancel each other out constantly.
This could be improved so that the PINT chain keeps a certain amount of stash (free balance) on the relay chain to cover final withdrawals. Since we keep track of the free balance and staked amount we can should only be required to unbond if a certain threshold of redemptions/stash is reached.
Issue summary
Initially (un)bond xcm calls were intended to be executed for each deposit/withdrawal. However this has several downsides:
This could be improved so that the PINT chain keeps a certain amount of stash (free balance) on the relay chain to cover final withdrawals. Since we keep track of the free balance and staked amount we can should only be required to unbond if a certain threshold of redemptions/stash is reached.
Other information and links
The text was updated successfully, but these errors were encountered: