We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e8fdc commit 353da27Copy full SHA for 353da27
1 file changed
cmd/akash/cmd/app_creator.go
@@ -6,11 +6,10 @@ import (
6
"path/filepath"
7
8
"cosmossdk.io/store"
9
+ genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
10
"github.com/spf13/cast"
11
"github.com/spf13/viper"
12
- tmtypes "github.com/cometbft/cometbft/types"
13
-
14
"cosmossdk.io/log"
15
"cosmossdk.io/store/snapshots"
16
snapshottypes "cosmossdk.io/store/snapshots/types"
@@ -57,7 +56,7 @@ func (a appCreator) newApp(
57
56
if chainID == "" {
58
// fallback to genesis chain-id
59
genDocFile := filepath.Join(homeDir, cast.ToString(appOpts.Get("genesis_file")))
60
- appGenesis, err := tmtypes.GenesisDocFromFile(genDocFile)
+ appGenesis, err := genutiltypes.AppGenesisFromFile(genDocFile)
61
if err != nil {
62
panic(err)
63
}
0 commit comments