forked from 0xPolygon/zkevm-node
-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
I attempted to conduct a test involving abnormal restarts. Following several restart attempts, I encountered an error message: "Halting finalizer, error: batch sanity check error." This resulted in the halting of blocks and the suspension of all transactions.
I think the problem occurs when the system interrupts right when the process of saving the root state is being performed, resulting in the new state root not being saved to the database.
Is there any way to fix this problem?
I tested at Version: 0.6.4-cdk
error log:
2024-04-04T04:26:43.430Z ERROR sequencer/finalizer.go:792 halting finalizer, error: batch sanity check error. Check previous errors in logs to know which was the cause%!(EXTRA string=
/home/runner/work/cdk-validium-node/cdk-validium-node/log/log.go:142 github.com/0xPolygonHermez/zkevm-node/log.appendStackTraceMaybeArgs()
/home/runner/work/cdk-validium-node/cdk-validium-node/log/log.go:251 github.com/0xPolygonHermez/zkevm-node/log.Errorf()
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/finalizer.go:792 github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).Halt()
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/batch.go:358 github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).batchSanityCheck.func1()
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/batch.go:421 github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).batchSanityCheck()
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/batch.go:56 github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).processBatchesPendingtoCheck()
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/finalizer.go:149 github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).Start()
) {"pid": 1, "version": "0.6.4+cdk"}
github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).Halt
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/finalizer.go:792
github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).batchSanityCheck.func1
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/batch.go:358
github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).batchSanityCheck
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/batch.go:421
github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).processBatchesPendingtoCheck
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/batch.go:56
github.com/0xPolygonHermez/zkevm-node/sequencer.(*finalizer).Start
/home/runner/work/cdk-validium-node/cdk-validium-node/sequencer/finalizer.go:149
Metadata
Metadata
Assignees
Labels
No labels