Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

please ensure the contract and method you're calling exist! failed to decode empty byte #65

Open
xingyushu opened this issue Mar 15, 2022 · 0 comments

Comments

@xingyushu
Copy link

xingyushu commented Mar 15, 2022

Please post your question as a discussion in the Flashbots Discord

I met a error hint:

bob@bob-XPS-8940:~/search/code/bot/bot/mev-inspect-rs$ ./target/release/mev-inspect -u http://localhost:8549  blocks -f 7475414  -t 7475462
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

My command:

./target/release/openethereum --ws-port 8548 --jsonrpc-port=8549 --jsonrpc-interface all --jsonrpc-cors all --jsonrpc-apis all --jsonrpc-hosts all

ws port: 8548
RPC port: 8549

Am I missing a method to open at runtime, such as debug, etc.

however, I set the specific apis like this:

./target/release/openethereum --ws-port 8548 --jsonrpc-port=8549 --jsonrpc-interface all --jsonrpc-cors all --jsonrpc-apis safe,debug,web3,net,eth,pubsub,personal,signer,parity,parity_pubsub,parity_accounts,parity_set,traces,secretstore --jsonrpc-hosts all
It met the same error.

Can you help me?
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant