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

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 join this conversation on GitHub. Already have an account? Sign in to comment
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