Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Update mailbox queries for validator agent
Browse files Browse the repository at this point in the history
  • Loading branch information
misko9 committed Sep 26, 2023
1 parent eec7152 commit 2c17b23
Show file tree
Hide file tree
Showing 15 changed files with 720 additions and 155 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,12 +630,12 @@ func NewSimApp(
)

// TODO: How are the domains registered selected.. using 12345 as a placeholder
//domain := uint32(12345)
// domain := uint32(12345)

app.IgpKeeper = igpkeeper.NewKeeper(appCodec, keys[igptypes.StoreKey], app.BankKeeper.(bankkeeper.SendKeeper), app.StakingKeeper, "")
app.IsmKeeper = ismkeeper.NewKeeper(appCodec, keys[ismtypes.StoreKey], authtypes.NewModuleAddress(govtypes.ModuleName).String())
app.MailboxKeeper = mailboxkeeper.NewKeeper(appCodec, keys[mailboxtypes.StoreKey], &app.WasmKeeper, &app.IsmKeeper)
//app.MailboxKeeper.SetDomain(domain)
// app.MailboxKeeper.SetDomain(domain)

// The gov proposal types can be individually enabled
if len(enabledProposals) != 0 {
Expand Down
Loading

0 comments on commit 2c17b23

Please sign in to comment.