Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local upgrade tests failing #2202

Closed
lumtis opened this issue May 17, 2024 · 0 comments · Fixed by #2203
Closed

Local upgrade tests failing #2202

lumtis opened this issue May 17, 2024 · 0 comments · Fixed by #2203
Assignees
Labels
bug Something isn't working

Comments

@lumtis
Copy link
Member

lumtis commented May 17, 2024

The upgrade tests fail.

Seems to be because we initialize the genesis for the previous version with gov changes for sdk 47:
#2198

Logs

panic: unknown field "params" in v1.GenesisState

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/codec.(*ProtoCodec).MustUnmarshalJSON(0x39f8d70?, {0x40000f2dc0?, 0x0?, 0x0?}, {0x39e27c0?, 0x40001f8230?})
	/go/pkg/mod/github.com/cosmos/[email protected]/codec/proto_codec.go:187 +0x44
github.com/cosmos/cosmos-sdk/x/gov.AppModule.InitGenesis({{{0x3a15238, 0x4001290b20}, {0x0, 0x0, 0x0}}, {{0x39db420, 0x400185b4a0}, {0x39f8e18, 0x4001535c20}, {0xffff6c60eba0, ...}, ...}, ...}, ...)
	/go/pkg/mod/github.com/cosmos/[email protected]/x/gov/module.go:181 +0x70
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(_, {{0x39f7288, 0x400012e000}, {0x3a0c9f0, 0x4000e4e0c0}, {{0x0, 0x0}, {0x4001aee450, 0xc}, 0x0, ...}, ...}, ...)
	/go/pkg/mod/github.com/cosmos/[email protected]/types/module/module.go:322 +0x27c
github.com/zeta-chain/zetacore/app.(*App).InitChainer(_, {{0x39f7288, 0x400012e000}, {0x3a0c9f0, 0x4000e4e0c0}, {{0x0, 0x0}, {0x4001aee450, 0xc}, 0x0, ...}, ...}, ...)
	/go/delivery/zeta-node/node/app/app.go:664 +0x108
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0x4000ecfc00, {{0x34c4bd25, 0xeddd9370d, 0x0}, {0x4001aee450, 0xc}, 0x4000ed92a0, {0x5393688, 0x0, 0x0}, ...})
	/go/pkg/mod/github.com/cosmos/[email protected]/baseapp/abci.go:71 +0x308
github.com/tendermint/tendermint/abci/client.(*localClient).InitChainSync(0x4001af3200, {{0x34c4bd25, 0xeddd9370d, 0x0}, {0x4001aee450, 0xc}, 0x4000ed92a0, {0x5393688, 0x0, 0x0}, ...})
	/go/pkg/mod/github.com/cometbft/[email protected]/abci/client/local_client.go:272 +0x188
github.com/tendermint/tendermint/proxy.(*appConnConsensus).InitChainSync(0x4001b7e3f0?, {{0x34c4bd25, 0xeddd9370d, 0x0}, {0x4001aee450, 0xc}, 0x4000ed92a0, {0x5393688, 0x0, 0x0}, ...})
	/go/pkg/mod/github.com/cometbft/[email protected]/proxy/app_conn.go:77 +0x80
github.com/tendermint/tendermint/consensus.(*Handshaker).ReplayBlocks(_, {{{0xb, 0x0}, {0x2a0548d, 0x7}}, {0x4001aee450, 0xc}, 0x1, 0x0, {{0x0, ...}, ...}, ...}, ...)
	/go/pkg/mod/github.com/cometbft/[email protected]/consensus/replay.go:319 +0xbbc
github.com/tendermint/tendermint/consensus.(*Handshaker).Handshake(0x4001dcef20, {0x3a102b8, 0x4001ade9c0})
	/go/pkg/mod/github.com/cometbft/[email protected]/consensus/replay.go:268 +0x374
github.com/tendermint/tendermint/node.doHandshake({_, _}, {{{0xb, 0x0}, {0x2a0548d, 0x7}}, {0x4001aee450, 0xc}, 0x1, 0x0, ...}, ...)
	/go/pkg/mod/github.com/cometbft/[email protected]/node/node.go:329 +0x11c
github.com/tendermint/tendermint/node.NewNode(0x4000001180, {0x39eed90, 0x4001acebe0}, 0x4001adb220, {0x39cf340, 0x4000edb548}, 0x39cee00?, 0x4001525040?, 0x4001adb440, {0x39f8d70, ...}, ...)
	/go/pkg/mod/github.com/cometbft/[email protected]/node/node.go:779 +0x3f0
github.com/zeta-chain/zetacore/server.startInProcess(_, {{0x0, 0x0, 0x0}, {0x3a22dc0, 0x40013f3f20}, 0x0, {0x4000d11910, 0xc}, {0x3a15238, ...}, ...}, ...)
	/go/delivery/zeta-node/node/server/start.go:380 +0xbac
github.com/zeta-chain/zetacore/server.StartCmd.func2(0x4001263500?, {0x40001df730?, 0x0?, 0x7?})
	/go/delivery/zeta-node/node/server/start.go:164 +0x20c
github.com/spf13/cobra.(*Command).execute(0x4001263500, {0x40001df5e0, 0x7, 0x7})
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:940 +0x5c4
github.com/spf13/cobra.(*Command).ExecuteC(0x4000ed2f00)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x340
github.com/spf13/cobra.(*Command).Execute(...)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:985
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0x230a270?, {0x0, 0x0}, {0x40013e1040, 0x10})
	/go/pkg/mod/github.com/cosmos/[email protected]/server/cmd/execute.go:36 +0x1a0
main.main()
	/go/delivery/zeta-node/node/cmd/zetacored/main.go:19 +0x3c
Error: exit status 2
@lumtis lumtis added the bug Something isn't working label May 17, 2024
@lumtis lumtis self-assigned this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant