Cosmos-sdk: Can't Unrevoke Sync'd Validator, Appears as Voting in Explorer

Created on 27 Jun 2018  路  5Comments  路  Source: cosmos/cosmos-sdk

This is the error I get when I try and unrevoke -

gaiacli stake unrevoke cosmosaccaddr15cw7akm7v7cyuy8dak2lvncukvpzzkwendh25t --name=chainflow03 --chain-id=gaia-6002 --sequence=1
Defaulting to account number: 38
Password to sign with 'chainflow03':
ERROR: CheckTx failed: (65539) === ABCI Log ===
Codespace: 1
Code: 3
ABCICode: 65539
Error: --= Error =--
Message: Invalid sequence. Got 1, expected 8
Cause:
T: 0x3
Msg Traces:
--= /Error =--
=== /ABCI Log ===

I've also tried w/sequence = 8, no luck.

chainflow03 still appears in the voting validators on https://explorecosmos.network/validators/cosmosvaladdr15cw7akm7v7cyuy8dak2lvncukvpzzkwe4uza6j

and here's what stake validator command shows -

gaiacli stake validator cosmosaccaddr15cw7akm7v7cyuy8dak2lvncukvpzzkwendh25t
Validator
Owner: cosmosaccaddr15cw7akm7v7cyuy8dak2lvncukvpzzkwendh25t
Validator: cosmosvalpub1zcjduc3qlus45hdn9zn760v2pcgvfx0u8ra0s2xtusw0cph6c050h2y6750sv9kmcy
Shares: Status Unbonded, Amount: 3209826267684209049/0
Delegator Shares: 1/1
Description: {chainflow03 81D443FA08A4A926 https://chainflow.io/cosmos-validators-intro BUIDL'ing Chainflow Cosmos Community Validators}
Bond Height: 496234
Proposer Reward Pool:
Commission: 0/1
Max Commission Rate: 0/1
Comission Change Rate: 0/1
Commission Change Today: 0/1
Previously Bonded Stares: 0/1

bug

Most helpful comment

The behavior for slashing 1 steak is currently undefined. https://github.com/cosmos/cosmos-sdk/issues/1306. The current plan (to my knowledge) is have atoms be 10^, so the value of "1 base unit" will be neglible enough to not be a concern.

All 5 comments

Actually what will happen to a validator with 1 steak delegated when it's being slashed? Shares become less than 1? And are there tokens being burnt? Can a validator with shares less than 1 be unrevoked?

The behavior for slashing 1 steak is currently undefined. https://github.com/cosmos/cosmos-sdk/issues/1306. The current plan (to my knowledge) is have atoms be 10^, so the value of "1 base unit" will be neglible enough to not be a concern.

@chris-remus Is your node fully synced ? Because normally the sequence should be set automatically if you are in sync.

Has your validator ever signed any blocks? It is not possible to unrevoke a validator which has never signed blocks (this is intentional).

Note that there may be confusion between "revoked" and "unbonded" - these are not the same state. See https://github.com/cosmos/cosmos-sdk/issues/1484#issuecomment-402332659.

Closing as a duplicate of https://github.com/cosmos/cosmos-sdk/issues/1431. See https://github.com/cosmos/cosmos-sdk/issues/1466#issuecomment-402333313 for an explanation of the difference between "revoked" and "unbonded" states.

Please reopen if you find a separate issue.

Was this page helpful?
0 / 5 - 0 ratings