Skip to content

[Base Mainnet] BAD BLOCK, invalid gas used #778

@qnduncan

Description

@qnduncan

System information

Geth version: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:v1.101609.0
CL client & version: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.16.5
OS & Version: NA (running in containers)

Expected behaviour

The node is running on Base Mainnet. We expect op-geth can stay up to tip.

Actual behaviour

The node is running on Base Mainnet and op-geth is stuck at 43,504,471 due to BAD BLOCK invalid gas used.

Steps to reproduce the behaviour

NA
Many of our base mainnet op-geth full nodes were stuck at different heights near 43,504,000 due to BAD BLOCK invalid gas used.

Backtrace

op-geth logs

Details
INFO [03-18|01:44:45.276] Imported new potential chain segment     number=43,504,469 hash=ef99c8..5412ec blocks=1 txs=167  mgas=52.739  elapsed=88.830ms     mgasps=593.698  triediffs=423.47MiB triedirty=105.17MiB
INFO [03-18|01:44:45.285] Chain head was updated                   number=43,504,469 hash=ef99c8..5412ec root=fc04bb..90adf9 elapsed=8.955511ms
INFO [03-18|01:44:47.175] Imported new potential chain segment     number=43,504,470 hash=6518af..0f5cb3 blocks=1 txs=175  mgas=42.415  elapsed=83.188ms     mgasps=509.868  triediffs=422.93MiB triedirty=105.83MiB
INFO [03-18|01:44:47.182] Chain head was updated                   number=43,504,470 hash=6518af..0f5cb3 root=77fe36..10df6f elapsed=6.295265ms
WARN [03-18|01:44:49.222] Failed to load old bad blocks            error="pebble: not found"
ERROR[03-18|01:44:49.225] 
########## BAD BLOCK #########
Block: 43504471 (0x2b59220ff2f008be9f9c8b5e02908f6b1563794a4f509d95dd1a753d3e73c08d)
Error: invalid gas used (remote: 49063820 local: 82564292)
Platform: geth v1.101609.0+dirty go1.24.13 amd64 linux
VCS: 0c840dff-20260217
Chain config: &params.ChainConfig{ChainID:8453, HomesteadBlock:0, DAOForkBlock:<nil>, DAOForkSupport:false, EIP150Block:0, 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)(0xc00011e200), CancunTime:(*uint64)(0xc00011e230), PragueTime:(*uint64)(0xc00011e1d0), OsakaTime:(*uint64)(nil), BPO1Time:(*uint64)(nil), BPO2Time:(*uint64)(nil), BPO3Time:(*uint64)(nil), BPO4Time:(*uint64)(nil), BPO5Time:(*uint64)(nil), AmsterdamTime:(*uint64)(nil), VerkleTime:(*uint64)(nil), BedrockBlock:0, RegolithTime:(*uint64)(0xc03e91c138), CanyonTime:(*uint64)(0xc00011e200), EcotoneTime:(*uint64)(0xc00011e230), FjordTime:(*uint64)(0xc00011e248), GraniteTime:(*uint64)(0xc00011e1a0), HoloceneTime:(*uint64)(0xc00011e1b8), IsthmusTime:(*uint64)(0xc00011e1d0), JovianTime:(*uint64)(0xc00011e1e8), InteropTime:(*uint64)(nil), TerminalTotalDifficulty:0, DepositContractAddress:0x0000000000000000000000000000000000000000, EnableVerkleAtGenesis:false, Ethash:(*params.EthashConfig)(nil), Clique:(*params.CliqueConfig)(nil), BlobScheduleConfig:(*params.BlobScheduleConfig)(nil), Optimism:(*params.OptimismConfig)(0xc02450dba8)}
Receipts: 
  0: cumulative: 46218 gas: 46218 contract: 0x0000000000000000000000000000000000000000 status: 1 tx: 0x9d7b2dfb551a71b6ef941018f800d5165890e5313346b694fc0e7cc1151ef35e logs: [] bloom: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 state: 

# ... ommited

  165: cumulative: 82564292 gas: 970032 contract: 0x0000000000000000000000000000000000000000 status: 0 tx: 0x062122eaa14e4515f186229d19fda7ea973355bc48654324abd79f41901f8722 logs: [] bloom: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 state: 
##############################

WARN [03-18|01:44:49.225] NewPayload: inserting block failed       error="invalid gas used (remote: 49063820 local: 82564292)"
INFO [03-18|01:45:00.122] Submitted transaction                    hash=0x3454d7dc8e9eaeb5a56572fc04aa3363991c83b189fe114bf6f95d8f0b90a1ce from=0x32a1390e05fB4D579d731675Cc3B32DAC8d19CeC nonce=24         recipient=0x242D4EB1E74f415f7386639A5e6CFfA04Fc1de8c value=560,000,000,000,000
INFO [03-18|01:45:15.896] Starting work on payload                 id=0x039f30fae2488c01
INFO [03-18|01:45:15.984] Imported new potential chain segment     number=43,504,471 hash=e825a5..2af9ef blocks=1 txs=166  mgas=82.564  elapsed=74.125ms     mgasps=1113.852 triediffs=420.39MiB triedirty=106.71MiB
INFO [03-18|01:45:15.989] Chain head was updated                   number=43,504,471 hash=e825a5..2af9ef root=674d1d..540cb2 elapsed=3.953078ms

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