Skip to content

Commit

Permalink
chore: add log
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Jan 17, 2025
1 parent cd2e006 commit 80fba51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/configurer/chain/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,11 @@ func (n *NodeConfig) WaitFinalityIsActivated() (activatedHeight uint64) {
require.Eventually(n.t, func() bool {
activatedHeight, err = n.QueryActivatedHeight()
if err != nil {
n.t.Logf("WaitFinalityIsActivated: err query activated height %s", err.Error())
return false
}
return activatedHeight > 0
}, time.Minute*4, time.Second)
}, time.Minute*4, 10*time.Second)
n.t.Logf("the activated height is %d", activatedHeight)
return activatedHeight
}

0 comments on commit 80fba51

Please sign in to comment.