Fix test build error.
@@ -30,6 +30,14 @@ type testChain struct {
vld module.CommitVoteSetDecoder
}
+func (c *testChain) ConcurrencyLevel() int {
+ panic("implement me")
+}
+
+func (c *testChain) Regulator() module.Regulator {
+ panic("implement me")
+}
+
func (c *testChain) Database() db.Database {
return c.database
}
@@ -69,6 +77,8 @@ func (c *testChain) NetworkManager() module.NetworkManager {
panic("not implemented")
}
+
+
type testError struct {
}
@@ -662,6 +672,14 @@ func (sm *testServiceManager) GetBalance(result []byte, addr module.Address) *bi
panic("not implemented")
}
+func (sm *testServiceManager) Start() {
+ panic("implement me")
+}
+
+func (sm *testServiceManager) Term() {
+ panic("implement me")
+}
+
type testValidator struct {
Address_ *common.Address
}
