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

Transactions with a lot of embedded Base64 data takes a long time to load on the Explorer Web UI #1676

Closed
chainum opened this issue Sep 27, 2019 · 1 comment

Comments

@chainum
Copy link
Contributor

chainum commented Sep 27, 2019

Describe the bug
Transactions that are created using a lot of embedded base64 data will take a long time to load on the web explorer interface. The page will take several seconds to load and the CPU will get massively pegged when trying to load the transaction.

To Reproduce
Steps to reproduce the behavior:

Reproducing the transaction

Example on Pangaea's explorer of such a transaction

That's a transaction I created for Pangaea, I assume the same thing will happen to the Mainnet explorer as soon as someone starts sending transactions with a lot of base64 embedded data.

Expected behavior
The transaction page should load without freezing up the UI, not take several seconds to load and without pegging the CPU like crazy.

Screenshots
Loading the transaction page:
Loading

CPU usage while loading the transaction page:
CPU Usage when loading the page/transaction

When the transaction has finally loaded (after several seconds and pegging the CPU like crazy):
Loaded transaction

Environment (please complete the following information):

  • OS: [MacOS]
  • Browser: Safari, Chrome, Firefox
@yelllowsin
Copy link

@sebastianj performed a TX with a huge amount of data on main net and it seems the issue doesn't happen anymore, no hang: https://explorer.harmony.one/#/tx/0xe1072ab1631501253ff58e21bfa2e85795fab475320bdbd7a96f856f56fd180c

Though...i noticed the explorer layout cuts part of the data of the tx when presenting to the user. If you use Chrome Dev tools to check you will see the whole tx data is on HTML, it was just cut out from the view. Maybe close this one and open a new one with this new case?

image

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

No branches or pull requests

3 participants