Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type ModuleInputs struct {
BankKeeper types.BankKeeper<%= for (dependency) in dependencies { %><%= if (dependency.Name != "Bank" && dependency.Name != "Auth") { %>
<%= dependency.KeeperName() %> types.<%= dependency.KeeperName() %><% } %><% } %>

<%= if (isIBC) { %>IBCKeeperFn func() *ibckeeper.Keeper `optional:"true"` <% } %>
<%= if (isIBC) { %>IBCKeeperFn func() *ibckeeper.Keeper <% } %>
}

type ModuleOutputs struct {
Expand Down
12 changes: 8 additions & 4 deletions integration/ibc/cmd_ibc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ import (

func TestCreateModuleWithIBC(t *testing.T) {
var (
env = envtest.New(t)
app = env.ScaffoldApp("github.com/test/blogibc")
env = envtest.New(t)
app = env.ScaffoldApp("github.com/test/blogibc")
servers = app.RandomizeServerPorts()
)

app.Scaffold(
Expand Down Expand Up @@ -77,12 +78,14 @@ func TestCreateModuleWithIBC(t *testing.T) {
)

app.EnsureSteady()
app.RunChainAndSimulateTxs(servers)
}

func TestCreateIBCPacket(t *testing.T) {
var (
env = envtest.New(t)
app = env.ScaffoldApp("github.com/test/blogibcb")
env = envtest.New(t)
app = env.ScaffoldApp("github.com/test/blogibcb")
servers = app.RandomizeServerPorts()
)

app.Scaffold(
Expand Down Expand Up @@ -175,4 +178,5 @@ func TestCreateIBCPacket(t *testing.T) {
)

app.EnsureSteady()
app.RunChainAndSimulateTxs(servers)
}
Loading