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

lcd tx broadcast error #3873

Closed
4 tasks
wannabit-yongjoo opened this issue Mar 13, 2019 · 1 comment
Closed
4 tasks

lcd tx broadcast error #3873

wannabit-yongjoo opened this issue Mar 13, 2019 · 1 comment

Comments

@wannabit-yongjoo
Copy link

wannabit-yongjoo commented Mar 13, 2019

Summary of Bug

broadcasting using lcd (/txs) sometimes gives error
only using "return" value is "block"..(sync, async looks ok)

adding - request undelegate from validator when unbonding is exsitng this error occur..
same as cli cmd

Steps to Reproduce

broadcating signed tx using lcd(/txs) with "return" mode is "block"
especially delegate/undelegate tx case are well happens
attaching logs.

{"codespace":"sdk","code":1,"message":"recovered: ERROR:\nCodespace: sdk\nCode: 11\nMessage: "334muon,0photino"\n\nstack:\ngoroutine 255 [running]:\nruntime/debug.Stack(0xc0056c3d90, 0xffa9a0, 0xc001b60540)\n\t/snap/go/3318/src/runtime/debug/stack.go:24 +0x9d\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx.func1(0xc0056c5c50, 0xc0056c5c78, 0xc0056c5db0)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/baseapp/baseapp.go:757 +0x90\npanic(0xffa9a0, 0xc001b60540)\n\t/snap/go/3318/src/runtime/panic.go:522 +0x1b5\ngithub.com/cosmos/cosmos-sdk/x/distribution/keeper.Hooks.BeforeDelegationSharesModified(0x135cce0, 0xc00001f2b0, 0xc00010a310, 0xc00010a310, 0x135cce0, 0xc00001f300, 0x135cd20, 0xc00001f310, 0xc00003d860, 0x5, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/x/distribution/keeper/hooks.go:87 +0x233\ngithub.com/cosmos/cosmos-sdk/cmd/gaia/app.StakingHooks.BeforeDelegationSharesModified(...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/cmd/gaia/app/app.go:374\ngithub.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.BeforeDelegationSharesModified(...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/x/staking/keeper/hooks.go:52\ngithub.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.unbond(0x135cce0, 0xc00001f280, 0x135cd20, 0xc00001f290, 0xc00010a310, 0x7f97c375b8a8, 0xc00000c780, 0x137a3c0, 0xc00049d9e0, 0xc00010a310, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/x/staking/keeper/delegation.go:500 +0xb21\ngithub.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.Undelegate(0x135cce0, 0xc00001f280, 0x135cd20, 0xc00001f290, 0xc00010a310, 0x7f97c375b8a8, 0xc00000c780, 0x137a3c0, 0xc00049d9e0, 0xc00010a310, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/x/staking/keeper/delegation.go:582 +0x1ed\ngithub.com/cosmos/cosmos-sdk/x/staking.handleMsgUndelegate(0x136aca0, 0xc00111cf90, 0xc0030f6b80, 0x14, 0xc001d974c0, 0x14, 0x14, 0xc001d97500, 0x14, 0x14, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/x/staking/handler.go:232 +0x147\ngithub.com/cosmos/cosmos-sdk/x/staking.NewHandler.func1(0x136aca0, 0xc00111cf90, 0xc0030f6b80, 0x14, 0x136e560, 0xc004671900, 0x0, 0x0, 0x0, 0x0, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/x/staking/handler.go:29 +0x7b5\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runMsgs(0xc00049f300, 0x136aca0, 0xc00111cf90, 0xc0030f6b80, 0x14, 0xc0060b3420, 0x1, 0x1, 0x136ac02, 0x0, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/baseapp/baseapp.go:653 +0xb4e\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx(0xc00049f300, 0x2, 0xc004a0efc0, 0xd5, 0xd5, 0x135f020, 0xc0047a5b00, 0x0, 0x0, 0x0, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/baseapp/baseapp.go:830 +0x375\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).DeliverTx(0xc00049f300, 0xc004a0efc0, 0xd5, 0xd5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/baseapp/baseapp.go:587 +0x2a0\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/abci/client.(*localClient).DeliverTxAsync(0xc000c645a0, 0xc004a0efc0, 0xd5, 0xd5, 0x0)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/abci/client/local_client.go:88 +0xc5\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/proxy.(*appConnConsensus).DeliverTxAsync(0xc00001fbd0, 0xc004a0efc0, 0xd5, 0xd5, 0xa)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/proxy/app_conn.go:73 +0x51\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/state.execBlockOnProxyApp(0x136b7a0, 0xc0010c3780, 0x1374180, 0xc00001fbd0, 0xc004373c20, 0xc00668cea0, 0x137c240, 0xc000010b60, 0xc000aa5a80, 0xa, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/state/execution.go:281 +0x5e2\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/state.(*BlockExecutor).ApplyBlock(0xc000490770, 0xa, 0x0, 0xc000aa5a70, 0x6, 0xc000aa5a80, 0xa, 0x14160, 0x2775, 0xc00525c200, ...)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/state/execution.go:119 +0x1b5\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).finalizeCommit(0xc000bad500, 0x14161)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:1327 +0x9be\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).tryFinalizeCommit(0xc000bad500, 0x14161)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:1258 +0x3e0\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).enterCommit.func1(0xc000bad500, 0x0, 0x14161)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:1204 +0x91\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).enterCommit(0xc000bad500, 0x14161, 0x0)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:1235 +0x61e\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).addVote(0xc000bad500, 0xc007d3d680, 0xc00026df20, 0x28, 0x109, 0x109, 0x109)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:1660 +0xaec\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).tryAddVote(0xc000bad500, 0xc007d3d680, 0xc00026df20, 0x28, 0x0, 0x109, 0x101)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:1506 +0x5c\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).handleMsg(0xc000bad500, 0x134ea60, 0xc00285c028, 0xc00026df20, 0x28)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:694 +0x6cc\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).receiveRoutine(0xc000bad500, 0x0)\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:642 +0x695\ncreated by github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).OnStart\n\t/home/ubuntu/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:334 +0x13a\n"}

스크린샷 2019-03-14 오전 5 30 28


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@alexanderbez
Copy link
Contributor

Thanks @wannabit-yongjoo. This is a duplicate of #3870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants