Skip to content

Commit

Permalink
ci(scripts/join): improve logs (omni-network#2284)
Browse files Browse the repository at this point in the history
Improve `join-nightly` logging.

issue: none
  • Loading branch information
corverroos authored Oct 25, 2024
1 parent 61045a6 commit 7fbd71e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions scripts/join/join_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,16 @@ func TestJoinOmega(t *testing.T) {
execStatus, err := retry(ctx, ethCl.SyncProgress)
require.NoError(t, err)
execSynced := execStatus.Done()
execHeight := execStatus.HighestBlock
execHeight := execStatus.CurrentBlock
execTarget := execStatus.HighestBlock

log.Info(ctx, "Status",
"halo_status", haloStatus,
"halo_synced", haloSynced,
"halo_height", haloHeight,
"execution_synced", execSynced,
"execution_height", execHeight,
"cstatus", haloStatus,
"csynced", haloSynced,
"cheight", haloHeight,
"esynced", execSynced,
"eheight", execHeight,
"etarget", execTarget,
"duration", time.Since(t0).Truncate(time.Second),
)

Expand Down

0 comments on commit 7fbd71e

Please sign in to comment.