Basic CC Upgrade support

This commit is contained in:
Łukasz Magiera
2020-07-01 17:01:06 +02:00
parent 5b73b48dc8
commit 82e2cd4746
9 changed files with 157 additions and 11 deletions
+10
View File
@@ -530,3 +530,13 @@ func TestWindowedPost(t *testing.T) {
test.TestWindowPost(t, mockSbBuilder, 5*time.Millisecond, 10)
}
func TestCCUpgrade(t *testing.T) {
logging.SetLogLevel("miner", "ERROR")
logging.SetLogLevel("chainstore", "ERROR")
logging.SetLogLevel("chain", "ERROR")
logging.SetLogLevel("sub", "ERROR")
logging.SetLogLevel("storageminer", "ERROR")
test.TestCCUpgrade(t, mockSbBuilder, 5*time.Millisecond)
}