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

Uncaught TypeError: Cannot read properties of undefined (reading 'includes') #5206

Closed
suraneti opened this issue Feb 17, 2022 · 2 comments
Closed
Labels
waiting on feedback Waiting for original opener to respond if bug is fixed

Comments

@suraneti
Copy link

suraneti commented Feb 17, 2022

This issue does not happen on bscscan & etherscan.

Environment

  • Elixir & Erlang/OTP versions (elixir -version):
  • Operating System: Ubuntu 15.03
  • Blockscout Version/branch: 4.0.0 beta

Steps to reproduce

  1. call a simple function that query mapping address to uint256 with an invalid address

Expected behavior

  • Should return a zero "0" value on UI (fallback case).

Actual behavior

  • Nothing happened and an error log occurred
smart-contract-helpers-a480128eb4a5b6d875fac719b5c0c619.js?vsn=d:2 Uncaught TypeError: Cannot read properties of undefined (reading 'includes')
    at j (smart-contract-helpers-a480128eb4a5b6d875fac719b5c0c619.js?vsn=d:2:422810)
    at smart-contract-helpers-a480128eb4a5b6d875fac719b5c0c619.js?vsn=d:2:420060
    at Function.map (smart-contract-helpers-a480128eb4a5b6d875fac719b5c0c619.js?vsn=d:2:1671070)
    at b (smart-contract-helpers-a480128eb4a5b6d875fac719b5c0c619.js?vsn=d:2:419967)
    at HTMLFormElement.<anonymous> (smart-contract-helpers-a480128eb4a5b6d875fac719b5c0c619.js?vsn=d:2:3942769)
    at HTMLFormElement.dispatch (smart-contract-helpers-a480128eb4a5b6d875fac719b5c0c619.js?vsn=d:2:1710935)
    at HTMLFormElement.m.handle (smart-contract-helpers-a480128eb4a5b6d875fac719b5c0c619.js?vsn=d:2:1708930)
` ``
@vbaranov
Copy link
Member

@suraneti do you have a sample contract on any of the public Blockscout instances? It will help with debugging.

@vbaranov
Copy link
Member

We cannot reproduce the issue. Closing this due to no answer. Please open a new issue, if it is still present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting on feedback Waiting for original opener to respond if bug is fixed
Projects
None yet
Development

No branches or pull requests

3 participants