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

Show raw data for empty methods without params #4215

Open
schmanu opened this issue Sep 20, 2024 · 0 comments · May be fixed by #4260
Open

Show raw data for empty methods without params #4215

schmanu opened this issue Sep 20, 2024 · 0 comments · May be fixed by #4260
Assignees
Labels
bug Something isn't working

Comments

@schmanu
Copy link
Member

schmanu commented Sep 20, 2024

Bug description

If a contract is missing ABI information (e.g. unverified contracts) or if fallback functions are getting called our decoder currently returns an empty method name without parameters.
In such cases we should display the raw data.

Environment

  • Browser: Chrome
  • Wallet: MetaMask
  • Chain: Ethereum mainnet

Steps to reproduce

  1. Use e.g. Bungee Safe App to bridge native ETH or call any other fallback() function with data.
  2. Observe that we do not display the data but instead just display "No parameters"

Expected result

  • Show the to address and the hex data
    OR
  • show fallback() as function name and raw data (if the contract has a fallback() function)

Obtained result

We display the to address and "No Parameters"

Screenshots

Screenshot 2024-09-20 at 09 40 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready to merge
2 participants