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

Error: Invalid name: please ensure the contract and method you're calling exist! failed to decode empty bytes. if you're using jsonrpc this is likely due to jsonrpc returning 0x in case contract or method don't exist #57

Open
gankhe opened this issue Apr 7, 2021 · 3 comments

Comments

@gankhe
Copy link

gankhe commented Apr 7, 2021

I have a problem:
Execute the command
./target/release/mev-inspect -u http://x.x.x.x:8545

Error: Invalid name: please ensure the contract and method you're calling exist! failed to decode empty bytes. if you're using jsonrpc this is likely due to jsonrpc returning 0x in case contract or method don't exist

I need help.😢

@gakonst
Copy link
Collaborator

gakonst commented Apr 9, 2021

Hey - this does not look like a valid command to me...Can you give a specific block / tx example which fail to work?

@riceluxs1t
Copy link

Hi. I actually ran in to the same error message. Here is what I did

  1. setup a MEV-geth and run it locally via the following command
./build/bin/geth console --http --syncmode "light" --signer=/Users/namgun_kim/Library/Signer/clef.ipc
  1. ran the following mev-inspect-rs command to learn more about the particular block 12544939
./target/release/mev-inspect blocks -f 12544939 -t 12544939

I highly suspect that there is something wrong with my local setup.

@gakonst
Copy link
Collaborator

gakonst commented Jun 1, 2021

mev-inspect-rs works with Parity/Open Ethereum nodes, not Geth, due to usage of the tracing API!

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