@@ -1018,16 +1018,16 @@ func (bc *BlockChain) WriteBlockWithState(block *types.Block, receipts []*types.
10181018 count , ok := bc .stateDiffsProcessed [root .(common.Hash )]
10191019 //if we haven't processed the statediff for a given state root and it's child, don't dereference it yet
10201020 if ! ok {
1021- log .Info ("Current root NOT found root in stateDiffsProcessed" , "root" , root .(common.Hash ).Hex ())
1021+ log .Debug ("Current root NOT found root in stateDiffsProcessed" , "root" , root .(common.Hash ).Hex ())
10221022 bc .triegc .Push (root , number )
10231023 break
10241024 }
10251025 if count < 2 {
1026- log .Info ("Current root has not yet been processed for it's child" , "root" , root .(common.Hash ).Hex ())
1026+ log .Debug ("Current root has not yet been processed for it's child" , "root" , root .(common.Hash ).Hex ())
10271027 bc .triegc .Push (root , number )
10281028 break
10291029 } else {
1030- log .Warn ("Current root found in stateDiffsProcessed collection with a count of 2, okay to dereference" ,
1030+ log .Debug ("Current root found in stateDiffsProcessed collection with a count of 2, okay to dereference" ,
10311031 "root" , root .(common.Hash ).Hex (),
10321032 "blockNumber" , uint64 (- number ),
10331033 "size of stateDiffsProcessed" , len (bc .stateDiffsProcessed ))
@@ -1036,7 +1036,7 @@ func (bc *BlockChain) WriteBlockWithState(block *types.Block, receipts []*types.
10361036 }
10371037 }
10381038
1039- log .Info ( "DEREFERENCING " , "root" , root .(common.Hash ).Hex ())
1039+ log .Debug ( "Dereferencing " , "root" , root .(common.Hash ).Hex ())
10401040 triedb .Dereference (root .(common.Hash ))
10411041 }
10421042 }
0 commit comments