mev-inspect-rs icon indicating copy to clipboard operation
mev-inspect-rs copied to clipboard

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

Open gankhe opened this issue 4 years ago • 3 comments

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.😢

gankhe avatar Apr 07 '21 15:04 gankhe

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

gakonst avatar Apr 09 '21 22:04 gakonst

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.

riceluxs1t avatar May 31 '21 23:05 riceluxs1t

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

gakonst avatar Jun 01 '21 09:06 gakonst