refactor(types): align genesis api (#19735)

This commit is contained in:
Julien Robert
2024-03-13 05:43:24 +00:00
committed by GitHub
parent a569ba6d29
commit cdc329189b
36 changed files with 417 additions and 360 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package appmodule
import (
appmodule "cosmossdk.io/core/appmodule/v2"
"cosmossdk.io/core/appmodule/v2"
)
// Environment is used to get all services to their respective module
+3
View File
@@ -15,3 +15,6 @@ type MigrationRegistrar = appmodule.MigrationRegistrar
// MigrationHandler is the migration function that each module registers.
type MigrationHandler = appmodule.MigrationHandler
// VersionMap is a map of moduleName -> version
type VersionMap = appmodule.VersionMap