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

Validator "unjail" command not working [unsuppored sign mode SIGN_MODE_TEXTUAL): unauthorized] #551

Closed
rares-e2s opened this issue Feb 13, 2024 · 2 comments · Fixed by #553
Assignees
Labels

Comments

@rares-e2s
Copy link

Using okp4d 6.0.0:

build_tags: netgo,ledger
commit: 0830f53
cosmos_sdk_version: v0.50.1
go: go version go1.21.4 linux/amd64
name: okp4d
server_name: okp4d
version: 6.0.0

Tried to unjail validator on okp4-drunemeton-1, but I get the following error:

okp@hostname:~$ okp4d tx slashing unjail --from <keyname> --chain-id "okp4-drunemeton-1" --trace
Enter keyring passphrase (attempt 1/3):
auth_info:
  fee:
    amount: []
    gas_limit: "200000"
    granter: ""
    payer: ""
  signer_infos: []
  tip: null
body:
  extension_options: []
  memo: ""
  messages:
  - '@type': /cosmos.slashing.v1beta1.MsgUnjail
    validator_addr: okp4valoper1pju9r03ywzd8s8tc0d3tkksgttemlheyqf9fqp
  non_critical_extension_options: []
  timeout_height: "0"
signatures: []
confirm transaction before signing and broadcasting [y/N]: y
code: 4
codespace: sdk
data: ""
events: []
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: 'signature verification failed; please verify account number (10) and chain-id        <<<<<<<<<<<<<<<<<<<<<<<<<<<
  (okp4-drunemeton-1): (unsuppored sign mode SIGN_MODE_TEXTUAL): unauthorized'    <<<<<<<<<<<<<<<<<<<<<<<<<<<
timestamp: ""
tx: null
txhash: 5E4D0B7587B92D067308E7C2A8838F3D89D35735012A070412459767368ACC09

After many unsuccessful retries, I found a similar behavior on Babylon chain: cosmos/cosmos-sdk#19165

I downloaded older version 5.0.0 and TX was successful, using same command input:

okp@hostname:~$ ./okp4d-5.0.0-linux-amd64 tx slashing unjail --from <keyname> --chain-id "okp4-drunemeton-1"
Enter keyring passphrase (attempt 1/3):
auth_info:
  fee:
    amount: []
    gas_limit: "200000"
    granter: ""
    payer: ""
  signer_infos: []
  tip: null
body:
  extension_options: []
  memo: ""
  messages:
  - '@type': /cosmos.slashing.v1beta1.MsgUnjail
    validator_addr: okp4valoper1pju9r03ywzd8s8tc0d3tkksgttemlheyqf9fqp
  non_critical_extension_options: []
  timeout_height: "0"
signatures: []
confirm transaction before signing and broadcasting [y/N]: y
code: 0
codespace: ""
data: ""
events: []
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: ""
timestamp: ""
tx: null
txhash: D9199D7B6E5913BBF2031DDBA0B1AA13FBECED4BE52B9C3BE69893103AF9DF00
@ccamel
Copy link
Member

ccamel commented Feb 13, 2024

Thanks for pointing this out. From what I understand, this issue is clearly related to the upgrade to version 0.50 of the Cosmos SDK (and the introduction of autocli). By following the fix applied by Babylon chain (see: https://github.com/babylonchain/babylon/pull/435/files), we should be able to resolve the issue.

@bot-anik
Copy link
Member

🎉 This issue has been resolved in version 7.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

4 participants