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

[Bug]: simapp/v2 does not start with pebbledb #22523

Closed
1 task done
kocubinski opened this issue Nov 14, 2024 · 0 comments · Fixed by #22524
Closed
1 task done

[Bug]: simapp/v2 does not start with pebbledb #22523

kocubinski opened this issue Nov 14, 2024 · 0 comments · Fixed by #22524
Labels

Comments

@kocubinski
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

A clean start of simapp/v2 fails when ss-type=pebble. There err is:

failed to apply block; error block delivery failed: failed to run beginblocker for mint: failed to perform PebbleDB read: failed to decode key version: insufficient bytes to decode uint64 int value; expected 8; got 0"

stack trace:

7:46PM ERR Error in proxyAppConn.FinalizeBlock err="block delivery failed: failed to run beginblocker for mint: failed to perform PebbleDB read: failed to decode key version: insufficient bytes to decode uint64 int value; expected 8; got 0" module=state
7:46PM ERR CONSENSUS FAILURE!!! err="failed to apply block; error block delivery failed: failed to run beginblocker for mint: failed to perform PebbleDB read: failed to decode key version: insufficient bytes to decode uint64 int value; expected 8; got 0" module=consensus stack="goroutine 198 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:26 +0x64\ngithub.com/cometbft/cometbft/internal/consensus.(*State).receiveRoutine.func2()\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:805 +0x44\npanic({0x105f53de0?, 0x140021810e0?})\n\truntime/panic.go:785 +0x124\ngithub.com/cometbft/cometbft/internal/consensus.(*State).finalizeCommit(0x14001e2f808, 0x1)\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:1925 +0xac8\ngithub.com/cometbft/cometbft/internal/consensus.(*State).tryFinalizeCommit(0x14001e2f808, 0x1)\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:1825 +0x2a0\ngithub.com/cometbft/cometbft/internal/consensus.(*State).enterCommit.func1()\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:1760 +0x8c\ngithub.com/cometbft/cometbft/internal/consensus.(*State).enterCommit(0x14001e2f808, 0x1, 0x0)\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:1798 +0xaf8\ngithub.com/cometbft/cometbft/internal/consensus.(*State).addVote(0x14001e2f808, 0x140013b6680, {0x0, 0x0})\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:2480 +0x16f0\ngithub.com/cometbft/cometbft/internal/consensus.(*State).tryAddVote(0x14001e2f808, 0x140013b6680, {0x0?, 0x1030e96b0?})\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:2239 +0x28\ngithub.com/cometbft/cometbft/internal/consensus.(*State).handleMsg(0x14001e2f808, {{0x106695e20, 0x1400090c118}, {0x0, 0x0}, {0x0, 0x0, 0x0}})\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:933 +0x358\ngithub.com/cometbft/cometbft/internal/consensus.(*State).receiveRoutine(0x14001e2f808, 0x0)\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:860 +0x3b8\ncreated by github.com/cometbft/cometbft/internal/consensus.(*State).OnStart in goroutine 25\n\tgithub.com/cometbft/[email protected]/internal/consensus/state.go:402 +0xf0\n"

Cosmos SDK Version

main @ e74799e

How to reproduce?

COSMOS_BUILD_OPTIONS=v2 make install && simdv2 config set app store.options.ss-type pebble && make init-simapp-v2 && simdv2 start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🥳 Done
Development

Successfully merging a pull request may close this issue.

1 participant