Redelegation worked but with errors

#1

Running full node on Mac Mojave 10.14.2 Beta (18C38b)

gaiacli tx staking redelegate source dest 2000000 --ledger --from azulmarino --chain-id cosmoshub-1 --gas-adjustment 1.25 --gas auto --gas-prices 0.025uatom --trace
gas estimate: 234817

confirm transaction before signing and broadcasting [Y/n]: y

Response:

ERROR: Response error: RPC error -32603 - Internal error: Timed out waiting for tx to be included in a block

github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/client.unmarshalResponseBytes

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/client/http_client.go:193

github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/client.(*JSONRPCClient).Call

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/client/http_client.go:124

github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/client.(*HTTP).BroadcastTxCommit

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/client/httpclient.go:88

github.com/cosmos/cosmos-sdk/client/context.CLIContext.BroadcastTxAndAwaitCommit

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/client/context/broadcast.go:36

github.com/cosmos/cosmos-sdk/client/context.CLIContext.BroadcastTx

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/client/context/broadcast.go:21

github.com/cosmos/cosmos-sdk/client/utils.CompleteAndBroadcastTxCLI

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/client/utils/utils.go:94

github.com/cosmos/cosmos-sdk/client/utils.GenerateOrBroadcastMsgs

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/client/utils/utils.go:36

github.com/cosmos/cosmos-sdk/x/staking/client/cli.GetCmdRedelegate.func1

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/x/staking/client/cli/tx.go:184

github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).execute

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:762

github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).ExecuteC

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:852

github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).Execute

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:800

github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/cli.Executor.Execute

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/cli/setup.go:89

main.main

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaiacli/main.go:103

runtime.main

/usr/local/go/src/runtime/proc.go:201

runtime.goexit

/usr/local/go/src/runtime/asm_amd64.s:1333

broadcast_tx_commit

github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/client.(*HTTP).BroadcastTxCommit

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/client/httpclient.go:90

github.com/cosmos/cosmos-sdk/client/context.CLIContext.BroadcastTxAndAwaitCommit

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/client/context/broadcast.go:36

github.com/cosmos/cosmos-sdk/client/context.CLIContext.BroadcastTx

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/client/context/broadcast.go:21

github.com/cosmos/cosmos-sdk/client/utils.CompleteAndBroadcastTxCLI

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/client/utils/utils.go:94

github.com/cosmos/cosmos-sdk/client/utils.GenerateOrBroadcastMsgs

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/client/utils/utils.go:36

github.com/cosmos/cosmos-sdk/x/staking/client/cli.GetCmdRedelegate.func1

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/x/staking/client/cli/tx.go:184

github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).execute

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:762

github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).ExecuteC

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:852

github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).Execute

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:800

github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/cli.Executor.Execute

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/cli/setup.go:89

main.main

/Users/dean/go/src/github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaiacli/main.go:103

runtime.main

/usr/local/go/src/runtime/proc.go:201

runtime.goexit

/usr/local/go/src/runtime/asm_amd64.s:1333

0 Likes

#2

Hey azulmarino,

this error usually occurs because the cli is waiting for your transaction to be included into a block. However, like in this case, it can take a while and the cli times out before it gets the confirmation. This just means that the transaction did not get included into a block before the cli “moved on”. The transaction will still be broadcasted throughout the network until it gets included into a block.

You could add the flag --async to make the injection of the transaction asychronous. You will then get a transaction hash that you can track via one of the networks great block explorers like mintscan or stargazer :slight_smile:

1 Like