Compare commits

...

1 Commits

Author SHA1 Message Date
Péter Garamvölgyi
2c89343e03 handle failed proof in ProcessCommittedBatches 2023-08-06 22:39:20 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -415,8 +415,8 @@ func (r *Layer2Relayer) ProcessCommittedBatches() {
hash := batch.Hash
status := types.ProvingStatus(batch.ProvingStatus)
switch status {
case types.ProvingTaskUnassigned, types.ProvingTaskAssigned:
// The proof for this block is not ready yet.
case types.ProvingTaskUnassigned, types.ProvingTaskAssigned, types.ProvingTaskFailed:
// We do not handle pending or failed proving tasks in this function.
return
case types.ProvingTaskProved:
// It's an intermediate state. The prover manager received the proof but has not verified

View File

@@ -5,7 +5,7 @@ import (
"runtime/debug"
)
var tag = "v4.1.12"
var tag = "v4.1.13"
var commit = func() string {
if info, ok := debug.ReadBuildInfo(); ok {