Skip to content

Commit

Permalink
adding more logs when boostraping
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard-Voiculescu committed Aug 5, 2024
1 parent 88621ec commit b1aeea8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpc/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ func (f *Fetcher) fetchBlockData(_ context.Context, requestedBlockNum uint64) (*
return nil, fmt.Errorf("failed to get runtime version at block hash %s: %w", blockHash.Hex(), err)
}
runtimeSpecVersion = uint32(runtimeVersion.SpecVersion)
f.logger.Info("boostraped metadata and spec version", zap.Uint64("version", uint64(runtimeSpecVersion)))
}

if requestedBlockNum > 0 {
Expand Down

0 comments on commit b1aeea8

Please sign in to comment.