smartcontracts / simple-optimism-node

The easiest way to run an Optimism node
MIT License
318 stars 106 forks source link

Syncing Problem: nonce too high #52

Closed zhwindy closed 1 year ago

zhwindy commented 1 year ago
simple-optimism-node-l2geth-1  | DEBUG[03-15|09:53:35.778] Attempting to commit rollup transaction  hash=0x8dc72d5f381f7041c549c1d69b6dc87340e7397c338cfed6d5d80d86e41149cf
simple-optimism-node-l2geth-1  | ERROR[03-15|09:53:35.779] Problem committing transaction           msg="nonce too high"simple-optimism-node-l2geth-1  | ERROR[03-15|09:53:35.779] Got error waiting for transaction to be added to chain msg="nonce too high"simple-optimism-node-l2geth-1  | ERROR[03-15|09:53:35.779] 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: nonce too high"
simple-optimism-node-l2geth-1  | INFO [03-15|09:53:36.768] Syncing transaction batch range          start=617342 end=619677
simple-optimism-node-l2geth-1  | DEBUG[03-15|09:53:36.768] Fetching transaction batch               index=617342
simple-optimism-node-l2geth-1  | DEBUG[03-15|09:53:36.778] Applying transaction to tip              index=80808221 hash=0x8dc72d5f381f7041c549c1d69b6dc87340e7397c338cfed6d5d80d86e41149cf origin=sequencer
simple-optimism-node-l2geth-1  | DEBUG[03-15|09:53:36.778] Attempting to commit rollup transaction  hash=0x8dc72d5f381f7041c549c1d69b6dc87340e7397c338cfed6d5d80d86e41149cf
simple-optimism-node-l2geth-1  | ERROR[03-15|09:53:36.779] Problem committing transaction           msg="nonce too high"
simple-optimism-node-l2geth-1  | ERROR[03-15|09:53:36.779] Got error waiting for transaction to be added to chain msg="nonce too high"
simple-optimism-node-l2geth-1  | ERROR[03-15|09:53:36.779] 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: nonce too high"
zhwindy commented 1 year ago

This problem happens every once in a while,and I had to delete data to resync all.

smartcontracts commented 1 year ago

:-/ I think this issue happens when L2Geth doesn't get shut down cleanly.

smartcontracts commented 1 year ago

Since this issue is already reflected in the Optimism Monorepo, I'm going to close this