Skip to content
This repository was 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

@xingyushu

Description

@xingyushu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions