Skip to content

Commit

Permalink
adding is boostraping log
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard-Voiculescu committed Aug 5, 2024
1 parent 60ad319 commit 88621ec
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 @@ -138,6 +138,7 @@ func (f *Fetcher) fetchBlockData(_ context.Context, requestedBlockNum uint64) (*

runtimeSpecVersion := f.lastBlockInfo.specVersion
if isBoostraping(f.metadata, f.lastBlockInfo.specVersion) { // bootstraping
f.logger.Info("boostraping metadata and spec version")
_, err := f.setMetadata(blockHash, client)
if err != nil {
return nil, fmt.Errorf("failed to update metadata: %w", err)
Expand Down

0 comments on commit 88621ec

Please sign in to comment.