Skip to content

Commit

Permalink
Quiet wdpost logs, add error log to multisig reentrant
Browse files Browse the repository at this point in the history
  • Loading branch information
geoff-vball committed Dec 15, 2022
1 parent bc22bb1 commit 886a286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions itests/kit/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ func QuietMiningLogs() {
_ = logging.SetLogLevel("chainstore", "ERROR")
_ = logging.SetLogLevel("chain", "ERROR")
_ = logging.SetLogLevel("sub", "ERROR")
_ = logging.SetLogLevel("wdpost", "ERROR")
_ = logging.SetLogLevel("storageminer", "ERROR")
_ = logging.SetLogLevel("pubsub", "ERROR")
_ = logging.SetLogLevel("gen", "ERROR")
Expand Down
2 changes: 1 addition & 1 deletion itests/multisig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func TestMultisigReentrant(t *testing.T) {
sl, err := client.StateReplay(ctx, types.EmptyTSK, pm.Cid())
require.NoError(t, err, "failed to replay reentrant propose message (StateWaitMsg)")

require.Equal(t, 1025, countDepth(sl.ExecutionTrace))
require.Equal(t, 1025, countDepth(sl.ExecutionTrace), "Failed. Error message was: %s", sl.Error)
}

func countDepth(trace types.ExecutionTrace) int {
Expand Down

0 comments on commit 886a286

Please sign in to comment.