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

RDN tokens not shown on the token withdrawal screen on mainnet #2237

Closed
christianbrb opened this issue Oct 13, 2020 · 5 comments · Fixed by #2256 or #2272
Closed

RDN tokens not shown on the token withdrawal screen on mainnet #2237

christianbrb opened this issue Oct 13, 2020 · 5 comments · Fixed by #2256 or #2272
Assignees
Labels
2 bug 🕷️ Something isn't working dApp 📱

Comments

@christianbrb
Copy link
Contributor

christianbrb commented Oct 13, 2020

Thanks for filing a bug report :-)

Reported by @jjjseee

Steps to Reproduce

  1. Deposit RDN to the UDC
  2. Withdraw tokens from the UDC
  3. Wait 100 blocks
  4. Check etherscan if the withdraw-transaction has been completed for the Raiden Account (in this case: https://etherscan.io/tx/0x9aa881340667f0d81c9e1b5c25e963c38b30e4be5b58aa500a42471957b95a66)

Expected Result

  • I see the RDN tokens on the Withdrawal Screen and can withdraw them to the main account.

Actual Result

  • I don't see the tokens on the withdrawal screen and cannot withdraw the tokens.

    grafik

@christianbrb christianbrb added bug 🕷️ Something isn't working dApp 📱 labels Oct 13, 2020
@christianbrb christianbrb added this to the Product Backlog milestone Oct 13, 2020
@agatsoh
Copy link
Contributor

agatsoh commented Oct 14, 2020

The address of the main account: 0x5f793f7678123dB5b4AaBFd9Ca25dfa049A615b5
The address of the raiden account: 0x80D9eF97326D31Bab34fADe2150798D29444CD82

Step 1. Depositing RDN to UDC

udc_balance_10rdn

Step 2. Withdrawing tokens from the account.
Please note for withdrawing tokens the raiden account must have ETH so please transfer some ETH to your raiden account
This results in the plannedWithdraw call
The plannedWithdraw transaction
https://etherscan.io/tx/0x711f460a92156c669902abcc6201c038a76f6227f37558efea0b6e0db6b29382

Step 3: After a 100 blocks there must be the withdraw call
The withdraw transaction
https://etherscan.io/tx/0xafedbf891cdafb805684d55541d39eeb7f4357176350c06c2ef83a777a42a2e8
This will deposit tokens to your raiden account and not to the main account.

The withdraw tokens screen after withdraw

withdraw_tokens_screen

The withdraw transaction on etherscan
withdraw_function_call_etherscan

The RDN balance of the raiden account

rdn_balance_raiden_account_full_screen

Outcome:
The issue can be reproduced and there is no access to the RDN tokens once they are retrieved to the raiden account

  1. The raiden tokens are deposited through the main account
  2. The raiden tokens on withdrawal are withrawn to the raiden account(which requires ETH funding on raiden account)
  3. The Withdrawal screen does not show any RDN tokens

@agatsoh
Copy link
Contributor

agatsoh commented Oct 15, 2020

On the mainnet RDN still does not appear on the withdrawal screen

Since I already withdrew the RDN to the raiden account yesterday. The steps are as follows
step 1:
Access https://lightclient.raiden.network/temp-mainnet-enabled
Step 2:
Sign on metamask so app can generate a subkey
Step 3:
Go to the Withdrawal Screen and there i see something like below

The plannedWithdraw transaction
https://etherscan.io/tx/0x711f460a92156c669902abcc6201c038a76f6227f37558efea0b6e0db6b29382

The withdraw transaction
https://etherscan.io/tx/0xafedbf891cdafb805684d55541d39eeb7f4357176350c06c2ef83a777a42a2e8

rdn_withdrawal_screen

latest RDN balance of the raiden account:

rdn_account_balance_latest

@agatsoh
Copy link
Contributor

agatsoh commented Oct 15, 2020

latest test
withdraw_tokens_screen_latestg

@christianbrb
Copy link
Contributor Author

It does not seem to work on mainnet. Reopening.

@taleldayekh Could you please have a look, thanks :)

@weilbith
Copy link
Contributor

Sorry. I linked my PR to the wrong issue. 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 bug 🕷️ Something isn't working dApp 📱
Projects
None yet
4 participants