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

Testnet error when validator is offline for > 50 blocks #1587

Closed
NicolasMahe opened this issue Jan 9, 2020 · 0 comments · Fixed by #1588
Closed

Testnet error when validator is offline for > 50 blocks #1587

NicolasMahe opened this issue Jan 9, 2020 · 0 comments · Fixed by #1588
Assignees
Labels
bug Something isn't working

Comments

@NicolasMahe
Copy link
Member

Find the reason and the solution to:

engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | time="2019-12-31T15:27:20Z" level=info msg="Validator cosmosvalcons1q3tfrw5dpnsjapvpmm2ge30sx4qrvla7umk0le past min height of 100 and below signed blocks threshold of 50" module=x/slashing
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | panic: stored supply should not have been nil
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    |
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | goroutine 1 [running]:
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/cosmos/cosmos-sdk/x/supply/internal/keeper.Keeper.GetSupply(0xc000883960, 0x16bc400, 0xc000ac24d0, 0x16cfd40, 0xc000ad6070, 0x16d34c0, 0xc0000f6620, 0xc0009fe750, 0x16ced40, 0xc0000441c0, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/supply/internal/keeper/keeper.go:50 +0x18f
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/cosmos/cosmos-sdk/x/supply/internal/keeper.Keeper.BurnCoins(0xc000883960, 0x16bc400, 0xc000ac24d0, 0x16cfd40, 0xc000ad6070, 0x16d34c0, 0xc0000f6620, 0xc0009fe750, 0x16ced40, 0xc0000441c0, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/supply/internal/keeper/bank.go:138 +0x36f
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.burnBondedTokens(0x16bc400, 0xc000ac24e0, 0x16bc440, 0xc000ac24f0, 0xc000883960, 0x16dc460, 0xc000aa40c0, 0x16e0880, 0xc000a842e0, 0xc000883960, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/staking/keeper/pool.go:44 +0x2b9
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.Slash(0x16bc400, 0xc000ac24e0, 0x16bc440, 0xc000ac24f0, 0xc000883960, 0x16dc460, 0xc000aa40c0, 0x16e0880, 0xc000a842e0, 0xc000883960, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/staking/keeper/slash.go:124 +0xab8
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/cosmos/cosmos-sdk/x/slashing.Keeper.HandleValidatorSignature(0x16bc400, 0xc000ac2510, 0xc000883960, 0x16dbc80, 0xc0000d7ce0, 0xc000883960, 0x16bc400, 0xc000ac24b0, 0x16bc440, 0xc000ac24c0, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/slashing/keeper.go:228 +0xfac
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/cosmos/cosmos-sdk/x/slashing.BeginBlocker(0x16ced40, 0xc0000441c0, 0x16e0700, 0xc0000e4940, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/slashing/abci.go:18 +0x16b
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/cosmos/cosmos-sdk/x/slashing.AppModule.BeginBlock(...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/slashing/module.go:131
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/cosmos/cosmos-sdk/types/module.(*Manager).BeginBlock(0xc000ad6700, 0x16ced40, 0xc0000441c0, 0x16e0700, 0xc0000e4940, 0xa, 0x0, 0x0, 0x0, 0x0, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/types/module/module.go:290 +0x1ca
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).BeginBlock(0xc0000d1e60, 0xc0002f0ea0, 0x20, 0x20, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/baseapp/baseapp.go:675 +0x469
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/tendermint/tendermint/abci/client.(*localClient).BeginBlockSync(0xc000d6ed80, 0xc0002f0ea0, 0x20, 0x20, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/abci/client/local_client.go:231 +0x101
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/tendermint/tendermint/proxy.(*appConnConsensus).BeginBlockSync(0xc00001b430, 0xc0002f0ea0, 0x20, 0x20, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/proxy/app_conn.go:69 +0x6b
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/tendermint/tendermint/state.execBlockOnProxyApp(0x16cef00, 0xc000ac2300, 0x16d9b80, 0xc00001b430, 0xc00000c1e0, 0x16e2880, 0xc000010d40, 0x6, 0xc0009e4f40, 0xf)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/state/execution.go:273 +0x3dd
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/tendermint/tendermint/state.(*BlockExecutor).ApplyBlock(0xc0000ad730, 0xa, 0x0, 0xc0009e4f26, 0x6, 0xc0009e4f40, 0xf, 0xe4b0, 0x0, 0xc0009f4b80, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/state/execution.go:124 +0x17a
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/tendermint/tendermint/consensus.(*Handshaker).replayBlock(0xc0011eb0f8, 0xa, 0x0, 0xc0009e4f26, 0x6, 0xc0009e4f40, 0xf, 0xe4b0, 0x0, 0xc0009f4b80, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/consensus/replay.go:463 +0x233
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/tendermint/tendermint/consensus.(*Handshaker).ReplayBlocks(0xc0011eb0f8, 0xa, 0x0, 0xc0009e4f26, 0x6, 0xc0009e4f40, 0xf, 0xe4b0, 0x0, 0xc0009f4b80, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/consensus/replay.go:387 +0xdf3
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/tendermint/tendermint/consensus.(*Handshaker).Handshake(0xc0011eb0f8, 0x16e3500, 0xc000ad7960, 0x7fe5a165b008, 0x68)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/consensus/replay.go:269 +0x485
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/tendermint/tendermint/node.doHandshake(0x16e2880, 0xc000010d40, 0xa, 0x0, 0xc0009e4f26, 0x6, 0xc0009e4f40, 0xf, 0xe4b0, 0x0, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/node/node.go:275 +0x199
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/tendermint/tendermint/node.NewNode(0xc0008a0780, 0x16c9480, 0xc000aa20a0, 0xc000ac29c0, 0x16ab3c0, 0xc00097f200, 0xc0011eb8e0, 0x14f5438, 0xc000ac2d50, 0x16cef00, ...)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/node/node.go:582 +0x334
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | github.com/mesg-foundation/engine/cosmos.NewNode(0xc000ac3210, 0xc0008a0780, 0xc00094a900, 0xc00094a900, 0x0, 0x0)
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/project/cosmos/node.go:21 +0x379
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | main.main()
engine.1.l5h8w6542csc@mesg-testnet-sgp1-03    | 	/project/core/main.go:167 +0x3db
@NicolasMahe NicolasMahe self-assigned this Jan 9, 2020
@NicolasMahe NicolasMahe added the bug Something isn't working label Jan 9, 2020
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