From 88621ec4d06a4b473a8c363a6d0429a44c9a9bda Mon Sep 17 00:00:00 2001 From: Eduard Voiculescu Date: Mon, 5 Aug 2024 09:00:37 -0400 Subject: [PATCH] adding is boostraping log --- rpc/fetcher.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpc/fetcher.go b/rpc/fetcher.go index a7cd7c5..f5946e0 100644 --- a/rpc/fetcher.go +++ b/rpc/fetcher.go @@ -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)