optimism: insufficient balance for transfer
Describe the bug Not synchronize
To Reproduce Steps to reproduce the behavior:
- start l2geth
- infinity write to log
insufficient balance for transfer
Screenshots
INFO [10-12|08:16:22.432] Starting peer-to-peer node instance=Geth/v1.9.10-stable/linux-amd64/go1.19
INFO [10-12|08:16:22.433] Allocated trie memory caches clean=512.00MiB dirty=0.00B
INFO [10-12|08:16:22.433] Allocated cache and file handles database=/mnt/md2/optimism-mainnet/l2geth/chaindata/geth/chaindata cache=512.00MiB handles=350000
INFO [10-12|08:16:25.988] Opened ancient database database=/mnt/md2/optimism-mainnet/l2geth/chaindata/geth/chaindata/ancient
INFO [10-12|08:16:25.991] Initialised chain configuration config="{ChainID: 10 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0, Muir Glacier: 0, Berlin: 3950000, Engine: clique}"
INFO [10-12|08:16:25.991] Initialising Ethereum protocol versions="[64 63]" network=10 dbversion=7
INFO [10-12|08:16:26.024] Loaded most recent local header number=22563164 hash=d1d449…394814 td=45126329 age=1mo2d9h
INFO [10-12|08:16:26.024] Loaded most recent local full block number=22563164 hash=d1d449…394814 td=45126329 age=1mo2d9h
INFO [10-12|08:16:26.024] Loaded most recent local fast block number=22563164 hash=d1d449…394814 td=45126329 age=1mo2d9h
INFO [10-12|08:16:26.067] Loaded local transaction journal transactions=0 dropped=0
INFO [10-12|08:16:26.067] Regenerated local transaction journal transactions=0 accounts=0
INFO [10-12|08:16:26.067] Running in verifier mode sync-backend=l1
INFO [10-12|08:16:26.067] Configured rollup client url=http://0.0.0.0:7878 chain-id=10 ctc-deploy-height=13596466
INFO [10-12|08:16:26.081] Connected to upstream service
INFO [10-12|08:16:26.084] Updating batch index old=0xc002398958 new=135659
INFO [10-12|08:16:26.084] Found latest index index=22563163
INFO [10-12|08:16:26.084] Found latest queue index queue-index=141610
INFO [10-12|08:16:26.107] Found correct staring queue index queue-index=141610
INFO [10-12|08:16:26.107] Initialized Latest L1 Info blocknumber=15505238 timestamp=1662762862
INFO [10-12|08:16:26.107] Initial Rollup State state=0x179da627f837b6ab7e27ec76cfb781b3620a2dd6d957ee4ca4b7637d26cee8f5 index=22563163 queue-index=141610 verified-index=0xc00c115398
WARN [10-12|08:16:26.107] Switch sync mode from fast sync to full sync
INFO [10-12|08:16:26.107] Backend Config max-calldata-size=400 gas-limit=500000000 is-verifier=true using-ovm=true
INFO [10-12|08:16:26.112] New local node record seq=34 id=48fe0e4c88a169d0 ip=127.0.0.1 udp=0 tcp=30303
INFO [10-12|08:16:26.112] Started P2P networking self="enode://e46b2c7e6a916d9460ce425e177d92bf43c12a0e38d9528059723f55f10ef1bef28ad58936a4f825064660ef768427fede936d183cc13258360db1f190cd18fe@127.0.0.1:30303?discport=0"
INFO [10-12|08:16:26.113] IPC endpoint opened url=/mnt/md2/optimism-mainnet/l2geth/chaindata/geth.ipc
INFO [10-12|08:16:26.114] HTTP endpoint opened url=http://0.0.0.0:28545 cors=* vhosts=*
INFO [10-12|08:16:26.114] WebSocket endpoint opened url=ws://[::]:8546
INFO [10-12|08:16:33.638] Unlocked account address=0x00000398232E2064F896018496b4b44b3D62751F
INFO [10-12|08:16:33.638] Transaction pool price threshold updated price=0
INFO [10-12|08:16:33.638] Transaction pool price threshold updated price=0
INFO [10-12|08:16:33.638] Initializing Sync Service
INFO [10-12|08:16:33.644] Set L2 Gas Price gasprice=1000000
INFO [10-12|08:16:33.644] Set L1 Gas Price gasprice=14663696100
INFO [10-12|08:16:33.645] Set batch overhead overhead=2100
INFO [10-12|08:16:33.647] Set scalar scalar=1
INFO [10-12|08:16:33.647] Starting Verifier Loop poll-interval=1s timestamp-refresh-threshold=5m0s
INFO [10-12|08:16:33.661] Syncing transaction batch range start=135660 end=192229
ERROR[10-12|08:16:33.705] Problem committing transaction msg="insufficient balance for transfer"
ERROR[10-12|08:16:33.705] Got error waiting for transaction to be added to chain msg="insufficient balance for transfer"
ERROR[10-12|08:16:33.705] Could not verify error="Verifier cannot sync transaction batches to tip: Cannot sync transaction batches to tip: Cannot sync batches: cannot apply batched transaction: Cannot apply batched transaction: insufficient balance for transfer"
INFO [10-12|08:16:34.662] Syncing transaction batch range start=135660 end=192229
ERROR[10-12|08:16:34.683] Problem committing transaction msg="insufficient balance for transfer"
ERROR[10-12|08:16:34.683] Got error waiting for transaction to be added to chain msg="insufficient balance for transfer"
ERROR[10-12|08:16:34.683] Could not verify error="Verifier cannot sync transaction batches to tip: Cannot sync transaction batches to tip: Cannot sync batches: cannot apply batched transaction: Cannot apply batched transaction: insufficient balance for transfer"
INFO [10-12|08:16:35.663] Syncing transaction batch range start=135660 end=192229
ERROR[10-12|08:16:35.690] Problem committing transaction msg="insufficient balance for transfer"
ERROR[10-12|08:16:35.690] Got error waiting for transaction to be added to chain msg="insufficient balance for transfer"
ERROR[10-12|08:16:35.690] Could not verify error="Verifier cannot sync transaction batches to tip: Cannot sync transaction batches to tip: Cannot sync batches: cannot apply batched transaction: Cannot apply batched transaction: insufficient balance for transfer"
INFO [10-12|08:16:36.658] Syncing transaction batch range start=135660 end=192229
ERROR[10-12|08:16:36.683] Problem committing transaction msg="insufficient balance for transfer"
ERROR[10-12|08:16:36.683] Got error waiting for transaction to be added to chain msg="insufficient balance for transfer"
ERROR[10-12|08:16:36.683] Could not verify error="Verifier cannot sync transaction batches to tip: Cannot sync transaction batches to tip: Cannot sync batches: cannot apply batched transaction: Cannot apply batched transaction: insufficient balance for transfer"
^CINFO [10-12|08:16:37.019] Got interrupt, shutting down...
System Specs:
- OS: Linux
- 0.5.24 (Geth/v1.9.10-stable)
Additional context
export USING_OVM=true
export SEQUENCER_CLIENT_HTTP=https://mainnet.optimism.io
export BLOCK_SIGNER_ADDRESS=0x00000398232E2064F896018496b4b44b3D62751F
export BLOCK_SIGNER_PRIVATE_KEY=6587ae678cf4fc9a33000cdbf9f35226b71dcc6a4684a31203241f9bcfd55d27
export ETH1_CTC_DEPLOYMENT_HEIGHT=13596466
export ETH1_SYNC_SERVICE_ENABLE=true
export L2GETH_GENESIS_URL=https://storage.googleapis.com/optimism/mainnet/genesis-berlin.json
export L2GETH_GENESIS_HASH=0x106b0a3247ca54714381b1109e82cc6b7e32fd79ae56fbcc2e7b1541122f84ea
export L2GETH_BERLIN_ACTIVATION_HEIGHT=3950000
export ROLLUP_BACKEND=l1
export ROLLUP_CLIENT_HTTP=http://0.0.0.0:7878
export ROLLUP_DISABLE_TRANSFERS=false
export ROLLUP_ENABLE_L2_GAS_POLLING=false
export ROLLUP_ADDRESS_MANAGER_OWNER_ADDRESS=0x9BA6e03D8B90dE867373Db8cF1A58d2F7F006b3A
export ROLLUP_GAS_PRICE_ORACLE_OWNER_ADDRESS=0x648E3e8101BFaB7bf5997Bd007Fb473786019159
export ROLLUP_MAX_CALLDATA_SIZE=40000
export ROLLUP_POLL_INTERVAL_FLAG=1s
export ROLLUP_SYNC_SERVICE_ENABLE=true
export ROLLUP_TIMESTAMP_REFRESH=5m
export ROLLUP_VERIFIER_ENABLE=true
export GCMODE=archive
export DATADIR=/mnt/md2/optimism-mainnet/l2geth/chaindata
export CHAIN_ID=10
export NETWORK_ID=10
export NO_DISCOVER=true
export NO_USB=true
export GASPRICE=0
export TARGET_GAS_LIMIT=500000000
export RPC_ADDR=0.0.0.0
export RPC_API=eth,rollup,net,web3,debug
export RPC_CORS_DOMAIN=*
export RPC_ENABLE=true
export RPC_PORT=28545
export RPC_VHOSTS=*
export WS_ADDR=0.0.0.0
export WS_API=eth,rollup,net,web3,debug
export WS_ORIGINS=*
export WS=true
./geth \
--datadir=$DATADIR \
--password=$DATADIR/password \
--allow-insecure-unlock \
--unlock=$BLOCK_SIGNER_ADDRESS \
--mine \
--miner.etherbase=$BLOCK_SIGNER_ADDRESS \
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 26 (11 by maintainers)
the solution is using
export USING_OVM=true
before initializing L2geth (l2geth init)