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

sims are failing on main #12806

Closed
kocubinski opened this issue Aug 3, 2022 · 2 comments · Fixed by #12858
Closed

sims are failing on main #12806

kocubinski opened this issue Aug 3, 2022 · 2 comments · Fixed by #12858
Assignees

Comments

@kocubinski
Copy link
Member

kocubinski commented Aug 3, 2022

LevelDB cached block size 5312854
exporting genesis...
importing genesis...
comparing stores...
compared 0 different key/value pairs between KVStoreKey{0xc000bd7620, acc} and KVStoreKey{0xc000307920, acc}
compared 1 different key/value pairs between KVStoreKey{0xc000bdbc40, staking} and KVStoreKey{0xc000bf8640, staking}
--- FAIL: TestAppImportExport (11.82s)
panic: invalid staking key prefix 51 [recovered]
	panic: invalid staking key prefix 51 [recovered]
	panic: invalid staking key prefix 51

goroutine 102 [running]:
testing.tRunner.func1.2({0x1d994e0, 0xc00305ac90})
	/home/mkoco/sdk/go1.18.2/src/testing/testing.go:1389 +0x24e
testing.tRunner.func1()
	/home/mkoco/sdk/go1.18.2/src/testing/testing.go:1392 +0x39f
panic({0x1d994e0, 0xc00305ac90})
	/home/mkoco/sdk/go1.18.2/src/runtime/panic.go:838 +0x207
github.com/cosmos/cosmos-sdk/simapp.TestAppImportExport.func3()
	/home/mkoco/dev/regen/cosmos-sdk/simapp/sim_test.go:173 +0x1de
panic({0x1d994e0, 0xc00305ac90})
	/home/mkoco/sdk/go1.18.2/src/runtime/panic.go:838 +0x207
github.com/cosmos/cosmos-sdk/x/staking/simulation.NewDecodeStore.func1({{0xc0037aff6c, 0x1, 0x1}, {0xc000e32d20, 0x17, 0x17}}, {{0x0, 0x0, 0x0}, {0x0, ...}})
	/home/mkoco/dev/regen/cosmos-sdk/x/staking/simulation/decoder.go:61 +0xc19
github.com/cosmos/cosmos-sdk/simapp.GetSimulationLog({0x210204e, 0x7}, 0x218e407?, {0xc0033be2a0, 0x1, 0x3?}, {0xc0033be2d0, 0x1, 0x1?})
	/home/mkoco/dev/regen/cosmos-sdk/simapp/utils.go:124 +0x1d4
github.com/cosmos/cosmos-sdk/simapp.TestAppImportExport(0xc000534000)
	/home/mkoco/dev/regen/cosmos-sdk/simapp/sim_test.go:215 +0x1947
testing.tRunner(0xc000534000, 0x27fd6a8)
	/home/mkoco/sdk/go1.18.2/src/testing/testing.go:1439 +0x102
created by testing.(*T).Run
	/home/mkoco/sdk/go1.18.2/src/testing/testing.go:1486 +0x35f
FAIL	github.com/cosmos/cosmos-sdk/simapp	11.859s
FAIL
@kocubinski kocubinski self-assigned this Aug 3, 2022
@alexanderbez
Copy link
Contributor

Do we know the offending PR? I don't understand how PRs are merged that fail sims. Unless this was a nightly run?

@kocubinski kocubinski moved this from 📝 Todo to 💪 In Progress in Cosmos-SDK Aug 8, 2022
@kocubinski
Copy link
Member Author

Yes.. I'll add details in the PR. It was a periodic run, not the PR checks.

Repository owner moved this from 💪 In Progress to 👏 Done in Cosmos-SDK Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants