diff --git a/runtime/v2/manager.go b/runtime/v2/manager.go index d6c015b3057d..7b8d555f21df 100644 --- a/runtime/v2/manager.go +++ b/runtime/v2/manager.go @@ -42,7 +42,7 @@ func NewModuleManager[T transaction.Tx]( modules map[string]appmodulev2.AppModule, ) *MM[T] { // good defaults for the module manager order - modulesName := slices.Collect(maps.Keys(modules)) + modulesName := slices.Sorted(maps.Keys(modules)) if len(config.PreBlockers) == 0 { config.PreBlockers = modulesName }