Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com>
  • Loading branch information
zhangchiqing and peterargue authored Dec 11, 2023
1 parent 4fd8551 commit 529c863
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ledger/complete/wal/wal.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ func (w *DiskWAL) replay(
startSegment = loadedCheckpoint + 1
}

w.log.Info().Msgf("starting replay from checkpoint segment %d", startSegment)
w.log.Info().
Uint64("start_segment", startSegment).

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Lint (./)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Lint (./)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Lint (./)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64

Check failure on line 229 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use startSegment (variable of type int) as uint64 value in argument to w.log.Info().Uint64
Msg("starting replay from checkpoint segment")
}

if loadedCheckpoint == -1 && startSegment == 0 {
Expand All @@ -245,8 +247,9 @@ func (w *DiskWAL) replay(
return fmt.Errorf("error while handling root checkpoint: %w", err)
}

w.log.Info().Msgf("root checkpoint loaded, root hash: %v",
flattenedForest[len(flattenedForest)-1].RootHash())
w.log.Info().
Hex("root_hash", flattenedForest[len(flattenedForest)-1].RootHash()).

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Lint (./)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex) (typecheck)

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Lint (./)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex) (typecheck)

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Lint (./)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex) (typecheck)

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/ingestion)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution/computation)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/verification)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/execution)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/collection)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (ledger)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (storage)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine/access)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (fvm)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (others)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (consensus)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (cmd)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (module)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex

Check failure on line 251 in ledger/complete/wal/wal.go

View workflow job for this annotation

GitHub Actions / Unit Tests (engine)

cannot use flattenedForest[len(flattenedForest) - 1].RootHash() (value of type ledger.RootHash) as []byte value in argument to w.log.Info().Hex
Msg("root checkpoint loaded")
checkpointLoaded = true
} else {
w.log.Info().Msgf("no root checkpoint was found")
Expand Down

0 comments on commit 529c863

Please sign in to comment.