demote logs for fork validator (#8118)

This commit is contained in:
Giulio rebuffo 2023-09-02 00:20:14 +02:00 committed by GitHub
parent b4cf5f5be4
commit 42101f529e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ func (fv *ForkValidator) ValidatePayload(tx kv.Tx, header *types.Header, body *t
return return
} }
log.Info("Execution ForkValidator.ValidatePayload", "extendCanonical", extendCanonical) log.Debug("Execution ForkValidator.ValidatePayload", "extendCanonical", extendCanonical)
if extendCanonical { if extendCanonical {
extendingFork := memdb.NewMemoryBatch(tx, fv.tmpDir) extendingFork := memdb.NewMemoryBatch(tx, fv.tmpDir)
fv.extendingForkNotifications = &shards.Notifications{ fv.extendingForkNotifications = &shards.Notifications{
@ -182,7 +182,7 @@ func (fv *ForkValidator) ValidatePayload(tx kv.Tx, header *types.Header, body *t
return return
} }
log.Info("Execution ForkValidator.ValidatePayload", "foundCanonical", foundCanonical, "currentHash", currentHash, "unwindPoint") log.Debug("Execution ForkValidator.ValidatePayload", "foundCanonical", foundCanonical, "currentHash", currentHash, "unwindPoint")
var bodiesChain []*types.RawBody var bodiesChain []*types.RawBody
var headersChain []*types.Header var headersChain []*types.Header