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] How this is different from classic-terra/core #820

Open
pronvis opened this issue Jan 12, 2024 · 1 comment
Open

[BUG] How this is different from classic-terra/core #820

pronvis opened this issue Jan 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pronvis
Copy link

pronvis commented Jan 12, 2024

Hello!
What is the difference between this repo & https://github.com/classic-terra/core/ ?
I could start https://github.com/classic-terra/core/ and it works as expected. But if then I start terrad installed from this repo on the same directory as classic-terra/core worked on. Then I receive error:

panic: runtime error: index out of range [7] with length 1
goroutine 155 [running]:
encoding/binary.bigEndian.Uint64(...)
        encoding/binary/binary.go:179
github.com/cosmos/cosmos-sdk/types.BigEndianToUint64(...)
        github.com/cosmos/[email protected]/types/utils.go:66
github.com/cosmos/cosmos-sdk/x/upgrade/keeper.Keeper.GetLastCompletedUpgrade({{0x7fff771d1edc, 0xe}, 0xc002618900, {0x27f55a8, 0xc002665f00}, {0x28194d0, 0xc00033d590}, 0xc002bb8330, {0x27f1e80, 0xc000236c40}, ...}, ...)
        github.com/cosmos/[email protected]/x/upgrade/keeper/keeper.go:250 +0x376
github.com/cosmos/cosmos-sdk/x/upgrade.BeginBlocker({{0x7fff771d1edc, 0xe}, 0xc002618900, {0x27f55a8, 0xc002665f00}, {0x28194d0, 0xc00033d590}, 0xc002bb8330, {0x27f1e80, 0xc000236c40}, ...}, ...)
        github.com/cosmos/[email protected]/x/upgrade/abci.go:30 +0x278
github.com/cosmos/cosmos-sdk/x/upgrade.AppModule.BeginBlock(...)
        github.com/cosmos/[email protected]/x/upgrade/module.go:130
github.com/cosmos/cosmos-sdk/types/module.(*Manager).BeginBlock(_, {{0x280a6d8, 0x375eba0}, {0x2818428, 0xc062b8f940}, {{0xb, 0x0}, {0xc0041b8382, 0xa}, 0xf81890, ...}, ...}, ...)
        github.com/cosmos/[email protected]/types/module/module.go:491 +0x19d
github.com/classic-terra/core/app.(*TerraApp).BeginBlocker(_, {{0x280a6d8, 0x375eba0}, {0x2818428, 0xc062b8f940}, {{0xb, 0x0}, {0xc0041b8382, 0xa}, 0xf81890, ...}, ...}, ...)
        github.com/classic-terra/core/app/app.go:273 +0xb3b
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).BeginBlock(_, {{0xc062a78700, 0x20, 0x20}, {{0xb, 0x0}, {0xc0041b8382, 0xa}, 0xf81890, {0x3a9c7c14, ...}, ...}, ...})
        github.com/cosmos/[email protected]/baseapp/abci.go:177 +0x9db
github.com/tendermint/tendermint/abci/client.(*localClient).BeginBlockSync(_, {{0xc062a78700, 0x20, 0x20}, {{0xb, 0x0}, {0xc0041b8382, 0xa}, 0xf81890, {0x3a9c7c14, ...}, ...}, ...})
        github.com/tendermint/[email protected]/abci/client/local_client.go:280 +0xfe
github.com/tendermint/tendermint/proxy.(*appConnConsensus).BeginBlockSync(_, {{0xc062a78700, 0x20, 0x20}, {{0xb, 0x0}, {0xc0041b8382, 0xa}, 0xf81890, {0x3a9c7c14, ...}, ...}, ...})
        github.com/tendermint/[email protected]/proxy/app_conn.go:81 +0x55
github.com/tendermint/tendermint/state.execBlockOnProxyApp({0x280a710?, 0xc002bbdb60}, {0x28127d0, 0xc0015cf960}, 0xc062588960, {0x2819908, 0xc003b50000}, 0xf8188f?)
        github.com/tendermint/[email protected]/state/execution.go:307 +0x51d
github.com/tendermint/tendermint/state.(*BlockExecutor).ApplyBlock(_, {{{0xb, 0x0}, {0xc0061c97d0, 0x7}}, {0xc0061c97e0, 0xa}, 0x1, 0xf8188f, {{0xc007ba6b40, ...}, ...}, ...}, ...)
        github.com/tendermint/[email protected]/state/execution.go:140 +0x16b
github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc0061fe1c0, 0x0)
        github.com/tendermint/[email protected]/blockchain/v0/reactor.go:400 +0xb5a
created by github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart in goroutine 1
        github.com/tendermint/[email protected]/blockchain/v0/reactor.go:112 +0x6e
terrad.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
terrad.service: Failed with result 'exit-code'.
terrad.service: Consumed 1min 16.466s CPU time.

related issue: classic-terra/core#403

@nghuyenthevinh2000
Copy link
Contributor

https://github.com/classic-terra/core is currently the official repo of Terra Classic chain

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

No branches or pull requests

2 participants