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

WTLOS balance incorrect after withdrawal (unwrap) #709

Closed
pmjanus opened this issue Apr 19, 2024 · 4 comments · Fixed by #714
Closed

WTLOS balance incorrect after withdrawal (unwrap) #709

pmjanus opened this issue Apr 19, 2024 · 4 comments · Fixed by #714
Assignees

Comments

@pmjanus
Copy link
Contributor

pmjanus commented Apr 19, 2024

Describe the bug

When an address withdraws (unwraps) WTLOS, the balance of TLOS is not updated on Teloscan. Additionally, the ERC20 transfer field is empty for the withdrawal transaction, even though it should contain the relevant information.

To Reproduce

Steps to reproduce the behavior:

  1. Go to this withdrawal transaction page.

  2. Note that the ERC20 transfer field is empty:

image
  1. Click on the address and go to this page to view the address balances. Note the incorrect TLOS balance.

  2. Verify the user's WTLOS balance on the WTLOS contract page. Go to the "Read" tab, use the "balanceOf" method, and enter the address 0x1Da699A4fCCdD5Fb02562767C54b720DeC79212f. The balance should be 2000000000000000000.

Expected behavior

  • The ERC20 transfer field should contain the relevant information for the WTLOS withdrawal transaction.
  • The TLOS balance of the address should be updated on Teloscan after the withdrawal transaction.

Actual behavior

  • The ERC20 transfer field is empty for the WTLOS withdrawal transaction.
  • The TLOS balance of the address is not updated on Teloscan after the withdrawal transaction.

Screenshots
ERC20 transfer field is empty:

image
@tomtomcrypto
Copy link
Contributor

@pmjanus pmjanus reopened this Apr 19, 2024
@Viterbo Viterbo self-assigned this Apr 19, 2024
@Viterbo
Copy link
Collaborator

Viterbo commented Apr 19, 2024

@pmjanus

There's a problem with this requirement:
image

In the withdrawal action, there's no ERC20 transfer at all. So, this is not a bug that that field shows empty. The bug instead is showing the field name when it's empty (but that issue is tracked in #700)
image
image
image

@Viterbo Viterbo added the 🔬 Needs Refinement Further information is required label Apr 19, 2024
@Viterbo
Copy link
Collaborator

Viterbo commented Apr 19, 2024

@Viterbo Viterbo removed the 🔬 Needs Refinement Further information is required label Apr 19, 2024
@pmjanus
Copy link
Contributor Author

pmjanus commented Apr 20, 2024

We want instead to add a transaction action field that states

Transaction Action:

Unwrap 0.2438  WTLOS into 0.2438TLOS

@Viterbo Viterbo linked a pull request Apr 20, 2024 that will close this issue
pmjanus added a commit that referenced this issue Apr 25, 2024
…-after-withdrawal-unwrap

#709 | wtlos balance incorrect after withdrawal unwrap
@pmjanus pmjanus closed this as completed Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants