Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/node/config/prefs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
CutoffTrigger = "round"

# The minimum value of the cutoff. For example, if CutoffType is set to "round", and Value to 20, then the node will stop processing at round 20+
Value = 0
Value = 29903151

# NamedIdentity represents an identity that runs nodes on the multikey
# There can be multiple identities set on the same node, each one of them having different bls keys, just by duplicating the NamedIdentity
Expand Down
6 changes: 4 additions & 2 deletions process/sync/storageBootstrap/baseStorageBootstrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,15 @@ func (st *storageBootstrapper) loadBlocks() error {
break
}

storageHeadersInfo = append(storageHeadersInfo, headerInfo)

if uint64(round) > st.bootstrapRoundIndex {
st.cleanupStorage(headerInfo.LastHeader)
st.bootstrapper.cleanupNotarizedStorage(headerInfo.LastHeader.Hash)
round = headerInfo.LastRound
continue
}

storageHeadersInfo = append(storageHeadersInfo, headerInfo)

_, numHdrs := metricsLoader.UpdateMetricsFromStorage(st.store, st.uint64Converter, st.marshalizer, st.appStatusHandler, headerInfo.LastHeader.Nonce)
st.blkExecutor.SetNumProcessedObj(numHdrs)

Expand Down
Loading