diff --git a/client/snapshot/cmd.go b/client/snapshot/cmd.go index a44338896934..03b9ae9aae65 100644 --- a/client/snapshot/cmd.go +++ b/client/snapshot/cmd.go @@ -3,12 +3,11 @@ package snapshot import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/server/types" servertypes "github.com/cosmos/cosmos-sdk/server/types" ) // Cmd returns the snapshots group command -func Cmd[T types.Application](appCreator servertypes.AppCreator[T]) *cobra.Command { +func Cmd[T servertypes.Application](appCreator servertypes.AppCreator[T]) *cobra.Command { cmd := &cobra.Command{ Use: "snapshots", Short: "Manage local snapshots", diff --git a/client/snapshot/export.go b/client/snapshot/export.go index 599a7c2ffe3a..61f1951bbafe 100644 --- a/client/snapshot/export.go +++ b/client/snapshot/export.go @@ -6,12 +6,11 @@ import ( "cosmossdk.io/log" "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/server/types" servertypes "github.com/cosmos/cosmos-sdk/server/types" ) // ExportSnapshotCmd returns a command to take a snapshot of the application state -func ExportSnapshotCmd[T types.Application](appCreator servertypes.AppCreator[T]) *cobra.Command { +func ExportSnapshotCmd[T servertypes.Application](appCreator servertypes.AppCreator[T]) *cobra.Command { cmd := &cobra.Command{ Use: "export", Short: "Export app state to snapshot store", diff --git a/client/snapshot/restore.go b/client/snapshot/restore.go index 331e5642db09..c1f5b21f214c 100644 --- a/client/snapshot/restore.go +++ b/client/snapshot/restore.go @@ -10,12 +10,11 @@ import ( "cosmossdk.io/log" "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/server/types" servertypes "github.com/cosmos/cosmos-sdk/server/types" ) // RestoreSnapshotCmd returns a command to restore a snapshot -func RestoreSnapshotCmd[T types.Application](appCreator servertypes.AppCreator[T]) *cobra.Command { +func RestoreSnapshotCmd[T servertypes.Application](appCreator servertypes.AppCreator[T]) *cobra.Command { cmd := &cobra.Command{ Use: "restore ", Short: "Restore app state from local snapshot",