@ -38,7 +38,7 @@ var (
func TestApplyBlock ( t * testing . T ) {
app := & testApp { }
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
cc := abciclient . NewLocalClient ( logger , app )
proxyApp := proxy . New ( cc , logger , proxy . NopMetrics ( ) )
@ -85,7 +85,7 @@ func TestFinalizeBlockDecidedLastCommit(t *testing.T) {
ctx , cancel := context . WithCancel ( context . Background ( ) )
defer cancel ( )
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
app := & testApp { }
cc := abciclient . NewLocalClient ( logger , app )
appClient := proxy . New ( cc , logger , proxy . NopMetrics ( ) )
@ -128,7 +128,7 @@ func TestFinalizeBlockDecidedLastCommit(t *testing.T) {
eventBus := eventbus . NewDefault ( logger )
require . NoError ( t , eventBus . Start ( ctx ) )
blockExec := sm . NewBlockExecutor ( stateStore , log . Testing Logger( ) , appClient , mp , evpool , blockStore , eventBus )
blockExec := sm . NewBlockExecutor ( stateStore , log . NewNop Logger( ) , appClient , mp , evpool , blockStore , eventBus )
state , _ , lastCommit := makeAndCommitGoodBlock ( ctx , t , state , 1 , new ( types . Commit ) , state . NextValidators . Validators [ 0 ] . Address , blockExec , privVals , nil )
for idx , isAbsent := range tc . absentCommitSigs {
@ -160,7 +160,7 @@ func TestFinalizeBlockByzantineValidators(t *testing.T) {
defer cancel ( )
app := & testApp { }
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
cc := abciclient . NewLocalClient ( logger , app )
proxyApp := proxy . New ( cc , logger , proxy . NopMetrics ( ) )
err := proxyApp . Start ( ctx )
@ -252,7 +252,7 @@ func TestFinalizeBlockByzantineValidators(t *testing.T) {
blockStore := store . NewBlockStore ( dbm . NewMemDB ( ) )
blockExec := sm . NewBlockExecutor ( stateStore , log . Testing Logger( ) , proxyApp ,
blockExec := sm . NewBlockExecutor ( stateStore , log . NewNop Logger( ) , proxyApp ,
mp , evpool , blockStore , eventBus )
block := sf . MakeBlock ( state , 1 , new ( types . Commit ) )
@ -277,7 +277,7 @@ func TestProcessProposal(t *testing.T) {
defer cancel ( )
app := abcimocks . NewBaseMock ( )
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
cc := abciclient . NewLocalClient ( logger , app )
proxyApp := proxy . New ( cc , logger , proxy . NopMetrics ( ) )
err := proxyApp . Start ( ctx )
@ -482,7 +482,7 @@ func TestFinalizeBlockValidatorUpdates(t *testing.T) {
defer cancel ( )
app := & testApp { }
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
cc := abciclient . NewLocalClient ( logger , app )
proxyApp := proxy . New ( cc , logger , proxy . NopMetrics ( ) )
err := proxyApp . Start ( ctx )
@ -565,7 +565,7 @@ func TestFinalizeBlockValidatorUpdatesResultingInEmptySet(t *testing.T) {
defer cancel ( )
app := & testApp { }
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
cc := abciclient . NewLocalClient ( logger , app )
proxyApp := proxy . New ( cc , logger , proxy . NopMetrics ( ) )
err := proxyApp . Start ( ctx )
@ -579,7 +579,7 @@ func TestFinalizeBlockValidatorUpdatesResultingInEmptySet(t *testing.T) {
blockStore := store . NewBlockStore ( dbm . NewMemDB ( ) )
blockExec := sm . NewBlockExecutor (
stateStore ,
log . Testing Logger( ) ,
log . NewNop Logger( ) ,
proxyApp ,
new ( mpmocks . Mempool ) ,
sm . EmptyEvidencePool { } ,
@ -609,7 +609,7 @@ func TestEmptyPrepareProposal(t *testing.T) {
ctx , cancel := context . WithCancel ( context . Background ( ) )
defer cancel ( )
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
eventBus := eventbus . NewDefault ( logger )
require . NoError ( t , eventBus . Start ( ctx ) )
@ -657,7 +657,7 @@ func TestPrepareProposalPanicOnInvalid(t *testing.T) {
ctx , cancel := context . WithCancel ( context . Background ( ) )
defer cancel ( )
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
eventBus := eventbus . NewDefault ( logger )
require . NoError ( t , eventBus . Start ( ctx ) )
@ -716,7 +716,7 @@ func TestPrepareProposalRemoveTxs(t *testing.T) {
ctx , cancel := context . WithCancel ( context . Background ( ) )
defer cancel ( )
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
eventBus := eventbus . NewDefault ( logger )
require . NoError ( t , eventBus . Start ( ctx ) )
@ -777,7 +777,7 @@ func TestPrepareProposalAddedTxsIncluded(t *testing.T) {
ctx , cancel := context . WithCancel ( context . Background ( ) )
defer cancel ( )
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
eventBus := eventbus . NewDefault ( logger )
require . NoError ( t , eventBus . Start ( ctx ) )
@ -836,7 +836,7 @@ func TestPrepareProposalReorderTxs(t *testing.T) {
ctx , cancel := context . WithCancel ( context . Background ( ) )
defer cancel ( )
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
eventBus := eventbus . NewDefault ( logger )
require . NoError ( t , eventBus . Start ( ctx ) )
@ -894,7 +894,7 @@ func TestPrepareProposalModifiedTxFalse(t *testing.T) {
ctx , cancel := context . WithCancel ( context . Background ( ) )
defer cancel ( )
logger := log . Testing Logger( )
logger := log . NewNop Logger( )
eventBus := eventbus . NewDefault ( logger )
require . NoError ( t , eventBus . Start ( ctx ) )