Skip to content

Commit

Permalink
moved curium keeper up before oracleKeeper
Browse files Browse the repository at this point in the history
  • Loading branch information
avendauz committed Aug 11, 2021
1 parent b1b8557 commit 7dcdd62
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,17 @@ func NewCRUDApp(
app.slashingKeeper.Hooks()),
)

laddr, _ := getRpcLadder(DefaultNodeHome)

app.curiumKeeper = curium.NewKeeper(
app.cdc,
keys[curium.StoreKey],
keys[curium.MemStoreKey],
laddr,
app.accountKeeper,
app.gasMeterKeeper,
)

// The CrudKeeper is the Keeper from the module
// It handles interactions with the namestore
app.crudKeeper = crud.NewKeeper(
Expand Down Expand Up @@ -393,24 +404,14 @@ func NewCRUDApp(
app.supplyKeeper,
)

laddr, _ := getRpcLadder(DefaultNodeHome)

app.curiumKeeper = curium.NewKeeper(
app.cdc,
keys[curium.StoreKey],
keys[curium.MemStoreKey],
laddr,
app.accountKeeper,
app.gasMeterKeeper,
)

nftFileDir, _ := getNftFileDir(DefaultNodeHome)
nft2P2pPort, _ := getNftP2PPort(DefaultNodeHome)
nftP2PPort, _ := strconv.Atoi(nft2P2pPort)

msgBroadcaster := app.curiumKeeper.NewMsgBroadcaster(DefaultCLIHome, cdc)


app.nftKeeper = nft.NewKeeper(
app.cdc,
keys[nft.StoreKey],
Expand Down

0 comments on commit 7dcdd62

Please sign in to comment.