From b7c856af6f3f1f513721075c71332130080e206c Mon Sep 17 00:00:00 2001 From: terence tsao Date: Wed, 27 May 2020 10:35:54 -0700 Subject: [PATCH] Add skip to log (#6014) --- beacon-chain/db/kv/check_historical_state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon-chain/db/kv/check_historical_state.go b/beacon-chain/db/kv/check_historical_state.go index c380171c62f..ceaea70a821 100644 --- a/beacon-chain/db/kv/check_historical_state.go +++ b/beacon-chain/db/kv/check_historical_state.go @@ -31,7 +31,7 @@ func (kv *Store) HistoricalStatesDeleted(ctx context.Context) error { } if historicalStateDeleted { - log.Warn("Regenerating and saving historical states. This may take a while.") + log.Warn("Regenerating and saving historical states. This may take a while. Skip this with --skip-regen-historical-states") if err := kv.regenHistoricalStates(ctx); err != nil { return errors.Wrap(err, "could not regenerate historical states, please retry") }