Skip to content

Bumping ibc-go from 8.2.x to 8.3.x breaks ignite apps #4318

Description

@a26nine

Describe the bug
With v28.5.0, ibc-go version was bumped from v8.2.0 to v8.3.1 [PR] and a new query router was added [PR]. These changes directly affected the downstream applications and broke the rollkit ignite app.

While running rollkit app built with ignite v28.5.x, the following error is thrown:

rollkit start \
    --rollkit.aggregator \
    --rollkit.da_auth_token $AUTH_TOKEN \
    --rollkit.da_namespace $DA_NAMESPACE \
    --rollkit.da_start_height $DA_BLOCK_HEIGHT \
    --minimum-gas-prices="0.025stake" \
    --rollkit.da_address http://localhost:26658/

panic: proto: could not resolve import "core/crypto/pb/crypto.proto": not found

goroutine 1 [running]:
github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/keeper.newModuleQuerySafeAllowList()
	/Users/js/go/pkg/mod/github.com/cosmos/ibc-go/v8@v8.3.1/modules/apps/27-interchain-accounts/host/keeper/keeper.go:287 +0x7c
github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/keeper.NewKeeper({0x108efa528, _}, {_, _}, {_, _}, {_, _}, {_, _}, ...)
	/Users/js/go/pkg/mod/github.com/cosmos/ibc-go/v8@v8.3.1/modules/apps/27-interchain-accounts/host/keeper/keeper.go:82 +0xa4
gm/app.(*App).registerIBCModules(0x14000e1ed88, {0x108ed2d28?, 0x140000b0020?})
	/Users/js/gm/app/ibc.go:118 +0x1b30
gm/app.New({0x108eb8728, 0x14000c276c0}, {0x108ed2d28, 0x140000b0020}, {0x0, 0x0}, 0x1, {0x108e6f620, 0x1400115cfc0}, {0x14000c26930, ...})
	/Users/js/gm/app/app.go:259 +0x604
gm/cmd/gmd/cmd.newApp({0x108eb8728, 0x14000c276c0}, {0x108ed2d28, 0x140000b0020}, {0x0, 0x0}, {0x108e6f620, 0x1400115cfc0})
	/Users/js/gm/cmd/gmd/cmd/commands.go:140 +0x78
github.com/rollkit/cosmos-sdk-starter/server.startApp[...](0x14000579a40, 0x108e59ba8, {0x108e5a2e0, 0x0, 0x0, 0x108e59ba0, 0x108e59b88})
	/Users/js/go/pkg/mod/github.com/rollkit/cosmos-sdk-starter@v0.0.0-20240826100644-1c45500296f4/server/start.go:77 +0x150
github.com/rollkit/cosmos-sdk-starter/server.StartHandler[...](_, {{0x0, 0x0, 0x0}, {0x108eda6b0, 0x140014d28d0}, 0x0, {0x0, 0x0}, {0x108efa528, ...}, ...}, ...)
	/Users/js/go/pkg/mod/github.com/rollkit/cosmos-sdk-starter@v0.0.0-20240826100644-1c45500296f4/server/start.go:49 +0xe8
github.com/cosmos/cosmos-sdk/server.StartCmdWithOptions.func2.1()
	/Users/js/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/start.go:198 +0x68
github.com/cosmos/cosmos-sdk/server.wrapCPUProfile(0x14000579a40, 0x1400128f9d8)
	/Users/js/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/start.go:570 +0x16c
github.com/cosmos/cosmos-sdk/server.StartCmdWithOptions.func2(0x14001343508, {0x14000abb140?, 0x0?, 0xc?})
	/Users/js/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/start.go:197 +0x184
github.com/spf13/cobra.(*Command).execute(0x14001343508, {0x14000abb080, 0xc, 0xc})
	/Users/js/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0x840
github.com/spf13/cobra.(*Command).ExecuteC(0x14000c1d808)
	/Users/js/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
	/Users/js/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	/Users/js/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1034
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0x14000c1d808, {0x1074c5fd1, 0x2}, {0x16b0cb8bb, 0xd})
	/Users/js/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/cmd/execute.go:34 +0x154
main.main()
	/Users/js/gm/cmd/gmd/main.go:16 +0x44
Error intercepting command:  failed to run entrypoint: exit status 2

To dissect the issue, a custom build with v28.5.1 branch along with reverting of the following PRs:

is created, and it resolves the issue. Thus, we can deduce that the issue stems from the changes in upstream.

To reproduce
Steps to reproduce the behavior:

  1. ignite scaffold chain gm --address-prefix gm --no-module
  2. cd $HOME/gm
  3. ignite app install github.com/ignite/apps/rollkit@rollkit/v0.2.1
  4. ignite rollkit add
  5. ignite chain build
  6. ignite rollkit init
  7. rollkit toml init
  8. rollkit start --rollkit.aggregator --rollkit.da_auth_token $AUTH_TOKEN --rollkit.da_namespace $DA_NAMESPACE --rollkit.da_start_height $DA_BLOCK_HEIGHT --minimum-gas-prices="0.025stake" --rollkit.da_address http://localhost:26658/

What version are you using?

v28.5.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions