Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
NagaTulasi committed Sep 23, 2024
1 parent 32d5731 commit 4b29119
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions simapp/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint"

"github.com/spf13/cast"
availblob1 "github.com/vitwit/avail-da-module"
availtypes "github.com/vitwit/avail-da-module/types"

autocliv1 "cosmossdk.io/api/cosmos/autocli/v1"
reflectionv1 "cosmossdk.io/api/cosmos/reflection/v1"
Expand Down Expand Up @@ -143,7 +143,6 @@ import (
availblobrelayer "github.com/vitwit/avail-da-module/relayer"
"github.com/vitwit/avail-da-module/relayer/avail"
httpclient "github.com/vitwit/avail-da-module/relayer/http"
availblobmoduletypes "github.com/vitwit/avail-da-module/types"
)

const (
Expand Down Expand Up @@ -343,7 +342,7 @@ func NewChainApp(
icahosttypes.StoreKey,
icacontrollertypes.StoreKey,
packetforwardtypes.StoreKey,
availblob1.StoreKey,
availtypes.StoreKey,
)

tkeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
Expand Down Expand Up @@ -687,7 +686,7 @@ func NewChainApp(
httpClient := httpclient.NewHandler()

// Avail-DA client
cfg := availblobmoduletypes.AvailConfigFromAppOpts(appOpts)
cfg := availtypes.AvailConfigFromAppOpts(appOpts)
availDAClient := avail.NewLightClient(cfg.LightClientURL, httpClient)

app.Availblobrelayer, err = availblobrelayer.NewRelayer(
Expand All @@ -703,9 +702,9 @@ func NewChainApp(

app.AvailBlobKeeper = availblobkeeper.NewKeeper(
appCodec,
runtime.NewKVStoreService(keys[availblob1.StoreKey]),
runtime.NewKVStoreService(keys[availtypes.StoreKey]),
app.UpgradeKeeper,
keys[availblob1.StoreKey],
keys[availtypes.StoreKey],
appOpts,
logger,
app.Availblobrelayer,
Expand Down Expand Up @@ -817,7 +816,7 @@ func NewChainApp(
icatypes.ModuleName,
ibcfeetypes.ModuleName,
packetforwardtypes.ModuleName,
availblob1.ModuleName,
availtypes.ModuleName,
)

app.ModuleManager.SetOrderEndBlockers(
Expand All @@ -834,7 +833,7 @@ func NewChainApp(
icatypes.ModuleName,
ibcfeetypes.ModuleName,
packetforwardtypes.ModuleName,
availblob1.ModuleName,
availtypes.ModuleName,
)

// NOTE: The genutils module must occur after staking so that pools are
Expand All @@ -859,7 +858,7 @@ func NewChainApp(
icatypes.ModuleName,
ibcfeetypes.ModuleName,
packetforwardtypes.ModuleName,
availblob1.ModuleName,
availtypes.ModuleName,
}
app.ModuleManager.SetOrderInitGenesis(genesisModuleOrder...)
app.ModuleManager.SetOrderExportGenesis(genesisModuleOrder...)
Expand Down

0 comments on commit 4b29119

Please sign in to comment.