Quiet wdpost logs, add error log to multisig reentrant
This commit is contained in:
parent
bc22bb1b89
commit
886a28640f
@ -13,6 +13,7 @@ func QuietMiningLogs() {
|
|||||||
_ = logging.SetLogLevel("chainstore", "ERROR")
|
_ = logging.SetLogLevel("chainstore", "ERROR")
|
||||||
_ = logging.SetLogLevel("chain", "ERROR")
|
_ = logging.SetLogLevel("chain", "ERROR")
|
||||||
_ = logging.SetLogLevel("sub", "ERROR")
|
_ = logging.SetLogLevel("sub", "ERROR")
|
||||||
|
_ = logging.SetLogLevel("wdpost", "ERROR")
|
||||||
_ = logging.SetLogLevel("storageminer", "ERROR")
|
_ = logging.SetLogLevel("storageminer", "ERROR")
|
||||||
_ = logging.SetLogLevel("pubsub", "ERROR")
|
_ = logging.SetLogLevel("pubsub", "ERROR")
|
||||||
_ = logging.SetLogLevel("gen", "ERROR")
|
_ = logging.SetLogLevel("gen", "ERROR")
|
||||||
|
@ -133,7 +133,7 @@ func TestMultisigReentrant(t *testing.T) {
|
|||||||
sl, err := client.StateReplay(ctx, types.EmptyTSK, pm.Cid())
|
sl, err := client.StateReplay(ctx, types.EmptyTSK, pm.Cid())
|
||||||
require.NoError(t, err, "failed to replay reentrant propose message (StateWaitMsg)")
|
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 {
|
func countDepth(trace types.ExecutionTrace) int {
|
||||||
|
Loading…
Reference in New Issue
Block a user