Open rayn316 opened 1 year ago
Hey @sundafa, it looks like you're running an old version of op-geth
. Can you try the latest version: https://github.com/ethereum-optimism/op-geth/releases ?
Both new versions, still doesn't work, The request result still returns an error
./op-geth version
Geth
Version: 0.1.0-unstable
Git Commit: b5fecf58ec77909c70bd15b96b32b593af0b38ff
Upstream Version: 1.11.6-stable
Architecture: amd64
Go Version: go1.19.11
Operating System: linux
GOPATH=/root/go
GOROOT=
/op-geth_bak version
Geth
Version: 0.1.0-unstable
Git Commit: 39d121af21bc4cb45c46edf2dc1bf33daa28c54d
Git Commit Date: 20230615
Upstream Version: 1.11.6-stable
Architecture: amd64
Go Version: go1.19.9
Operating System: linux
GOPATH=/root/go
GOROOT=
Are you running Legacy Geth (l2geth
) as well? This is a requirement to perform debug_trace for pre-Bedrock. Here's some relevant documentation: https://community.optimism.io/docs/developers/bedrock/node-operator-guide/#legacy-geth
This problem is aimed at the Legacy Geth node. After running, there is a problem when querying old data. Neither the previous geth nor the upgraded geth software can return data normally. Data is the downloaded snapshot boot, https://datadirs.optimism.io/mainnet-legacy-archival.tar.zst Run command environment variables and requirements are met.
System information
Geth version: op-geth version 0.1.0-unstable-39d121af-20230615 OS & Version: Linux
Actual behaviour
I'm having trouble running Legacy Geth, there's been a problem executing the debug_traceBlockByNumber, debug_traceBlockByNumber methods.
run cmd:
error: tracing failed: insufficient funds for gas * price + value
Backtrace
When submitting logs: please submit them as text and not screenshots.