kodadot / nft-gallery

Generative Art Marketplace
https://kodadot.xyz
MIT License
613 stars 351 forks source link

Teleport: KSM from Statemine (ahk) to Kusama chain not working properly (Missing existencial deposit pop-up) #7213

Closed JustLuuuu closed 5 months ago

JustLuuuu commented 10 months ago

Issue

One artist (tg hannahpolza) noticed this issue and I had to try. And yes, there is an issue, teleport not working as it should. When you select max amount of KSM to teleport, your transaction will be shown as finalized, but the assets will stay on the chain. The problem is that existential deposit must be reserved.

I tried to Teleport my 0,1 KSM (max amount) from AssetHubKusama (Statemine) back to the Kusama (relay) chain. My address: CdvMAsr7B9WxpUKRRTKpDjzz2G5F95p9F6EdcgxpBTuVmWY After using teleport and signing the transaction, it showed me that it was "finalized." Sadly, my funds did not move anywhere and stayed on AssetHubKusama. - It is because there is an existential deposit of 0.000033333 KSM.

Status of my funds on Polkadot.js before trying it:

Screenshot 2023-09-08 at 15 57 10

How it went:

  1. I selected max amount:

    Screenshot 2023-09-08 at 15 54 42
  2. After signing the transaction:

    Screenshot 2023-09-08 at 15 55 02
  3. Transaction was finalized.

    Screenshot 2023-09-08 at 15 55 43

My wallet after:

Even though it showed that the transaction was finalized. My funds stayed.

Screenshot 2023-09-08 at 15 58 56

Subscan:

The problem is the existential deposit - Why I didn't get notified about it? (pop-up: your transaction is higher than the existential deposit) - Transaction should not show that its finalized if its not.

dudo50 commented 9 months ago

I already pointed out this problem in the following issue: https://github.com/kodadot/nft-gallery/issues/6601 The max amount should transfer less than the actual max because there will not be enough currency left to pay for fees on the origin chain. The transaction will finalize but will ultimately revert because the account is unable to pay for fees.

AshutoshSingh72 commented 8 months ago

😂 funny luu look at the screenshot there is comma ( , ) there should be a point .