Skip to content

Commit db68cbe

Browse files
committed
fix two-way split finality recovery check
1 parent 347a3fb commit db68cbe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

playbooks/dev/two-way-network-split.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ tasks:
144144
title: "Poll for finality recovery (succeeds as soon as unfinalized epochs drop)"
145145
timeout: 25m
146146
configVars:
147+
# Require a fresh finalized checkpoint after the split. maxUnfinalizedEpochs
148+
# alone can pass on stale pre-split finality when the current epoch is close.
149+
minFinalizedEpochs: "| (.tasks.initial_finality.outputs.finalizedEpoch | tonumber) + 1"
147150
maxUnfinalizedEpochs: "recoveredMaxUnfinalizedEpochs"
148151

149152
cleanupTasks:

0 commit comments

Comments
 (0)