gaiacli query * is returning error for validators who have already bonded.
gaia-9000 testnetgaiacli tx create-validator to create your validatorgaiacli query signing-info $(gaiad tendermint show-validator) --chain-id gaia-9000ERROR: Invalid commit -- insufficient old voting power: got 200, needed 267
This can be overridden via the --trust-node option that disables light client checks.
Mhmmm, this might be tricky. I cannot reproduce this on the latest develop running a localnet. I can, however, reproduce the following when running: gaiacli query signing-info
ERROR: failed to prove merkle proof: expected 0 args, got 1
I'm not sure the two are related though.
Per @cwgoes this error is likely light client verification related and will require a tendermint change.
Which error exactly? Care to shed some more light here @cwgoes ?
This one: ERROR: Invalid commit -- insufficient old voting power: got 200, needed 267 (from the original post).
Also, we should communicate these kinds of errors better to the CLI user.
I think the reason why we can't replicated this on local testnets is because the local testnet doesn't have a dynamic validator set.
What would it take have a testnet with a dynamic validator set?
cc @greg-szabo @mircea-c
This should be moved to Tendermint, it's not an SDK issue. The relevant error is in types/validator_set.go - https://github.com/tendermint/tendermint/blob/master/types/validator_set.go#L306.
Closing in favor of https://github.com/tendermint/tendermint/issues/2862.