Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Runtime error accessing transfer details #741

Open
amonsosanz opened this issue Nov 12, 2021 · 0 comments
Open

Runtime error accessing transfer details #741

amonsosanz opened this issue Nov 12, 2021 · 0 comments
Labels
status: needs information Needs more information to take a decision type: bug Something isn't working

Comments

@amonsosanz
Copy link
Contributor

amonsosanz commented Nov 12, 2021

The steps I followed to encounter this error are the following:

  • Click Send button to initiate a transfer tx
  • Select a token
  • Set an amount
  • Click Continue
  • Click Send
  • Quickly click on the transfer to access its details

This video shows the process and the error.

The issue is difficult to reproduce and requires further investigation. I suspect it's a kind of race condition, but can't be sure. It may be related to some initial state or doing some steps before what is shown in the video.

The error occurs in the function getPartiallyHiddenHermezAddress from the module src/views/shared/transaction-info/transaction-info.view.jsx. This function expects a hermezAddress string and instead it gets a null.

The call to getPartiallyHiddenHermezAddress initiates on the module src/views/shared/transaction-info/transaction-info.view.jsx:135, when TransactionInfoTable is instantiated and we call getPartiallyHiddenHermezAddress passing in txData.toHezEthereumAddress, which is, under some yet to determine circumstances, unexpectedly null.

@amonsosanz amonsosanz changed the title Runtime error accessing deposit details Runtime error accessing transfer details Nov 12, 2021
@amonsosanz amonsosanz added the type: bug Something isn't working label Nov 12, 2021
@adrifdez adrifdez assigned adrifdez and unassigned adrifdez Nov 22, 2021
@AlbertoElias AlbertoElias added the status: needs information Needs more information to take a decision label Dec 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: needs information Needs more information to take a decision type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants