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

eth_call:execution reverted #332

Open
zhy827827 opened this issue Oct 9, 2024 · 1 comment
Open

eth_call:execution reverted #332

zhy827827 opened this issue Oct 9, 2024 · 1 comment

Comments

@zhy827827
Copy link

zhy827827 commented Oct 9, 2024

When I execute eth_call, the node reports an error

curl --location 'http://127.0.0.1:8545' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc":"2.0", "method":"eth_call", "params":[ { "to":"0x4401e30b92c0a9deab9943880586d478d5d15c89", "data":"0xc913d6d5000000000000000000000000d0b53d9277642d899df5c87a3966a349a798f2240000000000000000000000000000000000000000000000000000000000000001" }, "latest"], "id":1 }'

{
    "jsonrpc": "2.0",
    "id": "1",
    "error": {
        "code": -32000,
        "message": "execution reverted"
    }
}

start base with conifg:

geth --datadir=/opt/rockx/base --verbosity=3 --http --http.corsdomain=* --http.vhosts=* --http.addr=0.0.0.0 --http.port=8545 --http.api=web3,debug,eth,net,engine,txpool,personal --authrpc.addr=0.0.0.0 --authrpc.port=8551 --authrpc.vhosts=* --authrpc.jwtsecret=/opt/rockx/base/secrets/engine-auth-jwt --ws --ws.addr=0.0.0.0 --ws.port=8546 --ws.origins=* --ws.api=debug,eth,net,engine,txpool --syncmode=full --gcmode=full --maxpeers=100 --rollup.sequencerhttp=https://mainnet-sequencer.base.org --rollup.halt=major --op-network=base-mainnet --port=30303 --rpc.gascap=150000000 --txpool.globalqueue=5000

I use a public node https://base-rpc.publicnode.com/ that can return data

What is the reason for this? Thank you.

@zhy827827 zhy827827 reopened this Oct 9, 2024
@zhy827827
Copy link
Author

Is someone here? Is there anyone officially present?

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

1 participant