@@ -680,7 +680,7 @@ func (p *Parlia) Finalize(chain consensus.ChainReader, header *types.Header, sta
680
680
}
681
681
}
682
682
if ! signedRecently {
683
- log .Info ("slash validator" , "block hash" , header .Hash (), "address" , spoiledVal )
683
+ log .Trace ("slash validator" , "block hash" , header .Hash (), "address" , spoiledVal )
684
684
err = p .slash (spoiledVal , state , header , cx , txs , receipts , systemTxs , usedGas , false )
685
685
if err != nil {
686
686
// it is possible that slash validator failed because of the slash channel is disabled.
@@ -947,11 +947,11 @@ func (p *Parlia) distributeIncoming(val common.Address, state *state.StateDB, he
947
947
if err != nil {
948
948
return err
949
949
}
950
- // log.Info ("distribute to system reward pool", "block hash", header.Hash(), "amount", rewards)
950
+ log .Trace ("distribute to system reward pool" , "block hash" , header .Hash (), "amount" , rewards )
951
951
balance = balance .Sub (balance , rewards )
952
952
}
953
953
}
954
- /// log.Info ("distribute to validator contract", "block hash", header.Hash(), "amount", balance)
954
+ log .Trace ("distribute to validator contract" , "block hash" , header .Hash (), "amount" , balance )
955
955
return p .distributeToValidator (balance , val , state , header , chain , txs , receipts , receivedTxs , usedGas , mining )
956
956
}
957
957
@@ -999,7 +999,7 @@ func (p *Parlia) initContract(state *state.StateDB, header *types.Header, chain
999
999
for _ , c := range contracts {
1000
1000
msg := p .getSystemMessage (header .Coinbase , common .HexToAddress (c ), data , common .Big0 )
1001
1001
// apply message
1002
- log .Info ("init contract" , "block hash" , header .Hash (), "contract" , c )
1002
+ log .Trace ("init contract" , "block hash" , header .Hash (), "contract" , c )
1003
1003
err = p .applyTransaction (msg , state , header , chain , txs , receipts , receivedTxs , usedGas , mining )
1004
1004
if err != nil {
1005
1005
return err
0 commit comments