aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test
diff options
context:
space:
mode:
Diffstat (limited to 'integration_test')
-rw-r--r--integration_test/consensus_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/integration_test/consensus_test.go b/integration_test/consensus_test.go
index d70ae4f..23a4b3c 100644
--- a/integration_test/consensus_test.go
+++ b/integration_test/consensus_test.go
@@ -146,6 +146,10 @@ func (s *ConsensusTestSuite) syncBlocksWithSomeNode(
}
err = nil
}
+ // Sync app.
+ syncNode.app.BlockConfirmed(*b)
+ syncNode.app.BlockDelivered(b.Hash, b.Position, b.Finalization)
+ // Sync gov.
syncNode.gov.CatchUpWithRound(
b.Position.Round + core.ConfigRoundShift)
}