Closed cryptocifer closed 9 months ago
Can you share the node start-up command? Did you sync the node from scratch or use a snapshot?
I setHead to a far previous block and manage to pass the badblock but today get stuck again at block 15389569.
ERROR[02-06|02:27:48.062]
########## BAD BLOCK #########
Block: 15389569 (0x484709b86adbcb6f8ecf6d24455eeeef5a6ae2cb261ac590682e30a665022a72)
Error: invalid gas used (remote: 2716523 local: 2714811)
Platform: geth (devel) go1.20.13 amd64 linux
VCS: 4724fd7f-
Chain config: ¶ms.ChainConfig{ChainID:204, HomesteadBlock:0, DAOForkBlock:<nil>, DAOForkSupport:false, EIP150Block:0, EIP150Hash:0x0000000000000000000000000000000000000000000000000000000000000000, EIP155Block:0, EIP158Block:0, ByzantiumBlock:0, ConstantinopleBlock:0, PetersburgBlock:0, IstanbulBlock:0, MuirGlacierBlock:0, BerlinBlock:0, LondonBlock:0, ArrowGlacierBlock:0, GrayGlacierBlock:0, MergeNetsplitBlock:0, ShanghaiTime:(*uint64)(nil), CancunTime:(*uint64)(nil), PragueTime:(*uint64)(nil), BedrockBlock:0, RegolithTime:(*uint64)(0xc00004a3b8), TerminalTotalDifficulty:0, TerminalTotalDifficultyPassed:true, Ethash:(*params.EthashConfig)(nil), Clique:(*params.CliqueConfig)(nil), Optimism:(*params.OptimismConfig)(0x2ebf1d0), PreContractForkBlock:<nil>, Fermat:9397477}
Receipts:
@STdevK I sync the node from scratch(as a full node), the startup command is:
/app/bin/geth \
--config=/var/data/config.toml \
--datadir=/var/data \
--http \
--http.addr=0.0.0.0 \
--http.port=8545 \
--http.api=net,eth,pre,trace \
--syncmode=full \
--networkid=204 \
--triesInMemory=32 \
--gcmode=full \
--metrics \
--metrics.port=6060 \
--metrics.addr=0.0.0.0 \
--authrpc.addr=0.0.0.0 \
--authrpc.port=8551 \
--authrpc.jwtsecret=/var/data/jwt.txt \
--rollup.sequencerhttp=https://opbnb-mainnet-rpc.bnbchain.org \
--txlookuplimit=0 \
--snapshot=false
op-node \
--l1.trustrpc \
--sequencer.l1-confs=15 \
--verifier.l1-confs=15 \
--l1.http-poll-interval=3s \
--l1.epoch-poll-interval=45s \
--l1.rpc-max-batch-size=20 \
--network=opBNBMainnet \
--rpc.addr=0.0.0.0 \
--rpc.port=8547 \
--p2p.sync.req-resp \
--metrics.enabled \
--metrics.addr=0.0.0.0 \
--metrics.port=7300 \
--pprof.enabled \
--rpc.enable-admin \
--l1=http://bsc-datatrace.defiapp.com \
--l2.engine-sync=true \
--l2.skip-sync-start-check=true \
--l2=http://127.0.0.1:8551 \
--l2.jwt-secret=/var/data/jwt.txt
--gcmode=full
@cryptocifer Hello, currently the op stack does not support full node mode. You need to modify the gcmode configuration to archive. We are trying to figure out how to support full mode, but it is not possible at the moment.
Thank you @welkin22 , resync with gcmode=archive has succeeded!
System information
Network: mainnet
if you are running a local node, please provide the following information: op-node version: v0.2.4 op-geth version: v0.2.2 OS & Version: Linux
Backtrace