diff --git a/runtime/v2/module.go b/runtime/v2/module.go index 3bef403da804..8ef338f52c2a 100644 --- a/runtime/v2/module.go +++ b/runtime/v2/module.go @@ -232,7 +232,8 @@ func ProvideEnvironment( } } -// ServiceBuilder builds the msg router and query router service during app initialization. +// RouterServiceBuilder builds the msg router and query router service during app initialization. +// this is mainly use for testing to override message router service in the environment and not in stf. type RouterServiceBuilder interface { // BuildMsgRouter return a msg router service. // - actor is the module store key.